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
,
584 enum wxHotkeyModifier
592 #define wxEVT_HOTKEY 9999
595 static const wxString
wxPyEmptyString(wxEmptyString
);
596 wxString
wxObject_GetClassName(wxObject
*self
){
597 return self
->GetClassInfo()->GetClassName();
599 void wxObject_Destroy(wxObject
*self
){
604 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
611 SWIGSTATICINLINE(long)
612 SWIG_CheckLongInRange(long value
, const char* type
,
613 long min_value
, long max_value
)
615 if (!PyErr_Occurred()) {
616 if (value
< min_value
) {
618 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
619 value
, type
, min_value
);
621 PyErr_SetObject(PyExc_OverflowError
, err
);
623 } else if (value
> max_value
) {
625 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
626 value
, type
, max_value
);
627 PyErr_SetObject(PyExc_OverflowError
, err
);
635 SWIGSTATICINLINE(long)
636 SWIG_AsLong(PyObject
* obj
)
638 if (PyNumber_Check(obj
))
639 return PyInt_AsLong(obj
);
641 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
642 obj
->ob_type
->tp_name
);
643 PyErr_SetObject(PyExc_TypeError
, errmsg
);
650 #if INT_MAX != LONG_MAX
651 SWIGSTATICINLINE(int)
652 SWIG_AsInt(PyObject
*obj
)
654 return swig_numeric_cast(int,
655 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
656 "int", INT_MIN
, INT_MAX
));
659 #define SWIG_AsInt SWIG_AsLong
663 SWIGSTATICINLINE(int)
664 SWIG_CheckInt(PyObject
* obj
)
667 if (PyErr_Occurred()) {
675 PyObject
*wxSize_Get(wxSize
*self
){
676 bool blocked
= wxPyBeginBlockThreads();
677 PyObject
* tup
= PyTuple_New(2);
678 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
679 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
680 wxPyEndBlockThreads(blocked
);
684 SWIGSTATICINLINE(double)
685 SWIG_AsDouble(PyObject
*obj
)
687 if (PyNumber_Check(obj
))
688 return PyFloat_AsDouble(obj
);
690 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
691 obj
->ob_type
->tp_name
);
692 PyErr_SetObject(PyExc_TypeError
, errmsg
);
699 SWIGSTATICINLINE(int)
700 SWIG_CheckDouble(PyObject
* obj
)
703 if (PyErr_Occurred()) {
711 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
715 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
716 bool blocked
= wxPyBeginBlockThreads();
717 PyObject
* tup
= PyTuple_New(2);
718 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
719 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
720 wxPyEndBlockThreads(blocked
);
724 SWIGSTATICINLINE(int)
725 SWIG_CheckLong(PyObject
* obj
)
728 if (PyErr_Occurred()) {
736 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
740 PyObject
*wxPoint_Get(wxPoint
*self
){
741 bool blocked
= wxPyBeginBlockThreads();
742 PyObject
* tup
= PyTuple_New(2);
743 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
744 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
745 wxPyEndBlockThreads(blocked
);
748 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
752 self
->height
= height
;
754 PyObject
*wxRect_Get(wxRect
*self
){
755 bool blocked
= wxPyBeginBlockThreads();
756 PyObject
* tup
= PyTuple_New(4);
757 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
758 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
759 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
760 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
761 wxPyEndBlockThreads(blocked
);
765 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
768 wxRect
dest(0,0,0,0);
771 reg1
.Intersect(reg2
);
772 dest
= reg1
.GetBox();
774 if (dest
!= wxRect(0,0,0,0)) {
775 bool blocked
= wxPyBeginBlockThreads();
776 wxRect
* newRect
= new wxRect(dest
);
777 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
778 wxPyEndBlockThreads(blocked
);
786 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
792 } else if (target
== Py_None
) {
796 if (!PyTuple_Check(target
)) {
798 target
= PyTuple_New(1);
799 PyTuple_SetItem(target
, 0, o2
);
802 PyTuple_SetItem(o3
, 0, o
);
805 target
= PySequence_Concat(o2
, o3
);
812 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
816 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
817 bool blocked
= wxPyBeginBlockThreads();
818 PyObject
* tup
= PyTuple_New(2);
819 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
820 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
821 wxPyEndBlockThreads(blocked
);
825 #include "wx/wxPython/pyistream.h"
827 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
828 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
830 return new wxPyInputStream(wxis
);
835 SWIGSTATICINLINE(PyObject
*)
836 SWIG_FromChar(char c
)
838 return PyString_FromStringAndSize(&c
,1);
842 SWIGSTATICINLINE(PyObject
* )
843 SWIG_FromUnsignedLong(unsigned long value
)
845 return (value
> LONG_MAX
) ?
846 PyLong_FromUnsignedLong(value
)
847 : PyInt_FromLong(swig_numeric_cast(long,value
));
851 /* returns '1' if the input is a raw char*, '0' if is a PyString */
853 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* size
)
855 static swig_type_info
* pchar_info
= 0;
857 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
859 if (SWIG_ConvertPtr(obj
, swig_reinterpret_cast(void **,cptr
), pchar_info
, 0) == -1) {
861 PyString_AsStringAndSize(obj
, cptr
, &psize
);
862 if (PyErr_Occurred()) {
864 PyErr_SetString(PyExc_TypeError
,"a string is expected");
866 if (size
) *size
= psize
;
869 if (size
) *size
= (*cptr
) ? (strlen(*cptr
) + 1) : 0;
876 SWIG_AsCharArray(PyObject
*obj
, char* carray
, size_t size
)
878 char* cptr
; size_t csize
;
879 SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
);
880 if (PyErr_Occurred()) {
883 PyString_FromFormat("a char array of size %d is expected", size
);
884 PyErr_SetObject(PyExc_TypeError
, err
);
887 /* in C (but not in C++) you can do:
891 ie, assing the array using an extra '0' char.
894 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
898 PyString_FromFormat("a char array of maximum size %d is expected",
900 PyErr_SetObject(PyExc_TypeError
, err
);
903 if (csize
) memcpy(carray
, cptr
, csize
);
904 if (csize
< size
) memset(carray
+ csize
, 0, size
- csize
);
910 SWIGSTATICINLINE(char)
911 SWIG_AsChar(PyObject
*obj
)
914 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
915 c
= swig_numeric_cast(char,
916 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
917 "char", CHAR_MIN
, CHAR_MAX
));
919 SWIG_AsCharArray(obj
, &c
, 1);
920 if (PyErr_Occurred()) {
922 PyErr_SetString(PyExc_TypeError
, "a char is expected");
929 SWIGSTATICINLINE(int)
930 SWIG_CheckChar(PyObject
* obj
)
933 if (PyErr_Occurred()) {
941 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
942 // We use only strings for the streams, not unicode
943 PyObject
* str
= PyObject_Str(obj
);
945 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
948 self
->Write(PyString_AS_STRING(str
),
949 PyString_GET_SIZE(str
));
953 #include "wx/wxPython/pyistream.h"
956 class wxPyFileSystemHandler
: public wxFileSystemHandler
959 wxPyFileSystemHandler() : wxFileSystemHandler() {}
961 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
962 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
963 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
964 DEC_PYCALLBACK_STRING__pure(FindNext
);
966 wxString
GetProtocol(const wxString
& location
) {
967 return wxFileSystemHandler::GetProtocol(location
);
970 wxString
GetLeftLocation(const wxString
& location
) {
971 return wxFileSystemHandler::GetLeftLocation(location
);
974 wxString
GetAnchor(const wxString
& location
) {
975 return wxFileSystemHandler::GetAnchor(location
);
978 wxString
GetRightLocation(const wxString
& location
) {
979 return wxFileSystemHandler::GetRightLocation(location
);
982 wxString
GetMimeTypeFromExt(const wxString
& location
) {
983 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
990 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
991 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
992 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
993 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
996 SWIGSTATICINLINE(bool)
997 SWIG_AsBool(PyObject
*obj
)
999 return PyObject_IsTrue(obj
) ? true : false;
1003 SWIGSTATICINLINE(int)
1004 SWIG_CheckBool(PyObject
* obj
)
1007 if (PyErr_Occurred()) {
1016 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1017 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1018 return fname
.GetFullPath();
1022 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1025 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1028 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1029 const wxBitmap
& bitmap
,
1031 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1034 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1036 wxMemoryFSHandler::AddFile(filename
,
1037 // TODO: Verify data type
1038 (void*)PyString_AsString(data
),
1039 (size_t)PyString_Size(data
));
1043 #include "wx/wxPython/pyistream.h"
1046 SWIGSTATICINLINE(unsigned long)
1047 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
1048 unsigned long max_value
)
1050 if (!PyErr_Occurred()) {
1051 if (value
> max_value
) {
1053 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1054 value
, type
, max_value
);
1055 PyErr_SetObject(PyExc_OverflowError
, err
);
1063 SWIGSTATICINLINE(unsigned long)
1064 SWIG_AsUnsignedLong(PyObject
* obj
)
1066 if (PyLong_Check(obj
)) {
1067 return PyLong_AsUnsignedLong(obj
);
1069 long i
= SWIG_AsLong(obj
);
1070 if ( !PyErr_Occurred() && (i
< 0)) {
1071 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1078 SWIGSTATICINLINE(unsigned char)
1079 SWIG_AsUnsignedChar(PyObject
*obj
)
1081 return swig_numeric_cast(unsigned char,
1082 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1083 "unsigned char", UCHAR_MAX
));
1087 SWIGSTATICINLINE(int)
1088 SWIG_CheckUnsignedChar(PyObject
* obj
)
1090 SWIG_AsUnsignedChar(obj
);
1091 if (PyErr_Occurred()) {
1099 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1100 if (width
> 0 && height
> 0)
1101 return new wxImage(width
, height
, clear
);
1105 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1106 return new wxImage(bitmap
.ConvertToImage());
1108 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1109 // Copy the source data so the wxImage can clean it up later
1110 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1115 memcpy(copy
, data
, width
*height
*3);
1116 return new wxImage(width
, height
, copy
, False
);
1118 wxSize
wxImage_GetSize(wxImage
*self
){
1119 wxSize
size(self
->GetWidth(), self
->GetHeight());
1122 PyObject
*wxImage_GetData(wxImage
*self
){
1123 unsigned char* data
= self
->GetData();
1124 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1126 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1129 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1130 unsigned char* dataPtr
;
1132 if (! PyString_Check(data
)) {
1133 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1137 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1138 dataPtr
= (unsigned char*) malloc(len
);
1139 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1140 self
->SetData(dataPtr
);
1141 // wxImage takes ownership of dataPtr...
1143 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1144 unsigned char* data
= self
->GetData();
1145 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1147 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1150 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1151 unsigned char* buffer
;
1154 bool blocked
= wxPyBeginBlockThreads();
1155 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1158 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1159 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1162 self
->SetData(buffer
);
1164 wxPyEndBlockThreads(blocked
);
1166 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1167 unsigned char* data
= self
->GetAlpha();
1171 int len
= self
->GetWidth() * self
->GetHeight();
1173 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1177 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1178 unsigned char* dataPtr
;
1180 if (! PyString_Check(data
)) {
1181 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1185 size_t len
= self
->GetWidth() * self
->GetHeight();
1186 dataPtr
= (unsigned char*) malloc(len
);
1187 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1188 self
->SetAlpha(dataPtr
);
1189 // wxImage takes ownership of dataPtr...
1191 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1192 unsigned char* data
= self
->GetAlpha();
1193 int len
= self
->GetWidth() * self
->GetHeight();
1195 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1198 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1199 unsigned char* buffer
;
1202 bool blocked
= wxPyBeginBlockThreads();
1203 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1206 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1207 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1210 self
->SetAlpha(buffer
);
1212 wxPyEndBlockThreads(blocked
);
1215 SWIGSTATICINLINE(int)
1216 SWIG_CheckUnsignedLong(PyObject
* obj
)
1218 SWIG_AsUnsignedLong(obj
);
1219 if (PyErr_Occurred()) {
1227 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1228 wxBitmap
bitmap(*self
);
1231 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1232 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1233 wxBitmap
bitmap( mono
, 1 );
1236 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1237 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1238 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1239 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1240 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1241 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1242 if (PyCallable_Check(func
)) {
1243 self
->Connect(id
, lastId
, eventType
,
1244 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1245 new wxPyCallback(func
));
1247 else if (func
== Py_None
) {
1248 self
->Disconnect(id
, lastId
, eventType
,
1249 (wxObjectEventFunction
)
1250 &wxPyCallback::EventThunker
);
1254 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1257 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1258 return self
->Disconnect(id
, lastId
, eventType
,
1259 (wxObjectEventFunction
)
1260 &wxPyCallback::EventThunker
);
1262 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1263 if (_self
&& _self
!= Py_None
) {
1264 self
->SetClientObject(new wxPyOORClientData(_self
));
1267 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1269 self
->SetClientObject(NULL
); // This will delete it too
1273 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1275 return self
->m_uniChar
;
1281 #if UINT_MAX < LONG_MAX
1282 #define SWIG_FromUnsignedInt SWIG_FromLong
1284 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1288 #if UINT_MAX != ULONG_MAX
1289 SWIGSTATICINLINE(unsigned int)
1290 SWIG_AsUnsignedInt(PyObject
*obj
)
1292 return swig_numeric_cast(unsigned int,
1293 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1294 "unsigned int", UINT_MAX
));
1297 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1301 SWIGSTATICINLINE(int)
1302 SWIG_CheckUnsignedInt(PyObject
* obj
)
1304 SWIG_AsUnsignedInt(obj
);
1305 if (PyErr_Occurred()) {
1313 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1314 self
->m_size
= size
;
1316 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1319 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1320 int count
= self
->GetNumberOfFiles();
1321 wxString
* files
= self
->GetFiles();
1322 PyObject
* list
= PyList_New(count
);
1325 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1329 for (int i
=0; i
<count
; i
++) {
1330 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1336 wxPyApp
*new_wxPyApp(){
1337 wxPythonApp
= new wxPyApp();
1341 void wxApp_CleanUp() {
1346 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1350 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1351 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1352 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete 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
);
1457 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1458 wxPyUserData
* data
= NULL
;
1460 bool blocked
= wxPyBeginBlockThreads();
1461 data
= new wxPyUserData(userData
);
1462 wxPyEndBlockThreads(blocked
);
1464 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1466 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1467 wxPyUserData
* data
= NULL
;
1469 bool blocked
= wxPyBeginBlockThreads();
1470 data
= new wxPyUserData(userData
);
1471 wxPyEndBlockThreads(blocked
);
1473 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1475 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1476 wxPyUserData
* data
= NULL
;
1478 bool blocked
= wxPyBeginBlockThreads();
1479 data
= new wxPyUserData(userData
);
1480 wxPyEndBlockThreads(blocked
);
1482 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1488 SWIG_FloatCast(double value
)
1491 if (!PyErr_Occurred()) {
1492 if (value
< FLT_MIN
) {
1494 PyString_FromFormat("value %g is less than float minimum %g",
1496 PyErr_SetObject(PyExc_OverflowError
, err
);
1498 } else if (value
> FLT_MAX
) {
1500 PyString_FromFormat("value %g is greater than float maximum %g",
1502 PyErr_SetObject(PyExc_OverflowError
, err
);
1505 f
= swig_numeric_cast(float, value
);
1512 SWIGSTATICINLINE(float)
1513 SWIG_AsFloat(PyObject
*obj
)
1515 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1519 SWIGSTATICINLINE(int)
1520 SWIG_CheckFloat(PyObject
* obj
)
1523 if (PyErr_Occurred()) {
1531 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1532 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1534 Py_INCREF(data
->m_obj
);
1542 // Figure out the type of the sizer item
1544 struct wxPySizerItemInfo
{
1546 : window(NULL
), sizer(NULL
), gotSize(False
),
1547 size(wxDefaultSize
), gotPos(False
), pos(-1)
1558 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1560 wxPySizerItemInfo info
;
1562 wxSize
* sizePtr
= &size
;
1564 // Find out what the type of the item is
1566 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1571 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1575 // try wxSize or (w,h)
1576 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1577 info
.size
= *sizePtr
;
1578 info
.gotSize
= True
;
1582 if (checkIdx
&& PyInt_Check(item
)) {
1583 info
.pos
= PyInt_AsLong(item
);
1589 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1590 // no expected type, figure out what kind of error message to generate
1591 if ( !checkSize
&& !checkIdx
)
1592 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1593 else if ( checkSize
&& !checkIdx
)
1594 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1595 else if ( !checkSize
&& checkIdx
)
1596 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1598 // can this one happen?
1599 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1605 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1606 self
->SetClientObject(new wxPyOORClientData(_self
));
1608 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1610 wxPyUserData
* data
= NULL
;
1611 bool blocked
= wxPyBeginBlockThreads();
1612 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1613 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1614 data
= new wxPyUserData(userData
);
1615 wxPyEndBlockThreads(blocked
);
1617 // Now call the real Add method if a valid item type was found
1619 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1620 else if ( info
.sizer
)
1621 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1622 else if (info
.gotSize
)
1623 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1624 proportion
, flag
, border
, data
);
1626 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1628 wxPyUserData
* data
= NULL
;
1629 bool blocked
= wxPyBeginBlockThreads();
1630 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1631 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1632 data
= new wxPyUserData(userData
);
1633 wxPyEndBlockThreads(blocked
);
1635 // Now call the real Insert method if a valid item type was found
1637 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1638 else if ( info
.sizer
)
1639 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1640 else if (info
.gotSize
)
1641 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1642 proportion
, flag
, border
, data
);
1644 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1646 wxPyUserData
* data
= NULL
;
1647 bool blocked
= wxPyBeginBlockThreads();
1648 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1649 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1650 data
= new wxPyUserData(userData
);
1651 wxPyEndBlockThreads(blocked
);
1653 // Now call the real Prepend method if a valid item type was found
1655 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1656 else if ( info
.sizer
)
1657 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1658 else if (info
.gotSize
)
1659 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1660 proportion
, flag
, border
, data
);
1662 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1663 bool blocked
= wxPyBeginBlockThreads();
1664 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1665 wxPyEndBlockThreads(blocked
);
1667 return self
->Remove(info
.window
);
1668 else if ( info
.sizer
)
1669 return self
->Remove(info
.sizer
);
1670 else if ( info
.gotPos
)
1671 return self
->Remove(info
.pos
);
1675 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1676 bool blocked
= wxPyBeginBlockThreads();
1677 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1678 wxPyEndBlockThreads(blocked
);
1680 return self
->Detach(info
.window
);
1681 else if ( info
.sizer
)
1682 return self
->Detach(info
.sizer
);
1683 else if ( info
.gotPos
)
1684 return self
->Detach(info
.pos
);
1688 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1689 bool blocked
= wxPyBeginBlockThreads();
1690 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1691 wxPyEndBlockThreads(blocked
);
1693 self
->SetItemMinSize(info
.window
, size
);
1694 else if ( info
.sizer
)
1695 self
->SetItemMinSize(info
.sizer
, size
);
1696 else if ( info
.gotPos
)
1697 self
->SetItemMinSize(info
.pos
, size
);
1699 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1700 wxSizerItemList
& list
= self
->GetChildren();
1701 return wxPy_ConvertList(&list
);
1703 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1704 bool blocked
= wxPyBeginBlockThreads();
1705 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1706 wxPyEndBlockThreads(blocked
);
1708 self
->Show(info
.window
, show
);
1709 else if ( info
.sizer
)
1710 self
->Show(info
.sizer
, show
);
1711 else if ( info
.gotPos
)
1712 self
->Show(info
.pos
, show
);
1714 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1715 bool blocked
= wxPyBeginBlockThreads();
1716 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1717 wxPyEndBlockThreads(blocked
);
1719 return self
->IsShown(info
.window
);
1720 else if ( info
.sizer
)
1721 return self
->IsShown(info
.sizer
);
1722 else if ( info
.gotPos
)
1723 return self
->IsShown(info
.pos
);
1729 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1730 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1731 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1736 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1738 if (source
== Py_None
) {
1739 **obj
= wxGBPosition(-1,-1);
1742 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1745 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1747 if (source
== Py_None
) {
1748 **obj
= wxGBSpan(-1,-1);
1751 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1755 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1759 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1760 bool blocked
= wxPyBeginBlockThreads();
1761 PyObject
* tup
= PyTuple_New(2);
1762 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1763 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1764 wxPyEndBlockThreads(blocked
);
1767 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1768 self
->SetRowspan(rowspan
);
1769 self
->SetColspan(colspan
);
1771 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1772 bool blocked
= wxPyBeginBlockThreads();
1773 PyObject
* tup
= PyTuple_New(2);
1774 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1775 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1776 wxPyEndBlockThreads(blocked
);
1779 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1780 wxPyUserData
* data
= NULL
;
1782 bool blocked
= wxPyBeginBlockThreads();
1783 data
= new wxPyUserData(userData
);
1784 wxPyEndBlockThreads(blocked
);
1786 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
1788 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1789 wxPyUserData
* data
= NULL
;
1791 bool blocked
= wxPyBeginBlockThreads();
1792 data
= new wxPyUserData(userData
);
1793 wxPyEndBlockThreads(blocked
);
1795 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
1797 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1798 wxPyUserData
* data
= NULL
;
1800 bool blocked
= wxPyBeginBlockThreads();
1801 data
= new wxPyUserData(userData
);
1802 wxPyEndBlockThreads(blocked
);
1804 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
1806 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
1808 self
->GetEndPos(row
, col
);
1809 return wxGBPosition(row
, col
);
1811 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1813 wxPyUserData
* data
= NULL
;
1814 bool blocked
= wxPyBeginBlockThreads();
1815 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1816 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1817 data
= new wxPyUserData(userData
);
1818 wxPyEndBlockThreads(blocked
);
1820 // Now call the real Add method if a valid item type was found
1822 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1823 else if ( info
.sizer
)
1824 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1825 else if (info
.gotSize
)
1826 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1827 pos
, span
, flag
, border
, data
);
1835 static int _wrap_EmptyString_set(PyObject
*_val
) {
1836 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1841 static PyObject
*_wrap_EmptyString_get() {
1846 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1848 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1855 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
*resultobj
;
1857 wxObject
*arg1
= (wxObject
*) 0 ;
1859 PyObject
* obj0
= 0 ;
1861 (char *) "self", NULL
1864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 result
= wxObject_GetClassName(arg1
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) SWIG_fail
;
1876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1887 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
*resultobj
;
1889 wxObject
*arg1
= (wxObject
*) 0 ;
1890 PyObject
* obj0
= 0 ;
1892 (char *) "self", NULL
1895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 wxObject_Destroy(arg1
);
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) SWIG_fail
;
1905 Py_INCREF(Py_None
); resultobj
= Py_None
;
1912 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1915 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1917 return Py_BuildValue((char *)"");
1919 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
*resultobj
;
1921 wxSize
*arg1
= (wxSize
*) 0 ;
1923 PyObject
* obj0
= 0 ;
1924 PyObject
* obj1
= 0 ;
1926 (char *) "self",(char *) "x", NULL
1929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1932 arg2
= (int) SWIG_AsInt(obj1
);
1933 if (PyErr_Occurred()) SWIG_fail
;
1934 if (arg1
) (arg1
)->x
= arg2
;
1936 Py_INCREF(Py_None
); resultobj
= Py_None
;
1943 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
*resultobj
;
1945 wxSize
*arg1
= (wxSize
*) 0 ;
1947 PyObject
* obj0
= 0 ;
1949 (char *) "self", NULL
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1955 result
= (int) ((arg1
)->x
);
1957 resultobj
= SWIG_FromInt((int)result
);
1964 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
*resultobj
;
1966 wxSize
*arg1
= (wxSize
*) 0 ;
1968 PyObject
* obj0
= 0 ;
1969 PyObject
* obj1
= 0 ;
1971 (char *) "self",(char *) "y", NULL
1974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1977 arg2
= (int) SWIG_AsInt(obj1
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1979 if (arg1
) (arg1
)->y
= arg2
;
1981 Py_INCREF(Py_None
); resultobj
= Py_None
;
1988 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
*resultobj
;
1990 wxSize
*arg1
= (wxSize
*) 0 ;
1992 PyObject
* obj0
= 0 ;
1994 (char *) "self", NULL
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2000 result
= (int) ((arg1
)->y
);
2002 resultobj
= SWIG_FromInt((int)result
);
2009 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
*resultobj
;
2011 int arg1
= (int) 0 ;
2012 int arg2
= (int) 0 ;
2014 PyObject
* obj0
= 0 ;
2015 PyObject
* obj1
= 0 ;
2017 (char *) "w",(char *) "h", NULL
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2022 arg1
= (int) SWIG_AsInt(obj0
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2026 arg2
= (int) SWIG_AsInt(obj1
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2033 wxPyEndAllowThreads(__tstate
);
2034 if (PyErr_Occurred()) SWIG_fail
;
2036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2043 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
*resultobj
;
2045 wxSize
*arg1
= (wxSize
*) 0 ;
2046 PyObject
* obj0
= 0 ;
2048 (char *) "self", NULL
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 wxPyEndAllowThreads(__tstate
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2061 Py_INCREF(Py_None
); resultobj
= Py_None
;
2068 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
*resultobj
;
2070 wxSize
*arg1
= (wxSize
*) 0 ;
2074 PyObject
* obj0
= 0 ;
2075 PyObject
* obj1
= 0 ;
2077 (char *) "self",(char *) "sz", NULL
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2085 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2089 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2103 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
*resultobj
;
2105 wxSize
*arg1
= (wxSize
*) 0 ;
2109 PyObject
* obj0
= 0 ;
2110 PyObject
* obj1
= 0 ;
2112 (char *) "self",(char *) "sz", NULL
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2120 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) SWIG_fail
;
2130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2138 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
*resultobj
;
2140 wxSize
*arg1
= (wxSize
*) 0 ;
2144 PyObject
* obj0
= 0 ;
2145 PyObject
* obj1
= 0 ;
2147 (char *) "self",(char *) "sz", NULL
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2155 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) SWIG_fail
;
2166 resultptr
= new wxSize((wxSize
&) result
);
2167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2175 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
*resultobj
;
2177 wxSize
*arg1
= (wxSize
*) 0 ;
2181 PyObject
* obj0
= 0 ;
2182 PyObject
* obj1
= 0 ;
2184 (char *) "self",(char *) "sz", NULL
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2192 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2196 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2198 wxPyEndAllowThreads(__tstate
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2203 resultptr
= new wxSize((wxSize
&) result
);
2204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2212 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
*resultobj
;
2214 wxSize
*arg1
= (wxSize
*) 0 ;
2217 PyObject
* obj0
= 0 ;
2218 PyObject
* obj1
= 0 ;
2220 (char *) "self",(char *) "sz", NULL
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2228 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 (arg1
)->IncTo((wxSize
const &)*arg2
);
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2237 Py_INCREF(Py_None
); resultobj
= Py_None
;
2244 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
*resultobj
;
2246 wxSize
*arg1
= (wxSize
*) 0 ;
2249 PyObject
* obj0
= 0 ;
2250 PyObject
* obj1
= 0 ;
2252 (char *) "self",(char *) "sz", NULL
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2260 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2264 (arg1
)->DecTo((wxSize
const &)*arg2
);
2266 wxPyEndAllowThreads(__tstate
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2269 Py_INCREF(Py_None
); resultobj
= Py_None
;
2276 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
*resultobj
;
2278 wxSize
*arg1
= (wxSize
*) 0 ;
2281 PyObject
* obj0
= 0 ;
2282 PyObject
* obj1
= 0 ;
2283 PyObject
* obj2
= 0 ;
2285 (char *) "self",(char *) "w",(char *) "h", NULL
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2291 arg2
= (int) SWIG_AsInt(obj1
);
2292 if (PyErr_Occurred()) SWIG_fail
;
2293 arg3
= (int) SWIG_AsInt(obj2
);
2294 if (PyErr_Occurred()) SWIG_fail
;
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 (arg1
)->Set(arg2
,arg3
);
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2302 Py_INCREF(Py_None
); resultobj
= Py_None
;
2309 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
*resultobj
;
2311 wxSize
*arg1
= (wxSize
*) 0 ;
2313 PyObject
* obj0
= 0 ;
2314 PyObject
* obj1
= 0 ;
2316 (char *) "self",(char *) "w", NULL
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2322 arg2
= (int) SWIG_AsInt(obj1
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 (arg1
)->SetWidth(arg2
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2331 Py_INCREF(Py_None
); resultobj
= Py_None
;
2338 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
*resultobj
;
2340 wxSize
*arg1
= (wxSize
*) 0 ;
2342 PyObject
* obj0
= 0 ;
2343 PyObject
* obj1
= 0 ;
2345 (char *) "self",(char *) "h", NULL
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2351 arg2
= (int) SWIG_AsInt(obj1
);
2352 if (PyErr_Occurred()) SWIG_fail
;
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 (arg1
)->SetHeight(arg2
);
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) SWIG_fail
;
2360 Py_INCREF(Py_None
); resultobj
= Py_None
;
2367 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
*resultobj
;
2369 wxSize
*arg1
= (wxSize
*) 0 ;
2371 PyObject
* obj0
= 0 ;
2373 (char *) "self", NULL
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) SWIG_fail
;
2386 resultobj
= SWIG_FromInt((int)result
);
2393 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2395 wxSize
*arg1
= (wxSize
*) 0 ;
2397 PyObject
* obj0
= 0 ;
2399 (char *) "self", NULL
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2407 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2409 wxPyEndAllowThreads(__tstate
);
2410 if (PyErr_Occurred()) SWIG_fail
;
2412 resultobj
= SWIG_FromInt((int)result
);
2419 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
*resultobj
;
2421 wxSize
*arg1
= (wxSize
*) 0 ;
2423 PyObject
* obj0
= 0 ;
2425 (char *) "self", NULL
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2433 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2435 wxPyEndAllowThreads(__tstate
);
2436 if (PyErr_Occurred()) SWIG_fail
;
2439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2447 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
*resultobj
;
2449 wxSize
*arg1
= (wxSize
*) 0 ;
2452 PyObject
* obj0
= 0 ;
2453 PyObject
* obj1
= 0 ;
2455 (char *) "self",(char *) "size", NULL
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2463 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2467 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2472 Py_INCREF(Py_None
); resultobj
= Py_None
;
2479 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxSize
*arg1
= (wxSize
*) 0 ;
2483 PyObject
* obj0
= 0 ;
2485 (char *) "self", NULL
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 result
= (PyObject
*)wxSize_Get(arg1
);
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) SWIG_fail
;
2505 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2508 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2510 return Py_BuildValue((char *)"");
2512 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
*resultobj
;
2514 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2516 PyObject
* obj0
= 0 ;
2517 PyObject
* obj1
= 0 ;
2519 (char *) "self",(char *) "x", NULL
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2525 arg2
= (double) SWIG_AsDouble(obj1
);
2526 if (PyErr_Occurred()) SWIG_fail
;
2527 if (arg1
) (arg1
)->x
= arg2
;
2529 Py_INCREF(Py_None
); resultobj
= Py_None
;
2536 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2540 PyObject
* obj0
= 0 ;
2542 (char *) "self", NULL
2545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2548 result
= (double) ((arg1
)->x
);
2550 resultobj
= SWIG_FromDouble((double)result
);
2557 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
;
2559 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2561 PyObject
* obj0
= 0 ;
2562 PyObject
* obj1
= 0 ;
2564 (char *) "self",(char *) "y", NULL
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2570 arg2
= (double) SWIG_AsDouble(obj1
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2572 if (arg1
) (arg1
)->y
= arg2
;
2574 Py_INCREF(Py_None
); resultobj
= Py_None
;
2581 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
*resultobj
;
2583 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2585 PyObject
* obj0
= 0 ;
2587 (char *) "self", NULL
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2593 result
= (double) ((arg1
)->y
);
2595 resultobj
= SWIG_FromDouble((double)result
);
2602 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2604 double arg1
= (double) 0.0 ;
2605 double arg2
= (double) 0.0 ;
2606 wxRealPoint
*result
;
2607 PyObject
* obj0
= 0 ;
2608 PyObject
* obj1
= 0 ;
2610 (char *) "x",(char *) "y", NULL
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2615 arg1
= (double) SWIG_AsDouble(obj0
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2619 arg2
= (double) SWIG_AsDouble(obj1
);
2620 if (PyErr_Occurred()) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2636 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
*resultobj
;
2638 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2639 PyObject
* obj0
= 0 ;
2641 (char *) "self", NULL
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2651 wxPyEndAllowThreads(__tstate
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2654 Py_INCREF(Py_None
); resultobj
= Py_None
;
2661 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
*resultobj
;
2663 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2664 wxRealPoint
*arg2
= 0 ;
2667 PyObject
* obj0
= 0 ;
2668 PyObject
* obj1
= 0 ;
2670 (char *) "self",(char *) "pt", NULL
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2678 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) SWIG_fail
;
2688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2696 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
*resultobj
;
2698 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2699 wxRealPoint
*arg2
= 0 ;
2702 PyObject
* obj0
= 0 ;
2703 PyObject
* obj1
= 0 ;
2705 (char *) "self",(char *) "pt", NULL
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2713 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2717 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2719 wxPyEndAllowThreads(__tstate
);
2720 if (PyErr_Occurred()) SWIG_fail
;
2723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2731 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
*resultobj
;
2733 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2734 wxRealPoint
*arg2
= 0 ;
2737 PyObject
* obj0
= 0 ;
2738 PyObject
* obj1
= 0 ;
2740 (char *) "self",(char *) "pt", NULL
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2748 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2758 wxRealPoint
* resultptr
;
2759 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2768 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
*resultobj
;
2770 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2771 wxRealPoint
*arg2
= 0 ;
2774 PyObject
* obj0
= 0 ;
2775 PyObject
* obj1
= 0 ;
2777 (char *) "self",(char *) "pt", NULL
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2785 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2791 wxPyEndAllowThreads(__tstate
);
2792 if (PyErr_Occurred()) SWIG_fail
;
2795 wxRealPoint
* resultptr
;
2796 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2805 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
*resultobj
;
2807 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2810 PyObject
* obj0
= 0 ;
2811 PyObject
* obj1
= 0 ;
2812 PyObject
* obj2
= 0 ;
2814 (char *) "self",(char *) "x",(char *) "y", NULL
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2820 arg2
= (double) SWIG_AsDouble(obj1
);
2821 if (PyErr_Occurred()) SWIG_fail
;
2822 arg3
= (double) SWIG_AsDouble(obj2
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2826 wxRealPoint_Set(arg1
,arg2
,arg3
);
2828 wxPyEndAllowThreads(__tstate
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2831 Py_INCREF(Py_None
); resultobj
= Py_None
;
2838 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
*resultobj
;
2840 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2842 PyObject
* obj0
= 0 ;
2844 (char *) "self", NULL
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2852 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2854 wxPyEndAllowThreads(__tstate
);
2855 if (PyErr_Occurred()) SWIG_fail
;
2864 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2867 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2869 return Py_BuildValue((char *)"");
2871 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
*resultobj
;
2873 wxPoint
*arg1
= (wxPoint
*) 0 ;
2875 PyObject
* obj0
= 0 ;
2876 PyObject
* obj1
= 0 ;
2878 (char *) "self",(char *) "x", NULL
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2884 arg2
= (int) SWIG_AsInt(obj1
);
2885 if (PyErr_Occurred()) SWIG_fail
;
2886 if (arg1
) (arg1
)->x
= arg2
;
2888 Py_INCREF(Py_None
); resultobj
= Py_None
;
2895 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
*resultobj
;
2897 wxPoint
*arg1
= (wxPoint
*) 0 ;
2899 PyObject
* obj0
= 0 ;
2901 (char *) "self", NULL
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2907 result
= (int) ((arg1
)->x
);
2909 resultobj
= SWIG_FromInt((int)result
);
2916 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
*resultobj
;
2918 wxPoint
*arg1
= (wxPoint
*) 0 ;
2920 PyObject
* obj0
= 0 ;
2921 PyObject
* obj1
= 0 ;
2923 (char *) "self",(char *) "y", NULL
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2929 arg2
= (int) SWIG_AsInt(obj1
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2931 if (arg1
) (arg1
)->y
= arg2
;
2933 Py_INCREF(Py_None
); resultobj
= Py_None
;
2940 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2942 wxPoint
*arg1
= (wxPoint
*) 0 ;
2944 PyObject
* obj0
= 0 ;
2946 (char *) "self", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2952 result
= (int) ((arg1
)->y
);
2954 resultobj
= SWIG_FromInt((int)result
);
2961 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
*resultobj
;
2963 int arg1
= (int) 0 ;
2964 int arg2
= (int) 0 ;
2966 PyObject
* obj0
= 0 ;
2967 PyObject
* obj1
= 0 ;
2969 (char *) "x",(char *) "y", NULL
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2974 arg1
= (int) SWIG_AsInt(obj0
);
2975 if (PyErr_Occurred()) SWIG_fail
;
2978 arg2
= (int) SWIG_AsInt(obj1
);
2979 if (PyErr_Occurred()) SWIG_fail
;
2982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2983 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2985 wxPyEndAllowThreads(__tstate
);
2986 if (PyErr_Occurred()) SWIG_fail
;
2988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2995 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
*resultobj
;
2997 wxPoint
*arg1
= (wxPoint
*) 0 ;
2998 PyObject
* obj0
= 0 ;
3000 (char *) "self", NULL
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3013 Py_INCREF(Py_None
); resultobj
= Py_None
;
3020 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
*resultobj
;
3022 wxPoint
*arg1
= (wxPoint
*) 0 ;
3026 PyObject
* obj0
= 0 ;
3027 PyObject
* obj1
= 0 ;
3029 (char *) "self",(char *) "pt", NULL
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3037 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3055 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
*resultobj
;
3057 wxPoint
*arg1
= (wxPoint
*) 0 ;
3061 PyObject
* obj0
= 0 ;
3062 PyObject
* obj1
= 0 ;
3064 (char *) "self",(char *) "pt", NULL
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3090 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
;
3092 wxPoint
*arg1
= (wxPoint
*) 0 ;
3096 PyObject
* obj0
= 0 ;
3097 PyObject
* obj1
= 0 ;
3099 (char *) "self",(char *) "pt", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3107 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3111 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3113 wxPyEndAllowThreads(__tstate
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3117 wxPoint
* resultptr
;
3118 resultptr
= new wxPoint((wxPoint
&) result
);
3119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3127 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3128 PyObject
*resultobj
;
3129 wxPoint
*arg1
= (wxPoint
*) 0 ;
3133 PyObject
* obj0
= 0 ;
3134 PyObject
* obj1
= 0 ;
3136 (char *) "self",(char *) "pt", NULL
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3144 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3154 wxPoint
* resultptr
;
3155 resultptr
= new wxPoint((wxPoint
&) result
);
3156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3164 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
*resultobj
;
3166 wxPoint
*arg1
= (wxPoint
*) 0 ;
3170 PyObject
* obj0
= 0 ;
3171 PyObject
* obj1
= 0 ;
3173 (char *) "self",(char *) "pt", NULL
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3181 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3187 result
= (wxPoint
*) &_result_ref
;
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3200 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
*resultobj
;
3202 wxPoint
*arg1
= (wxPoint
*) 0 ;
3206 PyObject
* obj0
= 0 ;
3207 PyObject
* obj1
= 0 ;
3209 (char *) "self",(char *) "pt", NULL
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3217 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3223 result
= (wxPoint
*) &_result_ref
;
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3236 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
*resultobj
;
3238 wxPoint
*arg1
= (wxPoint
*) 0 ;
3241 PyObject
* obj0
= 0 ;
3242 PyObject
* obj1
= 0 ;
3243 PyObject
* obj2
= 0 ;
3245 (char *) "self",(char *) "x",(char *) "y", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3251 arg2
= (long) SWIG_AsLong(obj1
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3253 arg3
= (long) SWIG_AsLong(obj2
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 wxPoint_Set(arg1
,arg2
,arg3
);
3259 wxPyEndAllowThreads(__tstate
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3262 Py_INCREF(Py_None
); resultobj
= Py_None
;
3269 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
*resultobj
;
3271 wxPoint
*arg1
= (wxPoint
*) 0 ;
3273 PyObject
* obj0
= 0 ;
3275 (char *) "self", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 result
= (PyObject
*)wxPoint_Get(arg1
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) SWIG_fail
;
3295 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3298 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3300 return Py_BuildValue((char *)"");
3302 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
;
3304 int arg1
= (int) 0 ;
3305 int arg2
= (int) 0 ;
3306 int arg3
= (int) 0 ;
3307 int arg4
= (int) 0 ;
3309 PyObject
* obj0
= 0 ;
3310 PyObject
* obj1
= 0 ;
3311 PyObject
* obj2
= 0 ;
3312 PyObject
* obj3
= 0 ;
3314 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3319 arg1
= (int) SWIG_AsInt(obj0
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3323 arg2
= (int) SWIG_AsInt(obj1
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3327 arg3
= (int) SWIG_AsInt(obj2
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3331 arg4
= (int) SWIG_AsInt(obj3
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) SWIG_fail
;
3341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3348 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
*resultobj
;
3355 PyObject
* obj0
= 0 ;
3356 PyObject
* obj1
= 0 ;
3358 (char *) "topLeft",(char *) "bottomRight", NULL
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3364 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3368 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3374 wxPyEndAllowThreads(__tstate
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3384 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3391 PyObject
* obj0
= 0 ;
3392 PyObject
* obj1
= 0 ;
3394 (char *) "pos",(char *) "size", NULL
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3400 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3404 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3420 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxRect
*arg1
= (wxRect
*) 0 ;
3423 PyObject
* obj0
= 0 ;
3425 (char *) "self", NULL
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) SWIG_fail
;
3438 Py_INCREF(Py_None
); resultobj
= Py_None
;
3445 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
;
3447 wxRect
*arg1
= (wxRect
*) 0 ;
3449 PyObject
* obj0
= 0 ;
3451 (char *) "self", NULL
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3459 result
= (int)((wxRect
const *)arg1
)->GetX();
3461 wxPyEndAllowThreads(__tstate
);
3462 if (PyErr_Occurred()) SWIG_fail
;
3464 resultobj
= SWIG_FromInt((int)result
);
3471 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
*resultobj
;
3473 wxRect
*arg1
= (wxRect
*) 0 ;
3475 PyObject
* obj0
= 0 ;
3476 PyObject
* obj1
= 0 ;
3478 (char *) "self",(char *) "x", NULL
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3484 arg2
= (int) SWIG_AsInt(obj1
);
3485 if (PyErr_Occurred()) SWIG_fail
;
3487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3493 Py_INCREF(Py_None
); resultobj
= Py_None
;
3500 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
*resultobj
;
3502 wxRect
*arg1
= (wxRect
*) 0 ;
3504 PyObject
* obj0
= 0 ;
3506 (char *) "self", NULL
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 result
= (int)(arg1
)->GetY();
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 resultobj
= SWIG_FromInt((int)result
);
3526 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
;
3528 wxRect
*arg1
= (wxRect
*) 0 ;
3530 PyObject
* obj0
= 0 ;
3531 PyObject
* obj1
= 0 ;
3533 (char *) "self",(char *) "y", NULL
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3539 arg2
= (int) SWIG_AsInt(obj1
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 Py_INCREF(Py_None
); resultobj
= Py_None
;
3555 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
;
3557 wxRect
*arg1
= (wxRect
*) 0 ;
3559 PyObject
* obj0
= 0 ;
3561 (char *) "self", NULL
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3569 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3571 wxPyEndAllowThreads(__tstate
);
3572 if (PyErr_Occurred()) SWIG_fail
;
3574 resultobj
= SWIG_FromInt((int)result
);
3581 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
*resultobj
;
3583 wxRect
*arg1
= (wxRect
*) 0 ;
3585 PyObject
* obj0
= 0 ;
3586 PyObject
* obj1
= 0 ;
3588 (char *) "self",(char *) "w", NULL
3591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3594 arg2
= (int) SWIG_AsInt(obj1
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 (arg1
)->SetWidth(arg2
);
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3603 Py_INCREF(Py_None
); resultobj
= Py_None
;
3610 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
;
3612 wxRect
*arg1
= (wxRect
*) 0 ;
3614 PyObject
* obj0
= 0 ;
3616 (char *) "self", NULL
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3629 resultobj
= SWIG_FromInt((int)result
);
3636 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
*resultobj
;
3638 wxRect
*arg1
= (wxRect
*) 0 ;
3640 PyObject
* obj0
= 0 ;
3641 PyObject
* obj1
= 0 ;
3643 (char *) "self",(char *) "h", NULL
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3649 arg2
= (int) SWIG_AsInt(obj1
);
3650 if (PyErr_Occurred()) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 (arg1
)->SetHeight(arg2
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 Py_INCREF(Py_None
); resultobj
= Py_None
;
3665 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3667 wxRect
*arg1
= (wxRect
*) 0 ;
3669 PyObject
* obj0
= 0 ;
3671 (char *) "self", NULL
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 result
= ((wxRect
const *)arg1
)->GetPosition();
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3685 wxPoint
* resultptr
;
3686 resultptr
= new wxPoint((wxPoint
&) result
);
3687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3695 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
*resultobj
;
3697 wxRect
*arg1
= (wxRect
*) 0 ;
3700 PyObject
* obj0
= 0 ;
3701 PyObject
* obj1
= 0 ;
3703 (char *) "self",(char *) "p", NULL
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3711 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3720 Py_INCREF(Py_None
); resultobj
= Py_None
;
3727 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
;
3729 wxRect
*arg1
= (wxRect
*) 0 ;
3731 PyObject
* obj0
= 0 ;
3733 (char *) "self", NULL
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 result
= ((wxRect
const *)arg1
)->GetSize();
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3748 resultptr
= new wxSize((wxSize
&) result
);
3749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3757 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
*resultobj
;
3759 wxRect
*arg1
= (wxRect
*) 0 ;
3762 PyObject
* obj0
= 0 ;
3763 PyObject
* obj1
= 0 ;
3765 (char *) "self",(char *) "s", NULL
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3773 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3777 (arg1
)->SetSize((wxSize
const &)*arg2
);
3779 wxPyEndAllowThreads(__tstate
);
3780 if (PyErr_Occurred()) SWIG_fail
;
3782 Py_INCREF(Py_None
); resultobj
= Py_None
;
3789 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
*resultobj
;
3791 wxRect
*arg1
= (wxRect
*) 0 ;
3793 PyObject
* obj0
= 0 ;
3795 (char *) "self", NULL
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) SWIG_fail
;
3809 wxPoint
* resultptr
;
3810 resultptr
= new wxPoint((wxPoint
&) result
);
3811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3819 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
;
3821 wxRect
*arg1
= (wxRect
*) 0 ;
3824 PyObject
* obj0
= 0 ;
3825 PyObject
* obj1
= 0 ;
3827 (char *) "self",(char *) "p", NULL
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3835 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3839 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3844 Py_INCREF(Py_None
); resultobj
= Py_None
;
3851 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
*resultobj
;
3853 wxRect
*arg1
= (wxRect
*) 0 ;
3855 PyObject
* obj0
= 0 ;
3857 (char *) "self", NULL
3860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3871 wxPoint
* resultptr
;
3872 resultptr
= new wxPoint((wxPoint
&) result
);
3873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3881 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
;
3883 wxRect
*arg1
= (wxRect
*) 0 ;
3886 PyObject
* obj0
= 0 ;
3887 PyObject
* obj1
= 0 ;
3889 (char *) "self",(char *) "p", NULL
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3897 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 Py_INCREF(Py_None
); resultobj
= Py_None
;
3913 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3915 wxRect
*arg1
= (wxRect
*) 0 ;
3917 PyObject
* obj0
= 0 ;
3919 (char *) "self", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= SWIG_FromInt((int)result
);
3939 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 wxRect
*arg1
= (wxRect
*) 0 ;
3943 PyObject
* obj0
= 0 ;
3945 (char *) "self", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 result
= (int)((wxRect
const *)arg1
)->GetTop();
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 resultobj
= SWIG_FromInt((int)result
);
3965 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxRect
*arg1
= (wxRect
*) 0 ;
3969 PyObject
* obj0
= 0 ;
3971 (char *) "self", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3984 resultobj
= SWIG_FromInt((int)result
);
3991 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
;
3993 wxRect
*arg1
= (wxRect
*) 0 ;
3995 PyObject
* obj0
= 0 ;
3997 (char *) "self", NULL
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 result
= (int)((wxRect
const *)arg1
)->GetRight();
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 resultobj
= SWIG_FromInt((int)result
);
4017 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
*resultobj
;
4019 wxRect
*arg1
= (wxRect
*) 0 ;
4021 PyObject
* obj0
= 0 ;
4022 PyObject
* obj1
= 0 ;
4024 (char *) "self",(char *) "left", NULL
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4030 arg2
= (int) SWIG_AsInt(obj1
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 (arg1
)->SetLeft(arg2
);
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 Py_INCREF(Py_None
); resultobj
= Py_None
;
4046 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxRect
*arg1
= (wxRect
*) 0 ;
4050 PyObject
* obj0
= 0 ;
4051 PyObject
* obj1
= 0 ;
4053 (char *) "self",(char *) "right", NULL
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4059 arg2
= (int) SWIG_AsInt(obj1
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 (arg1
)->SetRight(arg2
);
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4068 Py_INCREF(Py_None
); resultobj
= Py_None
;
4075 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
*resultobj
;
4077 wxRect
*arg1
= (wxRect
*) 0 ;
4079 PyObject
* obj0
= 0 ;
4080 PyObject
* obj1
= 0 ;
4082 (char *) "self",(char *) "top", NULL
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4088 arg2
= (int) SWIG_AsInt(obj1
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 (arg1
)->SetTop(arg2
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 Py_INCREF(Py_None
); resultobj
= Py_None
;
4104 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxRect
*arg1
= (wxRect
*) 0 ;
4108 PyObject
* obj0
= 0 ;
4109 PyObject
* obj1
= 0 ;
4111 (char *) "self",(char *) "bottom", NULL
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4117 arg2
= (int) SWIG_AsInt(obj1
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 (arg1
)->SetBottom(arg2
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 Py_INCREF(Py_None
); resultobj
= Py_None
;
4133 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxRect
*arg1
= (wxRect
*) 0 ;
4139 PyObject
* obj0
= 0 ;
4140 PyObject
* obj1
= 0 ;
4141 PyObject
* obj2
= 0 ;
4143 (char *) "self",(char *) "dx",(char *) "dy", NULL
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4149 arg2
= (int) SWIG_AsInt(obj1
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4151 arg3
= (int) SWIG_AsInt(obj2
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4157 result
= (wxRect
*) &_result_ref
;
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4170 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
;
4172 wxRect
*arg1
= (wxRect
*) 0 ;
4176 PyObject
* obj0
= 0 ;
4177 PyObject
* obj1
= 0 ;
4178 PyObject
* obj2
= 0 ;
4180 (char *) "self",(char *) "dx",(char *) "dy", NULL
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4186 arg2
= (int) SWIG_AsInt(obj1
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4188 arg3
= (int) SWIG_AsInt(obj2
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4194 result
= (wxRect
*) &_result_ref
;
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4207 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
*resultobj
;
4209 wxRect
*arg1
= (wxRect
*) 0 ;
4212 PyObject
* obj0
= 0 ;
4213 PyObject
* obj1
= 0 ;
4214 PyObject
* obj2
= 0 ;
4216 (char *) "self",(char *) "dx",(char *) "dy", NULL
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4222 arg2
= (int) SWIG_AsInt(obj1
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4224 arg3
= (int) SWIG_AsInt(obj2
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 (arg1
)->Offset(arg2
,arg3
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 Py_INCREF(Py_None
); resultobj
= Py_None
;
4240 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxRect
*arg1
= (wxRect
*) 0 ;
4245 PyObject
* obj0
= 0 ;
4246 PyObject
* obj1
= 0 ;
4248 (char *) "self",(char *) "pt", NULL
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4256 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 (arg1
)->Offset((wxPoint
const &)*arg2
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 Py_INCREF(Py_None
); resultobj
= Py_None
;
4272 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
;
4274 wxRect
*arg1
= (wxRect
*) 0 ;
4278 PyObject
* obj0
= 0 ;
4279 PyObject
* obj1
= 0 ;
4281 (char *) "self",(char *) "rect", NULL
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4289 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4294 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4295 result
= (wxRect
*) &_result_ref
;
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4308 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
;
4310 wxRect
*arg1
= (wxRect
*) 0 ;
4314 PyObject
* obj0
= 0 ;
4315 PyObject
* obj1
= 0 ;
4317 (char *) "self",(char *) "rect", NULL
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4325 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4336 resultptr
= new wxRect((wxRect
&) result
);
4337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4345 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
;
4347 wxRect
*arg1
= (wxRect
*) 0 ;
4351 PyObject
* obj0
= 0 ;
4352 PyObject
* obj1
= 0 ;
4354 (char *) "self",(char *) "rect", NULL
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4362 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4368 result
= (wxRect
*) &_result_ref
;
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4381 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4383 wxRect
*arg1
= (wxRect
*) 0 ;
4387 PyObject
* obj0
= 0 ;
4388 PyObject
* obj1
= 0 ;
4390 (char *) "self",(char *) "rect", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4398 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4416 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
;
4418 wxRect
*arg1
= (wxRect
*) 0 ;
4422 PyObject
* obj0
= 0 ;
4423 PyObject
* obj1
= 0 ;
4425 (char *) "self",(char *) "rect", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4433 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4451 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
;
4453 wxRect
*arg1
= (wxRect
*) 0 ;
4457 PyObject
* obj0
= 0 ;
4458 PyObject
* obj1
= 0 ;
4459 PyObject
* obj2
= 0 ;
4461 (char *) "self",(char *) "x",(char *) "y", NULL
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4467 arg2
= (int) SWIG_AsInt(obj1
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4469 arg3
= (int) SWIG_AsInt(obj2
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4487 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
;
4489 wxRect
*arg1
= (wxRect
*) 0 ;
4493 PyObject
* obj0
= 0 ;
4494 PyObject
* obj1
= 0 ;
4496 (char *) "self",(char *) "pt", NULL
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4504 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4522 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxRect
*arg1
= (wxRect
*) 0 ;
4528 PyObject
* obj0
= 0 ;
4529 PyObject
* obj1
= 0 ;
4531 (char *) "self",(char *) "rect", NULL
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4539 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4557 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
*resultobj
;
4559 wxRect
*arg1
= (wxRect
*) 0 ;
4561 PyObject
* obj0
= 0 ;
4562 PyObject
* obj1
= 0 ;
4564 (char *) "self",(char *) "x", NULL
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4570 arg2
= (int) SWIG_AsInt(obj1
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4572 if (arg1
) (arg1
)->x
= arg2
;
4574 Py_INCREF(Py_None
); resultobj
= Py_None
;
4581 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
;
4583 wxRect
*arg1
= (wxRect
*) 0 ;
4585 PyObject
* obj0
= 0 ;
4587 (char *) "self", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4593 result
= (int) ((arg1
)->x
);
4595 resultobj
= SWIG_FromInt((int)result
);
4602 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
*resultobj
;
4604 wxRect
*arg1
= (wxRect
*) 0 ;
4606 PyObject
* obj0
= 0 ;
4607 PyObject
* obj1
= 0 ;
4609 (char *) "self",(char *) "y", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4615 arg2
= (int) SWIG_AsInt(obj1
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4617 if (arg1
) (arg1
)->y
= arg2
;
4619 Py_INCREF(Py_None
); resultobj
= Py_None
;
4626 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
;
4628 wxRect
*arg1
= (wxRect
*) 0 ;
4630 PyObject
* obj0
= 0 ;
4632 (char *) "self", NULL
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4638 result
= (int) ((arg1
)->y
);
4640 resultobj
= SWIG_FromInt((int)result
);
4647 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
;
4649 wxRect
*arg1
= (wxRect
*) 0 ;
4651 PyObject
* obj0
= 0 ;
4652 PyObject
* obj1
= 0 ;
4654 (char *) "self",(char *) "width", NULL
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4660 arg2
= (int) SWIG_AsInt(obj1
);
4661 if (PyErr_Occurred()) SWIG_fail
;
4662 if (arg1
) (arg1
)->width
= arg2
;
4664 Py_INCREF(Py_None
); resultobj
= Py_None
;
4671 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
*resultobj
;
4673 wxRect
*arg1
= (wxRect
*) 0 ;
4675 PyObject
* obj0
= 0 ;
4677 (char *) "self", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4683 result
= (int) ((arg1
)->width
);
4685 resultobj
= SWIG_FromInt((int)result
);
4692 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
*resultobj
;
4694 wxRect
*arg1
= (wxRect
*) 0 ;
4696 PyObject
* obj0
= 0 ;
4697 PyObject
* obj1
= 0 ;
4699 (char *) "self",(char *) "height", NULL
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4705 arg2
= (int) SWIG_AsInt(obj1
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4707 if (arg1
) (arg1
)->height
= arg2
;
4709 Py_INCREF(Py_None
); resultobj
= Py_None
;
4716 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
;
4718 wxRect
*arg1
= (wxRect
*) 0 ;
4720 PyObject
* obj0
= 0 ;
4722 (char *) "self", NULL
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4728 result
= (int) ((arg1
)->height
);
4730 resultobj
= SWIG_FromInt((int)result
);
4737 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
;
4739 wxRect
*arg1
= (wxRect
*) 0 ;
4740 int arg2
= (int) 0 ;
4741 int arg3
= (int) 0 ;
4742 int arg4
= (int) 0 ;
4743 int arg5
= (int) 0 ;
4744 PyObject
* obj0
= 0 ;
4745 PyObject
* obj1
= 0 ;
4746 PyObject
* obj2
= 0 ;
4747 PyObject
* obj3
= 0 ;
4748 PyObject
* obj4
= 0 ;
4750 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4757 arg2
= (int) SWIG_AsInt(obj1
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4761 arg3
= (int) SWIG_AsInt(obj2
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4765 arg4
= (int) SWIG_AsInt(obj3
);
4766 if (PyErr_Occurred()) SWIG_fail
;
4769 arg5
= (int) SWIG_AsInt(obj4
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 Py_INCREF(Py_None
); resultobj
= Py_None
;
4786 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
*resultobj
;
4788 wxRect
*arg1
= (wxRect
*) 0 ;
4790 PyObject
* obj0
= 0 ;
4792 (char *) "self", NULL
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 result
= (PyObject
*)wxRect_Get(arg1
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4812 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4815 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4817 return Py_BuildValue((char *)"");
4819 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
*resultobj
;
4821 wxRect
*arg1
= (wxRect
*) 0 ;
4822 wxRect
*arg2
= (wxRect
*) 0 ;
4824 PyObject
* obj0
= 0 ;
4825 PyObject
* obj1
= 0 ;
4827 (char *) "r1",(char *) "r2", NULL
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4836 if (!wxPyCheckForApp()) SWIG_fail
;
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4850 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
*resultobj
;
4852 double arg1
= (double) 0.0 ;
4853 double arg2
= (double) 0.0 ;
4855 PyObject
* obj0
= 0 ;
4856 PyObject
* obj1
= 0 ;
4858 (char *) "x",(char *) "y", NULL
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4863 arg1
= (double) SWIG_AsDouble(obj0
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4867 arg2
= (double) SWIG_AsDouble(obj1
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) SWIG_fail
;
4877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4884 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
*resultobj
;
4886 wxPoint2D
*arg1
= 0 ;
4889 PyObject
* obj0
= 0 ;
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4897 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4913 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
;
4918 PyObject
* obj0
= 0 ;
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4926 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4942 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
*resultobj
;
4944 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4945 int *arg2
= (int *) 0 ;
4946 int *arg3
= (int *) 0 ;
4949 PyObject
* obj0
= 0 ;
4951 (char *) "self", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 Py_INCREF(Py_None
); resultobj
= Py_None
;
4968 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4969 resultobj
= t_output_helper(resultobj
,o
);
4972 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4973 resultobj
= t_output_helper(resultobj
,o
);
4981 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
*resultobj
;
4983 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4984 int *arg2
= (int *) 0 ;
4985 int *arg3
= (int *) 0 ;
4988 PyObject
* obj0
= 0 ;
4990 (char *) "self", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5005 Py_INCREF(Py_None
); resultobj
= Py_None
;
5007 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
5008 resultobj
= t_output_helper(resultobj
,o
);
5011 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5012 resultobj
= t_output_helper(resultobj
,o
);
5020 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
;
5022 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5024 PyObject
* obj0
= 0 ;
5026 (char *) "self", NULL
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= SWIG_FromDouble((double)result
);
5046 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5050 PyObject
* obj0
= 0 ;
5052 (char *) "self", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 resultobj
= SWIG_FromDouble((double)result
);
5072 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5076 PyObject
* obj0
= 0 ;
5077 PyObject
* obj1
= 0 ;
5079 (char *) "self",(char *) "length", NULL
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5085 arg2
= (double) SWIG_AsDouble(obj1
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 (arg1
)->SetVectorLength(arg2
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 Py_INCREF(Py_None
); resultobj
= Py_None
;
5101 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
;
5103 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5105 PyObject
* obj0
= 0 ;
5106 PyObject
* obj1
= 0 ;
5108 (char *) "self",(char *) "degrees", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5114 arg2
= (double) SWIG_AsDouble(obj1
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 (arg1
)->SetVectorAngle(arg2
);
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5123 Py_INCREF(Py_None
); resultobj
= Py_None
;
5130 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
;
5132 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5133 wxPoint2D
*arg2
= 0 ;
5136 PyObject
* obj0
= 0 ;
5137 PyObject
* obj1
= 0 ;
5139 (char *) "self",(char *) "pt", NULL
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5147 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5156 resultobj
= SWIG_FromDouble((double)result
);
5163 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
*resultobj
;
5165 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5166 wxPoint2D
*arg2
= 0 ;
5169 PyObject
* obj0
= 0 ;
5170 PyObject
* obj1
= 0 ;
5172 (char *) "self",(char *) "pt", NULL
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5180 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= SWIG_FromDouble((double)result
);
5196 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
;
5198 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5199 wxPoint2D
*arg2
= 0 ;
5202 PyObject
* obj0
= 0 ;
5203 PyObject
* obj1
= 0 ;
5205 (char *) "self",(char *) "vec", NULL
5208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5213 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5222 resultobj
= SWIG_FromDouble((double)result
);
5229 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
*resultobj
;
5231 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5232 wxPoint2D
*arg2
= 0 ;
5235 PyObject
* obj0
= 0 ;
5236 PyObject
* obj1
= 0 ;
5238 (char *) "self",(char *) "vec", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5246 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5255 resultobj
= SWIG_FromDouble((double)result
);
5262 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
;
5264 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5266 PyObject
* obj0
= 0 ;
5268 (char *) "self", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 result
= (arg1
)->operator -();
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5282 wxPoint2D
* resultptr
;
5283 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5292 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
;
5294 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5295 wxPoint2D
*arg2
= 0 ;
5298 PyObject
* obj0
= 0 ;
5299 PyObject
* obj1
= 0 ;
5301 (char *) "self",(char *) "pt", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5309 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5315 result
= (wxPoint2D
*) &_result_ref
;
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5328 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
*resultobj
;
5330 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5331 wxPoint2D
*arg2
= 0 ;
5334 PyObject
* obj0
= 0 ;
5335 PyObject
* obj1
= 0 ;
5337 (char *) "self",(char *) "pt", NULL
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5345 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5351 result
= (wxPoint2D
*) &_result_ref
;
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5364 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5367 wxPoint2D
*arg2
= 0 ;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5373 (char *) "self",(char *) "pt", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5381 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5387 result
= (wxPoint2D
*) &_result_ref
;
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5400 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5403 wxPoint2D
*arg2
= 0 ;
5406 PyObject
* obj0
= 0 ;
5407 PyObject
* obj1
= 0 ;
5409 (char *) "self",(char *) "pt", NULL
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5417 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5423 result
= (wxPoint2D
*) &_result_ref
;
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5436 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5439 wxPoint2D
*arg2
= 0 ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5445 (char *) "self",(char *) "pt", NULL
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5453 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5471 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
*resultobj
;
5473 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5474 wxPoint2D
*arg2
= 0 ;
5477 PyObject
* obj0
= 0 ;
5478 PyObject
* obj1
= 0 ;
5480 (char *) "self",(char *) "pt", NULL
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5488 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5506 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5510 PyObject
* obj0
= 0 ;
5511 PyObject
* obj1
= 0 ;
5513 (char *) "self",(char *) "m_x", NULL
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5519 arg2
= (double) SWIG_AsDouble(obj1
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5521 if (arg1
) (arg1
)->m_x
= arg2
;
5523 Py_INCREF(Py_None
); resultobj
= Py_None
;
5530 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5532 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5534 PyObject
* obj0
= 0 ;
5536 (char *) "self", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5542 result
= (double) ((arg1
)->m_x
);
5544 resultobj
= SWIG_FromDouble((double)result
);
5551 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
;
5553 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5555 PyObject
* obj0
= 0 ;
5556 PyObject
* obj1
= 0 ;
5558 (char *) "self",(char *) "m_y", NULL
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5564 arg2
= (double) SWIG_AsDouble(obj1
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5566 if (arg1
) (arg1
)->m_y
= arg2
;
5568 Py_INCREF(Py_None
); resultobj
= Py_None
;
5575 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5577 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5579 PyObject
* obj0
= 0 ;
5581 (char *) "self", NULL
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5587 result
= (double) ((arg1
)->m_y
);
5589 resultobj
= SWIG_FromDouble((double)result
);
5596 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
;
5598 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5599 double arg2
= (double) 0 ;
5600 double arg3
= (double) 0 ;
5601 PyObject
* obj0
= 0 ;
5602 PyObject
* obj1
= 0 ;
5603 PyObject
* obj2
= 0 ;
5605 (char *) "self",(char *) "x",(char *) "y", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5612 arg2
= (double) SWIG_AsDouble(obj1
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5616 arg3
= (double) SWIG_AsDouble(obj2
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5621 wxPoint2D_Set(arg1
,arg2
,arg3
);
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5626 Py_INCREF(Py_None
); resultobj
= Py_None
;
5633 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
*resultobj
;
5635 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5637 PyObject
* obj0
= 0 ;
5639 (char *) "self", NULL
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5659 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5662 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5664 return Py_BuildValue((char *)"");
5666 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5667 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5672 static PyObject
*_wrap_DefaultPosition_get() {
5675 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5680 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5681 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5686 static PyObject
*_wrap_DefaultSize_get() {
5689 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5694 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
*resultobj
;
5696 PyObject
*arg1
= (PyObject
*) 0 ;
5697 wxPyInputStream
*result
;
5698 PyObject
* obj0
= 0 ;
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5719 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
;
5721 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5722 PyObject
* obj0
= 0 ;
5724 (char *) "self", NULL
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 Py_INCREF(Py_None
); resultobj
= Py_None
;
5744 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
*resultobj
;
5746 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5747 PyObject
* obj0
= 0 ;
5749 (char *) "self", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 Py_INCREF(Py_None
); resultobj
= Py_None
;
5769 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
;
5771 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5775 (char *) "self", NULL
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (bool)(arg1
)->eof();
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5797 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
;
5799 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5800 int arg2
= (int) -1 ;
5802 PyObject
* obj0
= 0 ;
5803 PyObject
* obj1
= 0 ;
5805 (char *) "self",(char *) "size", NULL
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5812 arg2
= (int) SWIG_AsInt(obj1
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 result
= (PyObject
*)(arg1
)->read(arg2
);
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5829 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
;
5831 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5832 int arg2
= (int) -1 ;
5834 PyObject
* obj0
= 0 ;
5835 PyObject
* obj1
= 0 ;
5837 (char *) "self",(char *) "size", NULL
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5844 arg2
= (int) SWIG_AsInt(obj1
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 result
= (PyObject
*)(arg1
)->readline(arg2
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5861 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
;
5863 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5864 int arg2
= (int) -1 ;
5866 PyObject
* obj0
= 0 ;
5867 PyObject
* obj1
= 0 ;
5869 (char *) "self",(char *) "sizehint", NULL
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5876 arg2
= (int) SWIG_AsInt(obj1
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5893 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5895 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5897 int arg3
= (int) 0 ;
5898 PyObject
* obj0
= 0 ;
5899 PyObject
* obj1
= 0 ;
5900 PyObject
* obj2
= 0 ;
5902 (char *) "self",(char *) "offset",(char *) "whence", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5908 arg2
= (int) SWIG_AsInt(obj1
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 arg3
= (int) SWIG_AsInt(obj2
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 (arg1
)->seek(arg2
,arg3
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 Py_INCREF(Py_None
); resultobj
= Py_None
;
5928 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
;
5930 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5932 PyObject
* obj0
= 0 ;
5934 (char *) "self", NULL
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 result
= (int)(arg1
)->tell();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_FromInt((int)result
);
5954 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
;
5956 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5958 PyObject
* obj0
= 0 ;
5960 (char *) "self", NULL
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (char)(arg1
)->Peek();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= SWIG_FromChar((char)result
);
5980 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5984 PyObject
* obj0
= 0 ;
5986 (char *) "self", NULL
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 result
= (char)(arg1
)->GetC();
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= SWIG_FromChar((char)result
);
6006 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6010 PyObject
* obj0
= 0 ;
6012 (char *) "self", NULL
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 result
= (size_t)(arg1
)->LastRead();
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6032 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
*resultobj
;
6034 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6036 PyObject
* obj0
= 0 ;
6038 (char *) "self", NULL
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (bool)(arg1
)->CanRead();
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6060 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
*resultobj
;
6062 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6064 PyObject
* obj0
= 0 ;
6066 (char *) "self", NULL
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 result
= (bool)(arg1
)->Eof();
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6088 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
*resultobj
;
6090 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6093 PyObject
* obj0
= 0 ;
6094 PyObject
* obj1
= 0 ;
6096 (char *) "self",(char *) "c", NULL
6099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6102 arg2
= (char) SWIG_AsChar(obj1
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 result
= (bool)(arg1
)->Ungetch(arg2
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6120 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
;
6122 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6124 int arg3
= (int) wxFromStart
;
6126 PyObject
* obj0
= 0 ;
6127 PyObject
* obj1
= 0 ;
6128 PyObject
* obj2
= 0 ;
6130 (char *) "self",(char *) "pos",(char *) "mode", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6136 arg2
= (long) SWIG_AsLong(obj1
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6139 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6149 resultobj
= SWIG_FromLong((long)result
);
6156 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6160 PyObject
* obj0
= 0 ;
6162 (char *) "self", NULL
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 result
= (long)(arg1
)->TellI();
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= SWIG_FromLong((long)result
);
6182 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6185 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6187 return Py_BuildValue((char *)"");
6189 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
*resultobj
;
6191 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6192 PyObject
*arg2
= (PyObject
*) 0 ;
6193 PyObject
* obj0
= 0 ;
6194 PyObject
* obj1
= 0 ;
6196 (char *) "self",(char *) "obj", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 wxOutputStream_write(arg1
,arg2
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 Py_INCREF(Py_None
); resultobj
= Py_None
;
6217 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6220 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6222 return Py_BuildValue((char *)"");
6224 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
;
6226 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6227 wxString
*arg2
= 0 ;
6228 wxString
*arg3
= 0 ;
6229 wxString
*arg4
= 0 ;
6232 wxPyInputStream
*temp1
;
6234 bool temp2
= False
;
6235 bool temp3
= False
;
6236 bool temp4
= False
;
6238 PyObject
* obj0
= 0 ;
6239 PyObject
* obj1
= 0 ;
6240 PyObject
* obj2
= 0 ;
6241 PyObject
* obj3
= 0 ;
6242 PyObject
* obj4
= 0 ;
6244 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6249 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6250 arg1
= temp1
->m_wxis
;
6253 PyErr_Clear(); // clear the failure of the wxPyConvert above
6254 arg1
= wxPyCBInputStream_create(obj0
, False
);
6256 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6263 arg2
= wxString_in_helper(obj1
);
6264 if (arg2
== NULL
) SWIG_fail
;
6268 arg3
= wxString_in_helper(obj2
);
6269 if (arg3
== NULL
) SWIG_fail
;
6273 arg4
= wxString_in_helper(obj3
);
6274 if (arg4
== NULL
) SWIG_fail
;
6277 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6278 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= wxPyMake_wxObject(result
);
6328 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
;
6330 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6331 PyObject
* obj0
= 0 ;
6333 (char *) "self", NULL
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 Py_INCREF(Py_None
); resultobj
= Py_None
;
6353 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
;
6355 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6356 wxInputStream
*result
;
6357 PyObject
* obj0
= 0 ;
6359 (char *) "self", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",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();
6367 result
= (wxInputStream
*)(arg1
)->GetStream();
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6373 wxPyInputStream
* _ptr
= NULL
;
6376 _ptr
= new wxPyInputStream(result
);
6378 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6386 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
*resultobj
;
6388 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6390 PyObject
* obj0
= 0 ;
6392 (char *) "self", NULL
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6402 result
= (wxString
*) &_result_ref
;
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6412 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6421 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
*resultobj
;
6423 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6425 PyObject
* obj0
= 0 ;
6427 (char *) "self", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 wxString
const &_result_ref
= (arg1
)->GetLocation();
6437 result
= (wxString
*) &_result_ref
;
6440 wxPyEndAllowThreads(__tstate
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6447 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6456 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6460 PyObject
* obj0
= 0 ;
6462 (char *) "self", NULL
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6472 result
= (wxString
*) &_result_ref
;
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6480 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6482 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6491 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
*resultobj
;
6493 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6495 PyObject
* obj0
= 0 ;
6497 (char *) "self", NULL
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 result
= (arg1
)->GetModificationTime();
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6511 wxDateTime
* resultptr
;
6512 resultptr
= new wxDateTime((wxDateTime
&) result
);
6513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6521 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6524 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6526 return Py_BuildValue((char *)"");
6528 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6531 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6533 return Py_BuildValue((char *)"");
6535 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxPyFileSystemHandler
*result
;
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6557 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6560 PyObject
*arg2
= (PyObject
*) 0 ;
6561 PyObject
*arg3
= (PyObject
*) 0 ;
6562 PyObject
* obj0
= 0 ;
6563 PyObject
* obj1
= 0 ;
6564 PyObject
* obj2
= 0 ;
6566 (char *) "self",(char *) "self",(char *) "_class", NULL
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 Py_INCREF(Py_None
); resultobj
= Py_None
;
6588 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
*resultobj
;
6590 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6591 wxString
*arg2
= 0 ;
6593 bool temp2
= False
;
6594 PyObject
* obj0
= 0 ;
6595 PyObject
* obj1
= 0 ;
6597 (char *) "self",(char *) "location", NULL
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6604 arg2
= wxString_in_helper(obj1
);
6605 if (arg2
== NULL
) SWIG_fail
;
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6632 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
;
6634 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6635 wxFileSystem
*arg2
= 0 ;
6636 wxString
*arg3
= 0 ;
6638 bool temp3
= False
;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6641 PyObject
* obj2
= 0 ;
6643 (char *) "self",(char *) "fs",(char *) "location", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6650 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6653 PyErr_SetString(PyExc_TypeError
,"null reference");
6657 arg3
= wxString_in_helper(obj2
);
6658 if (arg3
== NULL
) SWIG_fail
;
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6669 resultobj
= wxPyMake_wxObject(result
);
6685 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6688 wxString
*arg2
= 0 ;
6689 int arg3
= (int) 0 ;
6691 bool temp2
= False
;
6692 PyObject
* obj0
= 0 ;
6693 PyObject
* obj1
= 0 ;
6694 PyObject
* obj2
= 0 ;
6696 (char *) "self",(char *) "spec",(char *) "flags", NULL
6699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6703 arg2
= wxString_in_helper(obj1
);
6704 if (arg2
== NULL
) SWIG_fail
;
6708 arg3
= (int) SWIG_AsInt(obj2
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6739 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
*resultobj
;
6741 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6743 PyObject
* obj0
= 0 ;
6745 (char *) "self", NULL
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 result
= (arg1
)->FindNext();
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6771 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
;
6773 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6774 wxString
*arg2
= 0 ;
6776 bool temp2
= False
;
6777 PyObject
* obj0
= 0 ;
6778 PyObject
* obj1
= 0 ;
6780 (char *) "self",(char *) "location", NULL
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6787 arg2
= wxString_in_helper(obj1
);
6788 if (arg2
== NULL
) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6819 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
*resultobj
;
6821 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6822 wxString
*arg2
= 0 ;
6824 bool temp2
= False
;
6825 PyObject
* obj0
= 0 ;
6826 PyObject
* obj1
= 0 ;
6828 (char *) "self",(char *) "location", NULL
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6835 arg2
= wxString_in_helper(obj1
);
6836 if (arg2
== NULL
) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6867 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
;
6869 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6870 wxString
*arg2
= 0 ;
6872 bool temp2
= False
;
6873 PyObject
* obj0
= 0 ;
6874 PyObject
* obj1
= 0 ;
6876 (char *) "self",(char *) "location", NULL
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6883 arg2
= wxString_in_helper(obj1
);
6884 if (arg2
== NULL
) SWIG_fail
;
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6915 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
;
6917 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6918 wxString
*arg2
= 0 ;
6920 bool temp2
= False
;
6921 PyObject
* obj0
= 0 ;
6922 PyObject
* obj1
= 0 ;
6924 (char *) "self",(char *) "location", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6931 arg2
= wxString_in_helper(obj1
);
6932 if (arg2
== NULL
) SWIG_fail
;
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6963 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6966 wxString
*arg2
= 0 ;
6968 bool temp2
= False
;
6969 PyObject
* obj0
= 0 ;
6970 PyObject
* obj1
= 0 ;
6972 (char *) "self",(char *) "location", NULL
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6979 arg2
= wxString_in_helper(obj1
);
6980 if (arg2
== NULL
) SWIG_fail
;
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7011 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7014 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7016 return Py_BuildValue((char *)"");
7018 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7020 wxFileSystem
*result
;
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7028 result
= (wxFileSystem
*)new wxFileSystem();
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= wxPyMake_wxObject(result
);
7042 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7047 (char *) "self", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 Py_INCREF(Py_None
); resultobj
= Py_None
;
7067 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
;
7069 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7070 wxString
*arg2
= 0 ;
7071 bool arg3
= (bool) False
;
7072 bool temp2
= False
;
7073 PyObject
* obj0
= 0 ;
7074 PyObject
* obj1
= 0 ;
7075 PyObject
* obj2
= 0 ;
7077 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7084 arg2
= wxString_in_helper(obj1
);
7085 if (arg2
== NULL
) SWIG_fail
;
7089 arg3
= (bool) SWIG_AsBool(obj2
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 Py_INCREF(Py_None
); resultobj
= Py_None
;
7114 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
;
7116 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7118 PyObject
* obj0
= 0 ;
7120 (char *) "self", NULL
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 result
= (arg1
)->GetPath();
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7146 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
;
7148 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7149 wxString
*arg2
= 0 ;
7151 bool temp2
= False
;
7152 PyObject
* obj0
= 0 ;
7153 PyObject
* obj1
= 0 ;
7155 (char *) "self",(char *) "location", NULL
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7162 arg2
= wxString_in_helper(obj1
);
7163 if (arg2
== NULL
) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= wxPyMake_wxObject(result
);
7190 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
;
7192 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7193 wxString
*arg2
= 0 ;
7194 int arg3
= (int) 0 ;
7196 bool temp2
= False
;
7197 PyObject
* obj0
= 0 ;
7198 PyObject
* obj1
= 0 ;
7199 PyObject
* obj2
= 0 ;
7201 (char *) "self",(char *) "spec",(char *) "flags", NULL
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7208 arg2
= wxString_in_helper(obj1
);
7209 if (arg2
== NULL
) SWIG_fail
;
7213 arg3
= (int) SWIG_AsInt(obj2
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7244 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7246 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7248 PyObject
* obj0
= 0 ;
7250 (char *) "self", NULL
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 result
= (arg1
)->FindNext();
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7276 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7279 PyObject
* obj0
= 0 ;
7281 (char *) "handler", NULL
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 wxFileSystem::AddHandler(arg1
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 Py_INCREF(Py_None
); resultobj
= Py_None
;
7301 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
;
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 wxFileSystem::CleanUpHandlers();
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 Py_INCREF(Py_None
); resultobj
= Py_None
;
7322 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
;
7324 wxString
*arg1
= 0 ;
7326 bool temp1
= False
;
7327 PyObject
* obj0
= 0 ;
7329 (char *) "filename", NULL
7332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7334 arg1
= wxString_in_helper(obj0
);
7335 if (arg1
== NULL
) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7366 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7369 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7371 return Py_BuildValue((char *)"");
7373 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxString
*arg1
= 0 ;
7377 bool temp1
= False
;
7378 PyObject
* obj0
= 0 ;
7380 (char *) "url", NULL
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7385 arg1
= wxString_in_helper(obj0
);
7386 if (arg1
== NULL
) SWIG_fail
;
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7417 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
;
7419 wxInternetFSHandler
*result
;
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7439 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
;
7441 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7442 wxString
*arg2
= 0 ;
7444 bool temp2
= False
;
7445 PyObject
* obj0
= 0 ;
7446 PyObject
* obj1
= 0 ;
7448 (char *) "self",(char *) "location", NULL
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7455 arg2
= wxString_in_helper(obj1
);
7456 if (arg2
== NULL
) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7483 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
*resultobj
;
7485 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7486 wxFileSystem
*arg2
= 0 ;
7487 wxString
*arg3
= 0 ;
7489 bool temp3
= False
;
7490 PyObject
* obj0
= 0 ;
7491 PyObject
* obj1
= 0 ;
7492 PyObject
* obj2
= 0 ;
7494 (char *) "self",(char *) "fs",(char *) "location", NULL
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7504 PyErr_SetString(PyExc_TypeError
,"null reference");
7508 arg3
= wxString_in_helper(obj2
);
7509 if (arg3
== NULL
) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7520 resultobj
= wxPyMake_wxObject(result
);
7536 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7539 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7541 return Py_BuildValue((char *)"");
7543 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7544 PyObject
*resultobj
;
7545 wxZipFSHandler
*result
;
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7565 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
;
7567 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7568 wxString
*arg2
= 0 ;
7570 bool temp2
= False
;
7571 PyObject
* obj0
= 0 ;
7572 PyObject
* obj1
= 0 ;
7574 (char *) "self",(char *) "location", NULL
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7581 arg2
= wxString_in_helper(obj1
);
7582 if (arg2
== NULL
) SWIG_fail
;
7586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7587 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7609 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7612 wxFileSystem
*arg2
= 0 ;
7613 wxString
*arg3
= 0 ;
7615 bool temp3
= False
;
7616 PyObject
* obj0
= 0 ;
7617 PyObject
* obj1
= 0 ;
7618 PyObject
* obj2
= 0 ;
7620 (char *) "self",(char *) "fs",(char *) "location", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7630 PyErr_SetString(PyExc_TypeError
,"null reference");
7634 arg3
= wxString_in_helper(obj2
);
7635 if (arg3
== NULL
) SWIG_fail
;
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7646 resultobj
= wxPyMake_wxObject(result
);
7662 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
;
7664 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7665 wxString
*arg2
= 0 ;
7666 int arg3
= (int) 0 ;
7668 bool temp2
= False
;
7669 PyObject
* obj0
= 0 ;
7670 PyObject
* obj1
= 0 ;
7671 PyObject
* obj2
= 0 ;
7673 (char *) "self",(char *) "spec",(char *) "flags", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7680 arg2
= wxString_in_helper(obj1
);
7681 if (arg2
== NULL
) SWIG_fail
;
7685 arg3
= (int) SWIG_AsInt(obj2
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7716 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
;
7718 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7720 PyObject
* obj0
= 0 ;
7722 (char *) "self", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 result
= (arg1
)->FindNext();
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7748 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7751 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7753 return Py_BuildValue((char *)"");
7755 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
;
7757 wxString
*arg1
= 0 ;
7760 bool temp1
= False
;
7761 PyObject
* obj0
= 0 ;
7762 PyObject
* obj1
= 0 ;
7763 PyObject
* obj2
= 0 ;
7765 (char *) "filename",(char *) "image",(char *) "type", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7770 arg1
= wxString_in_helper(obj0
);
7771 if (arg1
== NULL
) SWIG_fail
;
7774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7778 PyErr_SetString(PyExc_TypeError
,"null reference");
7781 arg3
= (long) SWIG_AsLong(obj2
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 Py_INCREF(Py_None
); resultobj
= Py_None
;
7805 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
*resultobj
;
7807 wxString
*arg1
= 0 ;
7808 wxBitmap
*arg2
= 0 ;
7810 bool temp1
= False
;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7813 PyObject
* obj2
= 0 ;
7815 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7820 arg1
= wxString_in_helper(obj0
);
7821 if (arg1
== NULL
) SWIG_fail
;
7824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7828 PyErr_SetString(PyExc_TypeError
,"null reference");
7831 arg3
= (long) SWIG_AsLong(obj2
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 Py_INCREF(Py_None
); resultobj
= Py_None
;
7855 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
*resultobj
;
7857 wxString
*arg1
= 0 ;
7858 PyObject
*arg2
= (PyObject
*) 0 ;
7859 bool temp1
= False
;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7863 (char *) "filename",(char *) "data", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7868 arg1
= wxString_in_helper(obj0
);
7869 if (arg1
== NULL
) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 Py_INCREF(Py_None
); resultobj
= Py_None
;
7895 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7897 wxMemoryFSHandler
*result
;
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7917 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7919 wxString
*arg1
= 0 ;
7920 bool temp1
= False
;
7921 PyObject
* obj0
= 0 ;
7923 (char *) "filename", NULL
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7928 arg1
= wxString_in_helper(obj0
);
7929 if (arg1
== NULL
) SWIG_fail
;
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7939 Py_INCREF(Py_None
); resultobj
= Py_None
;
7954 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7957 wxString
*arg2
= 0 ;
7959 bool temp2
= False
;
7960 PyObject
* obj0
= 0 ;
7961 PyObject
* obj1
= 0 ;
7963 (char *) "self",(char *) "location", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7970 arg2
= wxString_in_helper(obj1
);
7971 if (arg2
== NULL
) SWIG_fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7998 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
;
8000 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8001 wxFileSystem
*arg2
= 0 ;
8002 wxString
*arg3
= 0 ;
8004 bool temp3
= False
;
8005 PyObject
* obj0
= 0 ;
8006 PyObject
* obj1
= 0 ;
8007 PyObject
* obj2
= 0 ;
8009 (char *) "self",(char *) "fs",(char *) "location", NULL
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8019 PyErr_SetString(PyExc_TypeError
,"null reference");
8023 arg3
= wxString_in_helper(obj2
);
8024 if (arg3
== NULL
) SWIG_fail
;
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8035 resultobj
= wxPyMake_wxObject(result
);
8051 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
;
8053 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8054 wxString
*arg2
= 0 ;
8055 int arg3
= (int) 0 ;
8057 bool temp2
= False
;
8058 PyObject
* obj0
= 0 ;
8059 PyObject
* obj1
= 0 ;
8060 PyObject
* obj2
= 0 ;
8062 (char *) "self",(char *) "spec",(char *) "flags", NULL
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8069 arg2
= wxString_in_helper(obj1
);
8070 if (arg2
== NULL
) SWIG_fail
;
8074 arg3
= (int) SWIG_AsInt(obj2
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8081 wxPyEndAllowThreads(__tstate
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8105 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8109 PyObject
* obj0
= 0 ;
8111 (char *) "self", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (arg1
)->FindNext();
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8137 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8140 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8142 return Py_BuildValue((char *)"");
8144 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
;
8146 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8148 PyObject
* obj0
= 0 ;
8150 (char *) "self", NULL
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 result
= (arg1
)->GetName();
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8176 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8177 PyObject
*resultobj
;
8178 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8180 PyObject
* obj0
= 0 ;
8182 (char *) "self", NULL
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 result
= (arg1
)->GetExtension();
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8208 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8212 PyObject
* obj0
= 0 ;
8214 (char *) "self", NULL
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8222 result
= (long)(arg1
)->GetType();
8224 wxPyEndAllowThreads(__tstate
);
8225 if (PyErr_Occurred()) SWIG_fail
;
8227 resultobj
= SWIG_FromLong((long)result
);
8234 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8235 PyObject
*resultobj
;
8236 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8238 PyObject
* obj0
= 0 ;
8240 (char *) "self", NULL
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 result
= (arg1
)->GetMimeType();
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8266 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8269 wxString
*arg2
= 0 ;
8271 bool temp2
= False
;
8272 PyObject
* obj0
= 0 ;
8273 PyObject
* obj1
= 0 ;
8275 (char *) "self",(char *) "name", NULL
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8282 arg2
= wxString_in_helper(obj1
);
8283 if (arg2
== NULL
) SWIG_fail
;
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8310 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
;
8312 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8313 wxString
*arg2
= 0 ;
8314 bool temp2
= False
;
8315 PyObject
* obj0
= 0 ;
8316 PyObject
* obj1
= 0 ;
8318 (char *) "self",(char *) "name", NULL
8321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8325 arg2
= wxString_in_helper(obj1
);
8326 if (arg2
== NULL
) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 (arg1
)->SetName((wxString
const &)*arg2
);
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 Py_INCREF(Py_None
); resultobj
= Py_None
;
8351 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
;
8353 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8354 wxString
*arg2
= 0 ;
8355 bool temp2
= False
;
8356 PyObject
* obj0
= 0 ;
8357 PyObject
* obj1
= 0 ;
8359 (char *) "self",(char *) "extension", NULL
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8366 arg2
= wxString_in_helper(obj1
);
8367 if (arg2
== NULL
) SWIG_fail
;
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 (arg1
)->SetExtension((wxString
const &)*arg2
);
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 Py_INCREF(Py_None
); resultobj
= Py_None
;
8392 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
;
8394 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8396 PyObject
* obj0
= 0 ;
8397 PyObject
* obj1
= 0 ;
8399 (char *) "self",(char *) "type", NULL
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8405 arg2
= (long) SWIG_AsLong(obj1
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 (arg1
)->SetType(arg2
);
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 Py_INCREF(Py_None
); resultobj
= Py_None
;
8421 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8424 wxString
*arg2
= 0 ;
8425 bool temp2
= False
;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj1
= 0 ;
8429 (char *) "self",(char *) "mimetype", NULL
8432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8436 arg2
= wxString_in_helper(obj1
);
8437 if (arg2
== NULL
) SWIG_fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 Py_INCREF(Py_None
); resultobj
= Py_None
;
8462 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8465 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8467 return Py_BuildValue((char *)"");
8469 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
*resultobj
;
8471 wxImageHistogram
*result
;
8476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (wxImageHistogram
*)new wxImageHistogram();
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8491 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8493 unsigned char arg1
;
8494 unsigned char arg2
;
8495 unsigned char arg3
;
8496 unsigned long result
;
8497 PyObject
* obj0
= 0 ;
8498 PyObject
* obj1
= 0 ;
8499 PyObject
* obj2
= 0 ;
8501 (char *) "r",(char *) "g",(char *) "b", NULL
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8505 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8507 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8509 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8518 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8525 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
;
8527 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8528 unsigned char *arg2
= (unsigned char *) 0 ;
8529 unsigned char *arg3
= (unsigned char *) 0 ;
8530 unsigned char *arg4
= (unsigned char *) 0 ;
8531 unsigned char arg5
= (unsigned char) 1 ;
8532 unsigned char arg6
= (unsigned char) 0 ;
8533 unsigned char arg7
= (unsigned char) 0 ;
8535 unsigned char temp2
;
8536 unsigned char temp3
;
8537 unsigned char temp4
;
8538 PyObject
* obj0
= 0 ;
8539 PyObject
* obj1
= 0 ;
8540 PyObject
* obj2
= 0 ;
8541 PyObject
* obj3
= 0 ;
8543 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8553 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8557 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8561 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8566 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8568 wxPyEndAllowThreads(__tstate
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8575 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8576 resultobj
= t_output_helper(resultobj
,o
);
8579 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8580 resultobj
= t_output_helper(resultobj
,o
);
8583 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8584 resultobj
= t_output_helper(resultobj
,o
);
8592 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8595 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8597 return Py_BuildValue((char *)"");
8599 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
;
8601 wxString
*arg1
= 0 ;
8602 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8603 int arg3
= (int) -1 ;
8605 bool temp1
= False
;
8606 PyObject
* obj0
= 0 ;
8607 PyObject
* obj1
= 0 ;
8608 PyObject
* obj2
= 0 ;
8610 (char *) "name",(char *) "type",(char *) "index", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8615 arg1
= wxString_in_helper(obj0
);
8616 if (arg1
== NULL
) SWIG_fail
;
8620 arg2
= (long) SWIG_AsLong(obj1
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8624 arg3
= (int) SWIG_AsInt(obj2
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8649 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
;
8651 wxImage
*arg1
= (wxImage
*) 0 ;
8652 PyObject
* obj0
= 0 ;
8654 (char *) "self", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 Py_INCREF(Py_None
); resultobj
= Py_None
;
8674 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxString
*arg1
= 0 ;
8677 wxString
*arg2
= 0 ;
8678 int arg3
= (int) -1 ;
8680 bool temp1
= False
;
8681 bool temp2
= False
;
8682 PyObject
* obj0
= 0 ;
8683 PyObject
* obj1
= 0 ;
8684 PyObject
* obj2
= 0 ;
8686 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8691 arg1
= wxString_in_helper(obj0
);
8692 if (arg1
== NULL
) SWIG_fail
;
8696 arg2
= wxString_in_helper(obj1
);
8697 if (arg2
== NULL
) SWIG_fail
;
8701 arg3
= (int) SWIG_AsInt(obj2
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8734 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
;
8736 wxInputStream
*arg1
= 0 ;
8737 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8738 int arg3
= (int) -1 ;
8740 wxPyInputStream
*temp1
;
8742 PyObject
* obj0
= 0 ;
8743 PyObject
* obj1
= 0 ;
8744 PyObject
* obj2
= 0 ;
8746 (char *) "stream",(char *) "type",(char *) "index", NULL
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8751 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8752 arg1
= temp1
->m_wxis
;
8755 PyErr_Clear(); // clear the failure of the wxPyConvert above
8756 arg1
= wxPyCBInputStream_create(obj0
, False
);
8758 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8765 arg2
= (long) SWIG_AsLong(obj1
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8769 arg3
= (int) SWIG_AsInt(obj2
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8794 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxInputStream
*arg1
= 0 ;
8797 wxString
*arg2
= 0 ;
8798 int arg3
= (int) -1 ;
8800 wxPyInputStream
*temp1
;
8802 bool temp2
= False
;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8805 PyObject
* obj2
= 0 ;
8807 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8812 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8813 arg1
= temp1
->m_wxis
;
8816 PyErr_Clear(); // clear the failure of the wxPyConvert above
8817 arg1
= wxPyCBInputStream_create(obj0
, False
);
8819 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8826 arg2
= wxString_in_helper(obj1
);
8827 if (arg2
== NULL
) SWIG_fail
;
8831 arg3
= (int) SWIG_AsInt(obj2
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8838 wxPyEndAllowThreads(__tstate
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8864 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
;
8866 int arg1
= (int) 0 ;
8867 int arg2
= (int) 0 ;
8868 bool arg3
= (bool) True
;
8870 PyObject
* obj0
= 0 ;
8871 PyObject
* obj1
= 0 ;
8872 PyObject
* obj2
= 0 ;
8874 (char *) "width",(char *) "height",(char *) "clear", NULL
8877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8879 arg1
= (int) SWIG_AsInt(obj0
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8883 arg2
= (int) SWIG_AsInt(obj1
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8887 arg3
= (bool) SWIG_AsBool(obj2
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8904 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
;
8906 wxBitmap
*arg1
= 0 ;
8908 PyObject
* obj0
= 0 ;
8910 (char *) "bitmap", NULL
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8918 PyErr_SetString(PyExc_TypeError
,"null reference");
8922 if (!wxPyCheckForApp()) SWIG_fail
;
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8936 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
*resultobj
;
8940 unsigned char *arg3
= (unsigned char *) 0 ;
8942 PyObject
* obj0
= 0 ;
8943 PyObject
* obj1
= 0 ;
8944 PyObject
* obj2
= 0 ;
8946 (char *) "width",(char *) "height",(char *) "data", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8950 arg1
= (int) SWIG_AsInt(obj0
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8952 arg2
= (int) SWIG_AsInt(obj1
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8954 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8970 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxImage
*arg1
= (wxImage
*) 0 ;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8977 PyObject
* obj2
= 0 ;
8979 (char *) "self",(char *) "width",(char *) "height", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8985 arg2
= (int) SWIG_AsInt(obj1
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8987 arg3
= (int) SWIG_AsInt(obj2
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 (arg1
)->Create(arg2
,arg3
);
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8996 Py_INCREF(Py_None
); resultobj
= Py_None
;
9003 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
;
9005 wxImage
*arg1
= (wxImage
*) 0 ;
9006 PyObject
* obj0
= 0 ;
9008 (char *) "self", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9021 Py_INCREF(Py_None
); resultobj
= Py_None
;
9028 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
;
9030 wxImage
*arg1
= (wxImage
*) 0 ;
9033 SwigValueWrapper
< wxImage
> result
;
9034 PyObject
* obj0
= 0 ;
9035 PyObject
* obj1
= 0 ;
9036 PyObject
* obj2
= 0 ;
9038 (char *) "self",(char *) "width",(char *) "height", NULL
9041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9044 arg2
= (int) SWIG_AsInt(obj1
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9046 arg3
= (int) SWIG_AsInt(obj2
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 result
= (arg1
)->Scale(arg2
,arg3
);
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9056 wxImage
* resultptr
;
9057 resultptr
= new wxImage((wxImage
&) result
);
9058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9066 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9068 wxImage
*arg1
= (wxImage
*) 0 ;
9071 SwigValueWrapper
< wxImage
> result
;
9072 PyObject
* obj0
= 0 ;
9073 PyObject
* obj1
= 0 ;
9074 PyObject
* obj2
= 0 ;
9076 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9082 arg2
= (int) SWIG_AsInt(obj1
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9084 arg3
= (int) SWIG_AsInt(obj2
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9094 wxImage
* resultptr
;
9095 resultptr
= new wxImage((wxImage
&) result
);
9096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9104 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9106 wxImage
*arg1
= (wxImage
*) 0 ;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9112 PyObject
* obj2
= 0 ;
9114 (char *) "self",(char *) "width",(char *) "height", NULL
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9120 arg2
= (int) SWIG_AsInt(obj1
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9122 arg3
= (int) SWIG_AsInt(obj2
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9128 result
= (wxImage
*) &_result_ref
;
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9141 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
;
9143 wxImage
*arg1
= (wxImage
*) 0 ;
9146 unsigned char arg4
;
9147 unsigned char arg5
;
9148 unsigned char arg6
;
9149 PyObject
* obj0
= 0 ;
9150 PyObject
* obj1
= 0 ;
9151 PyObject
* obj2
= 0 ;
9152 PyObject
* obj3
= 0 ;
9153 PyObject
* obj4
= 0 ;
9154 PyObject
* obj5
= 0 ;
9156 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9162 arg2
= (int) SWIG_AsInt(obj1
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9164 arg3
= (int) SWIG_AsInt(obj2
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9166 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9168 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9170 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 Py_INCREF(Py_None
); resultobj
= Py_None
;
9186 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9188 wxImage
*arg1
= (wxImage
*) 0 ;
9191 unsigned char result
;
9192 PyObject
* obj0
= 0 ;
9193 PyObject
* obj1
= 0 ;
9194 PyObject
* obj2
= 0 ;
9196 (char *) "self",(char *) "x",(char *) "y", NULL
9199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9202 arg2
= (int) SWIG_AsInt(obj1
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9204 arg3
= (int) SWIG_AsInt(obj2
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9213 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9220 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
*resultobj
;
9222 wxImage
*arg1
= (wxImage
*) 0 ;
9225 unsigned char result
;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9228 PyObject
* obj2
= 0 ;
9230 (char *) "self",(char *) "x",(char *) "y", NULL
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9254 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
;
9256 wxImage
*arg1
= (wxImage
*) 0 ;
9259 unsigned char result
;
9260 PyObject
* obj0
= 0 ;
9261 PyObject
* obj1
= 0 ;
9262 PyObject
* obj2
= 0 ;
9264 (char *) "self",(char *) "x",(char *) "y", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9270 arg2
= (int) SWIG_AsInt(obj1
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9272 arg3
= (int) SWIG_AsInt(obj2
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9288 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxImage
*arg1
= (wxImage
*) 0 ;
9293 unsigned char arg4
;
9294 PyObject
* obj0
= 0 ;
9295 PyObject
* obj1
= 0 ;
9296 PyObject
* obj2
= 0 ;
9297 PyObject
* obj3
= 0 ;
9299 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9305 arg2
= (int) SWIG_AsInt(obj1
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9307 arg3
= (int) SWIG_AsInt(obj2
);
9308 if (PyErr_Occurred()) SWIG_fail
;
9309 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9318 Py_INCREF(Py_None
); resultobj
= Py_None
;
9325 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
;
9327 wxImage
*arg1
= (wxImage
*) 0 ;
9330 unsigned char result
;
9331 PyObject
* obj0
= 0 ;
9332 PyObject
* obj1
= 0 ;
9333 PyObject
* obj2
= 0 ;
9335 (char *) "self",(char *) "x",(char *) "y", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9341 arg2
= (int) SWIG_AsInt(obj1
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9343 arg3
= (int) SWIG_AsInt(obj2
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9359 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxImage
*arg1
= (wxImage
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9365 (char *) "self", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 result
= (bool)(arg1
)->HasAlpha();
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9387 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxImage
*arg1
= (wxImage
*) 0 ;
9390 byte
*arg2
= (byte
*) 0 ;
9391 byte
*arg3
= (byte
*) 0 ;
9392 byte
*arg4
= (byte
*) 0 ;
9393 byte arg5
= (byte
) 0 ;
9394 byte arg6
= (byte
) 0 ;
9395 byte arg7
= (byte
) 0 ;
9400 PyObject
* obj0
= 0 ;
9401 PyObject
* obj1
= 0 ;
9402 PyObject
* obj2
= 0 ;
9403 PyObject
* obj3
= 0 ;
9405 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9415 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9419 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9423 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9437 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9438 resultobj
= t_output_helper(resultobj
,o
);
9441 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9442 resultobj
= t_output_helper(resultobj
,o
);
9445 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9446 resultobj
= t_output_helper(resultobj
,o
);
9454 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
;
9456 wxImage
*arg1
= (wxImage
*) 0 ;
9462 PyObject
* obj0
= 0 ;
9463 PyObject
* obj1
= 0 ;
9464 PyObject
* obj2
= 0 ;
9465 PyObject
* obj3
= 0 ;
9466 PyObject
* obj4
= 0 ;
9468 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9478 PyErr_SetString(PyExc_TypeError
,"null reference");
9481 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9483 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9485 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9503 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
*resultobj
;
9505 wxString
*arg1
= 0 ;
9507 bool temp1
= False
;
9508 PyObject
* obj0
= 0 ;
9510 (char *) "name", NULL
9513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9515 arg1
= wxString_in_helper(obj0
);
9516 if (arg1
== NULL
) SWIG_fail
;
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9543 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
;
9545 wxString
*arg1
= 0 ;
9546 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9548 bool temp1
= False
;
9549 PyObject
* obj0
= 0 ;
9550 PyObject
* obj1
= 0 ;
9552 (char *) "name",(char *) "type", NULL
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9557 arg1
= wxString_in_helper(obj0
);
9558 if (arg1
== NULL
) SWIG_fail
;
9562 arg2
= (long) SWIG_AsLong(obj1
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= SWIG_FromInt((int)result
);
9587 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
;
9589 wxImage
*arg1
= (wxImage
*) 0 ;
9590 wxString
*arg2
= 0 ;
9591 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9592 int arg4
= (int) -1 ;
9594 bool temp2
= False
;
9595 PyObject
* obj0
= 0 ;
9596 PyObject
* obj1
= 0 ;
9597 PyObject
* obj2
= 0 ;
9598 PyObject
* obj3
= 0 ;
9600 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9607 arg2
= wxString_in_helper(obj1
);
9608 if (arg2
== NULL
) SWIG_fail
;
9612 arg3
= (long) SWIG_AsLong(obj2
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9616 arg4
= (int) SWIG_AsInt(obj3
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9643 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
;
9645 wxImage
*arg1
= (wxImage
*) 0 ;
9646 wxString
*arg2
= 0 ;
9647 wxString
*arg3
= 0 ;
9648 int arg4
= (int) -1 ;
9650 bool temp2
= False
;
9651 bool temp3
= False
;
9652 PyObject
* obj0
= 0 ;
9653 PyObject
* obj1
= 0 ;
9654 PyObject
* obj2
= 0 ;
9655 PyObject
* obj3
= 0 ;
9657 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9664 arg2
= wxString_in_helper(obj1
);
9665 if (arg2
== NULL
) SWIG_fail
;
9669 arg3
= wxString_in_helper(obj2
);
9670 if (arg3
== NULL
) SWIG_fail
;
9674 arg4
= (int) SWIG_AsInt(obj3
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9709 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9711 wxImage
*arg1
= (wxImage
*) 0 ;
9712 wxString
*arg2
= 0 ;
9715 bool temp2
= False
;
9716 PyObject
* obj0
= 0 ;
9717 PyObject
* obj1
= 0 ;
9718 PyObject
* obj2
= 0 ;
9720 (char *) "self",(char *) "name",(char *) "type", NULL
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9727 arg2
= wxString_in_helper(obj1
);
9728 if (arg2
== NULL
) SWIG_fail
;
9731 arg3
= (int) SWIG_AsInt(obj2
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9757 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
;
9759 wxImage
*arg1
= (wxImage
*) 0 ;
9760 wxString
*arg2
= 0 ;
9761 wxString
*arg3
= 0 ;
9763 bool temp2
= False
;
9764 bool temp3
= False
;
9765 PyObject
* obj0
= 0 ;
9766 PyObject
* obj1
= 0 ;
9767 PyObject
* obj2
= 0 ;
9769 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9776 arg2
= wxString_in_helper(obj1
);
9777 if (arg2
== NULL
) SWIG_fail
;
9781 arg3
= wxString_in_helper(obj2
);
9782 if (arg3
== NULL
) SWIG_fail
;
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9817 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxInputStream
*arg1
= 0 ;
9821 wxPyInputStream
*temp1
;
9823 PyObject
* obj0
= 0 ;
9825 (char *) "stream", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9830 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9831 arg1
= temp1
->m_wxis
;
9834 PyErr_Clear(); // clear the failure of the wxPyConvert above
9835 arg1
= wxPyCBInputStream_create(obj0
, False
);
9837 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 result
= (bool)wxImage::CanRead(*arg1
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9867 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
;
9869 wxImage
*arg1
= (wxImage
*) 0 ;
9870 wxInputStream
*arg2
= 0 ;
9871 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9872 int arg4
= (int) -1 ;
9874 wxPyInputStream
*temp2
;
9876 PyObject
* obj0
= 0 ;
9877 PyObject
* obj1
= 0 ;
9878 PyObject
* obj2
= 0 ;
9879 PyObject
* obj3
= 0 ;
9881 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9888 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9889 arg2
= temp2
->m_wxis
;
9892 PyErr_Clear(); // clear the failure of the wxPyConvert above
9893 arg2
= wxPyCBInputStream_create(obj1
, False
);
9895 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9902 arg3
= (long) SWIG_AsLong(obj2
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9906 arg4
= (int) SWIG_AsInt(obj3
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9933 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
;
9935 wxImage
*arg1
= (wxImage
*) 0 ;
9936 wxInputStream
*arg2
= 0 ;
9937 wxString
*arg3
= 0 ;
9938 int arg4
= (int) -1 ;
9940 wxPyInputStream
*temp2
;
9942 bool temp3
= False
;
9943 PyObject
* obj0
= 0 ;
9944 PyObject
* obj1
= 0 ;
9945 PyObject
* obj2
= 0 ;
9946 PyObject
* obj3
= 0 ;
9948 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9955 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9956 arg2
= temp2
->m_wxis
;
9959 PyErr_Clear(); // clear the failure of the wxPyConvert above
9960 arg2
= wxPyCBInputStream_create(obj1
, False
);
9962 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9969 arg3
= wxString_in_helper(obj2
);
9970 if (arg3
== NULL
) SWIG_fail
;
9974 arg4
= (int) SWIG_AsInt(obj3
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10009 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
;
10011 wxImage
*arg1
= (wxImage
*) 0 ;
10013 PyObject
* obj0
= 0 ;
10014 char *kwnames
[] = {
10015 (char *) "self", NULL
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (bool)(arg1
)->Ok();
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10037 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
;
10039 wxImage
*arg1
= (wxImage
*) 0 ;
10041 PyObject
* obj0
= 0 ;
10042 char *kwnames
[] = {
10043 (char *) "self", NULL
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= (int)(arg1
)->GetWidth();
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10056 resultobj
= SWIG_FromInt((int)result
);
10063 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxImage
*arg1
= (wxImage
*) 0 ;
10067 PyObject
* obj0
= 0 ;
10068 char *kwnames
[] = {
10069 (char *) "self", NULL
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 result
= (int)(arg1
)->GetHeight();
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 resultobj
= SWIG_FromInt((int)result
);
10089 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10091 wxImage
*arg1
= (wxImage
*) 0 ;
10093 PyObject
* obj0
= 0 ;
10094 char *kwnames
[] = {
10095 (char *) "self", NULL
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= wxImage_GetSize(arg1
);
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10109 wxSize
* resultptr
;
10110 resultptr
= new wxSize((wxSize
&) result
);
10111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10119 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
*resultobj
;
10121 wxImage
*arg1
= (wxImage
*) 0 ;
10123 SwigValueWrapper
< wxImage
> result
;
10125 PyObject
* obj0
= 0 ;
10126 PyObject
* obj1
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "self",(char *) "rect", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10136 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10146 wxImage
* resultptr
;
10147 resultptr
= new wxImage((wxImage
&) result
);
10148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10156 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
;
10158 wxImage
*arg1
= (wxImage
*) 0 ;
10159 SwigValueWrapper
< wxImage
> result
;
10160 PyObject
* obj0
= 0 ;
10161 char *kwnames
[] = {
10162 (char *) "self", NULL
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 result
= (arg1
)->Copy();
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10176 wxImage
* resultptr
;
10177 resultptr
= new wxImage((wxImage
&) result
);
10178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10186 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
;
10188 wxImage
*arg1
= (wxImage
*) 0 ;
10189 wxImage
*arg2
= 0 ;
10192 PyObject
* obj0
= 0 ;
10193 PyObject
* obj1
= 0 ;
10194 PyObject
* obj2
= 0 ;
10195 PyObject
* obj3
= 0 ;
10196 char *kwnames
[] = {
10197 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10204 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10206 if (arg2
== NULL
) {
10207 PyErr_SetString(PyExc_TypeError
,"null reference");
10210 arg3
= (int) SWIG_AsInt(obj2
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10212 arg4
= (int) SWIG_AsInt(obj3
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 Py_INCREF(Py_None
); resultobj
= Py_None
;
10228 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10230 wxImage
*arg1
= (wxImage
*) 0 ;
10232 PyObject
* obj0
= 0 ;
10233 char *kwnames
[] = {
10234 (char *) "self", NULL
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= (PyObject
*)wxImage_GetData(arg1
);
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= result
;
10254 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
;
10256 wxImage
*arg1
= (wxImage
*) 0 ;
10257 PyObject
*arg2
= (PyObject
*) 0 ;
10258 PyObject
* obj0
= 0 ;
10259 PyObject
* obj1
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self",(char *) "data", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 wxImage_SetData(arg1
,arg2
);
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 Py_INCREF(Py_None
); resultobj
= Py_None
;
10282 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxImage
*arg1
= (wxImage
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 resultobj
= result
;
10308 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
;
10310 wxImage
*arg1
= (wxImage
*) 0 ;
10311 PyObject
*arg2
= (PyObject
*) 0 ;
10312 PyObject
* obj0
= 0 ;
10313 PyObject
* obj1
= 0 ;
10314 char *kwnames
[] = {
10315 (char *) "self",(char *) "data", NULL
10318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 wxImage_SetDataBuffer(arg1
,arg2
);
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 Py_INCREF(Py_None
); resultobj
= Py_None
;
10336 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
;
10338 wxImage
*arg1
= (wxImage
*) 0 ;
10340 PyObject
* obj0
= 0 ;
10341 char *kwnames
[] = {
10342 (char *) "self", NULL
10345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 resultobj
= result
;
10362 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
;
10364 wxImage
*arg1
= (wxImage
*) 0 ;
10365 PyObject
*arg2
= (PyObject
*) 0 ;
10366 PyObject
* obj0
= 0 ;
10367 PyObject
* obj1
= 0 ;
10368 char *kwnames
[] = {
10369 (char *) "self",(char *) "data", NULL
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 wxImage_SetAlphaData(arg1
,arg2
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 Py_INCREF(Py_None
); resultobj
= Py_None
;
10390 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
;
10392 wxImage
*arg1
= (wxImage
*) 0 ;
10394 PyObject
* obj0
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "self", NULL
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= result
;
10416 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
;
10418 wxImage
*arg1
= (wxImage
*) 0 ;
10419 PyObject
*arg2
= (PyObject
*) 0 ;
10420 PyObject
* obj0
= 0 ;
10421 PyObject
* obj1
= 0 ;
10422 char *kwnames
[] = {
10423 (char *) "self",(char *) "data", NULL
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 wxImage_SetAlphaBuffer(arg1
,arg2
);
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 Py_INCREF(Py_None
); resultobj
= Py_None
;
10444 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10445 PyObject
*resultobj
;
10446 wxImage
*arg1
= (wxImage
*) 0 ;
10447 unsigned char arg2
;
10448 unsigned char arg3
;
10449 unsigned char arg4
;
10450 PyObject
* obj0
= 0 ;
10451 PyObject
* obj1
= 0 ;
10452 PyObject
* obj2
= 0 ;
10453 PyObject
* obj3
= 0 ;
10454 char *kwnames
[] = {
10455 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10461 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10463 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10465 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10474 Py_INCREF(Py_None
); resultobj
= Py_None
;
10481 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
;
10483 wxImage
*arg1
= (wxImage
*) 0 ;
10484 unsigned char result
;
10485 PyObject
* obj0
= 0 ;
10486 char *kwnames
[] = {
10487 (char *) "self", NULL
10490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 result
= (unsigned char)(arg1
)->GetMaskRed();
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10507 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxImage
*arg1
= (wxImage
*) 0 ;
10510 unsigned char result
;
10511 PyObject
* obj0
= 0 ;
10512 char *kwnames
[] = {
10513 (char *) "self", NULL
10516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 result
= (unsigned char)(arg1
)->GetMaskGreen();
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10533 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10535 wxImage
*arg1
= (wxImage
*) 0 ;
10536 unsigned char result
;
10537 PyObject
* obj0
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "self", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 result
= (unsigned char)(arg1
)->GetMaskBlue();
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10559 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
;
10561 wxImage
*arg1
= (wxImage
*) 0 ;
10562 bool arg2
= (bool) True
;
10563 PyObject
* obj0
= 0 ;
10564 PyObject
* obj1
= 0 ;
10565 char *kwnames
[] = {
10566 (char *) "self",(char *) "mask", NULL
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10573 arg2
= (bool) SWIG_AsBool(obj1
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 (arg1
)->SetMask(arg2
);
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 Py_INCREF(Py_None
); resultobj
= Py_None
;
10590 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
;
10592 wxImage
*arg1
= (wxImage
*) 0 ;
10594 PyObject
* obj0
= 0 ;
10595 char *kwnames
[] = {
10596 (char *) "self", NULL
10599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 result
= (bool)(arg1
)->HasMask();
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10618 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
;
10620 wxImage
*arg1
= (wxImage
*) 0 ;
10622 wxPoint
*arg3
= 0 ;
10623 bool arg4
= (bool) True
;
10624 wxPoint
*arg5
= (wxPoint
*) NULL
;
10625 SwigValueWrapper
< wxImage
> result
;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 PyObject
* obj2
= 0 ;
10630 PyObject
* obj3
= 0 ;
10631 PyObject
* obj4
= 0 ;
10632 char *kwnames
[] = {
10633 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10639 arg2
= (double) SWIG_AsDouble(obj1
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10643 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10646 arg4
= (bool) SWIG_AsBool(obj3
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10650 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10661 wxImage
* resultptr
;
10662 resultptr
= new wxImage((wxImage
&) result
);
10663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10671 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxImage
*arg1
= (wxImage
*) 0 ;
10674 bool arg2
= (bool) True
;
10675 SwigValueWrapper
< wxImage
> result
;
10676 PyObject
* obj0
= 0 ;
10677 PyObject
* obj1
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self",(char *) "clockwise", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10686 arg2
= (bool) SWIG_AsBool(obj1
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 result
= (arg1
)->Rotate90(arg2
);
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10697 wxImage
* resultptr
;
10698 resultptr
= new wxImage((wxImage
&) result
);
10699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10707 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
;
10709 wxImage
*arg1
= (wxImage
*) 0 ;
10710 bool arg2
= (bool) True
;
10711 SwigValueWrapper
< wxImage
> result
;
10712 PyObject
* obj0
= 0 ;
10713 PyObject
* obj1
= 0 ;
10714 char *kwnames
[] = {
10715 (char *) "self",(char *) "horizontally", NULL
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10722 arg2
= (bool) SWIG_AsBool(obj1
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 result
= (arg1
)->Mirror(arg2
);
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10733 wxImage
* resultptr
;
10734 resultptr
= new wxImage((wxImage
&) result
);
10735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10743 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10745 wxImage
*arg1
= (wxImage
*) 0 ;
10746 unsigned char arg2
;
10747 unsigned char arg3
;
10748 unsigned char arg4
;
10749 unsigned char arg5
;
10750 unsigned char arg6
;
10751 unsigned char arg7
;
10752 PyObject
* obj0
= 0 ;
10753 PyObject
* obj1
= 0 ;
10754 PyObject
* obj2
= 0 ;
10755 PyObject
* obj3
= 0 ;
10756 PyObject
* obj4
= 0 ;
10757 PyObject
* obj5
= 0 ;
10758 PyObject
* obj6
= 0 ;
10759 char *kwnames
[] = {
10760 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10766 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10768 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10770 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10772 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10774 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10776 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10785 Py_INCREF(Py_None
); resultobj
= Py_None
;
10792 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10793 PyObject
*resultobj
;
10794 wxImage
*arg1
= (wxImage
*) 0 ;
10795 unsigned char arg2
;
10796 unsigned char arg3
;
10797 unsigned char arg4
;
10798 SwigValueWrapper
< wxImage
> result
;
10799 PyObject
* obj0
= 0 ;
10800 PyObject
* obj1
= 0 ;
10801 PyObject
* obj2
= 0 ;
10802 PyObject
* obj3
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10810 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10812 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10814 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10824 wxImage
* resultptr
;
10825 resultptr
= new wxImage((wxImage
&) result
);
10826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10834 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
;
10836 wxImage
*arg1
= (wxImage
*) 0 ;
10837 wxString
*arg2
= 0 ;
10838 wxString
*arg3
= 0 ;
10839 bool temp2
= False
;
10840 bool temp3
= False
;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 PyObject
* obj2
= 0 ;
10844 char *kwnames
[] = {
10845 (char *) "self",(char *) "name",(char *) "value", NULL
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10852 arg2
= wxString_in_helper(obj1
);
10853 if (arg2
== NULL
) SWIG_fail
;
10857 arg3
= wxString_in_helper(obj2
);
10858 if (arg3
== NULL
) SWIG_fail
;
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 Py_INCREF(Py_None
); resultobj
= Py_None
;
10891 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
;
10893 wxImage
*arg1
= (wxImage
*) 0 ;
10894 wxString
*arg2
= 0 ;
10896 bool temp2
= False
;
10897 PyObject
* obj0
= 0 ;
10898 PyObject
* obj1
= 0 ;
10899 PyObject
* obj2
= 0 ;
10900 char *kwnames
[] = {
10901 (char *) "self",(char *) "name",(char *) "value", NULL
10904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10908 arg2
= wxString_in_helper(obj1
);
10909 if (arg2
== NULL
) SWIG_fail
;
10912 arg3
= (int) SWIG_AsInt(obj2
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 Py_INCREF(Py_None
); resultobj
= Py_None
;
10936 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
;
10938 wxImage
*arg1
= (wxImage
*) 0 ;
10939 wxString
*arg2
= 0 ;
10941 bool temp2
= False
;
10942 PyObject
* obj0
= 0 ;
10943 PyObject
* obj1
= 0 ;
10944 char *kwnames
[] = {
10945 (char *) "self",(char *) "name", NULL
10948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10952 arg2
= wxString_in_helper(obj1
);
10953 if (arg2
== NULL
) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10984 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10985 PyObject
*resultobj
;
10986 wxImage
*arg1
= (wxImage
*) 0 ;
10987 wxString
*arg2
= 0 ;
10989 bool temp2
= False
;
10990 PyObject
* obj0
= 0 ;
10991 PyObject
* obj1
= 0 ;
10992 char *kwnames
[] = {
10993 (char *) "self",(char *) "name", NULL
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11000 arg2
= wxString_in_helper(obj1
);
11001 if (arg2
== NULL
) SWIG_fail
;
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= SWIG_FromInt((int)result
);
11026 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11027 PyObject
*resultobj
;
11028 wxImage
*arg1
= (wxImage
*) 0 ;
11029 wxString
*arg2
= 0 ;
11031 bool temp2
= False
;
11032 PyObject
* obj0
= 0 ;
11033 PyObject
* obj1
= 0 ;
11034 char *kwnames
[] = {
11035 (char *) "self",(char *) "name", NULL
11038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11042 arg2
= wxString_in_helper(obj1
);
11043 if (arg2
== NULL
) SWIG_fail
;
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11070 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
;
11072 wxImage
*arg1
= (wxImage
*) 0 ;
11073 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11074 unsigned long result
;
11075 PyObject
* obj0
= 0 ;
11076 PyObject
* obj1
= 0 ;
11077 char *kwnames
[] = {
11078 (char *) "self",(char *) "stopafter", NULL
11081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11085 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11095 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11102 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
;
11104 wxImage
*arg1
= (wxImage
*) 0 ;
11105 wxImageHistogram
*arg2
= 0 ;
11106 unsigned long result
;
11107 PyObject
* obj0
= 0 ;
11108 PyObject
* obj1
= 0 ;
11109 char *kwnames
[] = {
11110 (char *) "self",(char *) "h", NULL
11113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11119 if (arg2
== NULL
) {
11120 PyErr_SetString(PyExc_TypeError
,"null reference");
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11130 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11137 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11138 PyObject
*resultobj
;
11139 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11140 PyObject
* obj0
= 0 ;
11141 char *kwnames
[] = {
11142 (char *) "handler", NULL
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 wxImage::AddHandler(arg1
);
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 Py_INCREF(Py_None
); resultobj
= Py_None
;
11162 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11165 PyObject
* obj0
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "handler", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 wxImage::InsertHandler(arg1
);
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 Py_INCREF(Py_None
); resultobj
= Py_None
;
11187 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
;
11189 wxString
*arg1
= 0 ;
11191 bool temp1
= False
;
11192 PyObject
* obj0
= 0 ;
11193 char *kwnames
[] = {
11194 (char *) "name", NULL
11197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11199 arg1
= wxString_in_helper(obj0
);
11200 if (arg1
== NULL
) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11227 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11230 char *kwnames
[] = {
11234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 result
= wxImage::GetImageExtWildcard();
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11255 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11256 PyObject
*resultobj
;
11257 wxImage
*arg1
= (wxImage
*) 0 ;
11259 PyObject
* obj0
= 0 ;
11260 char *kwnames
[] = {
11261 (char *) "self", NULL
11264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11268 if (!wxPyCheckForApp()) SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 result
= wxImage_ConvertToBitmap(arg1
);
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11276 wxBitmap
* resultptr
;
11277 resultptr
= new wxBitmap((wxBitmap
&) result
);
11278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11286 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
;
11288 wxImage
*arg1
= (wxImage
*) 0 ;
11289 unsigned char arg2
;
11290 unsigned char arg3
;
11291 unsigned char arg4
;
11293 PyObject
* obj0
= 0 ;
11294 PyObject
* obj1
= 0 ;
11295 PyObject
* obj2
= 0 ;
11296 PyObject
* obj3
= 0 ;
11297 char *kwnames
[] = {
11298 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11304 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11306 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11308 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11311 if (!wxPyCheckForApp()) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11319 wxBitmap
* resultptr
;
11320 resultptr
= new wxBitmap((wxBitmap
&) result
);
11321 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11329 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11332 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11334 return Py_BuildValue((char *)"");
11336 static int _wrap_NullImage_set(PyObject
*_val
) {
11337 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11342 static PyObject
*_wrap_NullImage_get() {
11345 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11350 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11351 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11356 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11361 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11363 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11370 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11371 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11376 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11381 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11383 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11390 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11391 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11396 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11401 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11403 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11410 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11411 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11416 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11421 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11423 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11430 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11431 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11436 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11441 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11443 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11450 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxBMPHandler
*result
;
11453 char *kwnames
[] = {
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 result
= (wxBMPHandler
*)new wxBMPHandler();
11462 wxPyEndAllowThreads(__tstate
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11472 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11475 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11477 return Py_BuildValue((char *)"");
11479 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
;
11481 wxICOHandler
*result
;
11482 char *kwnames
[] = {
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 result
= (wxICOHandler
*)new wxICOHandler();
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11501 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11504 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11506 return Py_BuildValue((char *)"");
11508 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
*resultobj
;
11510 wxCURHandler
*result
;
11511 char *kwnames
[] = {
11515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (wxCURHandler
*)new wxCURHandler();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11530 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11533 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11535 return Py_BuildValue((char *)"");
11537 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11538 PyObject
*resultobj
;
11539 wxANIHandler
*result
;
11540 char *kwnames
[] = {
11544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (wxANIHandler
*)new wxANIHandler();
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11559 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11562 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11564 return Py_BuildValue((char *)"");
11566 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11567 PyObject
*resultobj
;
11568 wxPNGHandler
*result
;
11569 char *kwnames
[] = {
11573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 result
= (wxPNGHandler
*)new wxPNGHandler();
11578 wxPyEndAllowThreads(__tstate
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11588 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11591 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11593 return Py_BuildValue((char *)"");
11595 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
;
11597 wxGIFHandler
*result
;
11598 char *kwnames
[] = {
11602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 result
= (wxGIFHandler
*)new wxGIFHandler();
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11617 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11620 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11622 return Py_BuildValue((char *)"");
11624 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
;
11626 wxPCXHandler
*result
;
11627 char *kwnames
[] = {
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 result
= (wxPCXHandler
*)new wxPCXHandler();
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11646 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11649 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11651 return Py_BuildValue((char *)"");
11653 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
;
11655 wxJPEGHandler
*result
;
11656 char *kwnames
[] = {
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11675 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11678 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11680 return Py_BuildValue((char *)"");
11682 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
;
11684 wxPNMHandler
*result
;
11685 char *kwnames
[] = {
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (wxPNMHandler
*)new wxPNMHandler();
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11704 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11707 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11709 return Py_BuildValue((char *)"");
11711 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
;
11713 wxXPMHandler
*result
;
11714 char *kwnames
[] = {
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (wxXPMHandler
*)new wxXPMHandler();
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11733 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11736 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11738 return Py_BuildValue((char *)"");
11740 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11741 PyObject
*resultobj
;
11742 wxTIFFHandler
*result
;
11743 char *kwnames
[] = {
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11762 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11765 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11767 return Py_BuildValue((char *)"");
11769 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
;
11771 wxEvtHandler
*result
;
11772 char *kwnames
[] = {
11776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (wxEvtHandler
*)new wxEvtHandler();
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= wxPyMake_wxObject(result
);
11793 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
;
11795 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11796 wxEvtHandler
*result
;
11797 PyObject
* obj0
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "self", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= wxPyMake_wxObject(result
);
11821 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11824 wxEvtHandler
*result
;
11825 PyObject
* obj0
= 0 ;
11826 char *kwnames
[] = {
11827 (char *) "self", NULL
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= wxPyMake_wxObject(result
);
11849 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
;
11851 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11852 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11853 PyObject
* obj0
= 0 ;
11854 PyObject
* obj1
= 0 ;
11855 char *kwnames
[] = {
11856 (char *) "self",(char *) "handler", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11866 (arg1
)->SetNextHandler(arg2
);
11868 wxPyEndAllowThreads(__tstate
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11871 Py_INCREF(Py_None
); resultobj
= Py_None
;
11878 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11879 PyObject
*resultobj
;
11880 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11881 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11882 PyObject
* obj0
= 0 ;
11883 PyObject
* obj1
= 0 ;
11884 char *kwnames
[] = {
11885 (char *) "self",(char *) "handler", NULL
11888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 (arg1
)->SetPreviousHandler(arg2
);
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 Py_INCREF(Py_None
); resultobj
= Py_None
;
11907 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
*resultobj
;
11909 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11911 PyObject
* obj0
= 0 ;
11912 char *kwnames
[] = {
11913 (char *) "self", NULL
11916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11935 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11939 PyObject
* obj0
= 0 ;
11940 PyObject
* obj1
= 0 ;
11941 char *kwnames
[] = {
11942 (char *) "self",(char *) "enabled", NULL
11945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11948 arg2
= (bool) SWIG_AsBool(obj1
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 (arg1
)->SetEvtHandlerEnabled(arg2
);
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 Py_INCREF(Py_None
); resultobj
= Py_None
;
11964 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
;
11966 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11967 wxEvent
*arg2
= 0 ;
11969 PyObject
* obj0
= 0 ;
11970 PyObject
* obj1
= 0 ;
11971 char *kwnames
[] = {
11972 (char *) "self",(char *) "event", NULL
11975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11981 if (arg2
== NULL
) {
11982 PyErr_SetString(PyExc_TypeError
,"null reference");
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12001 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
;
12003 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12004 wxEvent
*arg2
= 0 ;
12005 PyObject
* obj0
= 0 ;
12006 PyObject
* obj1
= 0 ;
12007 char *kwnames
[] = {
12008 (char *) "self",(char *) "event", NULL
12011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12017 if (arg2
== NULL
) {
12018 PyErr_SetString(PyExc_TypeError
,"null reference");
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 (arg1
)->AddPendingEvent(*arg2
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 Py_INCREF(Py_None
); resultobj
= Py_None
;
12035 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12038 PyObject
* obj0
= 0 ;
12039 char *kwnames
[] = {
12040 (char *) "self", NULL
12043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 (arg1
)->ProcessPendingEvents();
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 Py_INCREF(Py_None
); resultobj
= Py_None
;
12060 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
;
12062 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12066 PyObject
*arg5
= (PyObject
*) 0 ;
12067 PyObject
* obj0
= 0 ;
12068 PyObject
* obj1
= 0 ;
12069 PyObject
* obj2
= 0 ;
12070 PyObject
* obj3
= 0 ;
12071 PyObject
* obj4
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12079 arg2
= (int) SWIG_AsInt(obj1
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12081 arg3
= (int) SWIG_AsInt(obj2
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12083 arg4
= (int) SWIG_AsInt(obj3
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 Py_INCREF(Py_None
); resultobj
= Py_None
;
12100 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12101 PyObject
*resultobj
;
12102 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12104 int arg3
= (int) -1 ;
12105 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12107 PyObject
* obj0
= 0 ;
12108 PyObject
* obj1
= 0 ;
12109 PyObject
* obj2
= 0 ;
12110 PyObject
* obj3
= 0 ;
12111 char *kwnames
[] = {
12112 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12118 arg2
= (int) SWIG_AsInt(obj1
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 arg3
= (int) SWIG_AsInt(obj2
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12125 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12144 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12145 PyObject
*resultobj
;
12146 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12147 PyObject
*arg2
= (PyObject
*) 0 ;
12148 PyObject
* obj0
= 0 ;
12149 PyObject
* obj1
= 0 ;
12150 char *kwnames
[] = {
12151 (char *) "self",(char *) "_self", NULL
12154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 wxEvtHandler__setOORInfo(arg1
,arg2
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 Py_INCREF(Py_None
); resultobj
= Py_None
;
12172 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12175 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12177 return Py_BuildValue((char *)"");
12179 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
;
12181 wxEventType result
;
12182 char *kwnames
[] = {
12186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= (wxEventType
)wxNewEventType();
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 resultobj
= SWIG_FromInt((int)result
);
12201 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12203 wxEvent
*arg1
= (wxEvent
*) 0 ;
12204 PyObject
* obj0
= 0 ;
12205 char *kwnames
[] = {
12206 (char *) "self", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 Py_INCREF(Py_None
); resultobj
= Py_None
;
12226 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxEvent
*arg1
= (wxEvent
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 PyObject
* obj1
= 0 ;
12232 char *kwnames
[] = {
12233 (char *) "self",(char *) "typ", NULL
12236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12239 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 (arg1
)->SetEventType(arg2
);
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 Py_INCREF(Py_None
); resultobj
= Py_None
;
12255 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxEvent
*arg1
= (wxEvent
*) 0 ;
12258 wxEventType result
;
12259 PyObject
* obj0
= 0 ;
12260 char *kwnames
[] = {
12261 (char *) "self", NULL
12264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= SWIG_FromInt((int)result
);
12281 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxEvent
*arg1
= (wxEvent
*) 0 ;
12285 PyObject
* obj0
= 0 ;
12286 char *kwnames
[] = {
12287 (char *) "self", NULL
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= wxPyMake_wxObject(result
);
12309 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12310 PyObject
*resultobj
;
12311 wxEvent
*arg1
= (wxEvent
*) 0 ;
12312 wxObject
*arg2
= (wxObject
*) 0 ;
12313 PyObject
* obj0
= 0 ;
12314 PyObject
* obj1
= 0 ;
12315 char *kwnames
[] = {
12316 (char *) "self",(char *) "obj", NULL
12319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12326 (arg1
)->SetEventObject(arg2
);
12328 wxPyEndAllowThreads(__tstate
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12331 Py_INCREF(Py_None
); resultobj
= Py_None
;
12338 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12339 PyObject
*resultobj
;
12340 wxEvent
*arg1
= (wxEvent
*) 0 ;
12342 PyObject
* obj0
= 0 ;
12343 char *kwnames
[] = {
12344 (char *) "self", NULL
12347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 resultobj
= SWIG_FromLong((long)result
);
12364 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12365 PyObject
*resultobj
;
12366 wxEvent
*arg1
= (wxEvent
*) 0 ;
12367 long arg2
= (long) 0 ;
12368 PyObject
* obj0
= 0 ;
12369 PyObject
* obj1
= 0 ;
12370 char *kwnames
[] = {
12371 (char *) "self",(char *) "ts", NULL
12374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12378 arg2
= (long) SWIG_AsLong(obj1
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 (arg1
)->SetTimestamp(arg2
);
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12388 Py_INCREF(Py_None
); resultobj
= Py_None
;
12395 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12396 PyObject
*resultobj
;
12397 wxEvent
*arg1
= (wxEvent
*) 0 ;
12399 PyObject
* obj0
= 0 ;
12400 char *kwnames
[] = {
12401 (char *) "self", NULL
12404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 result
= (int)((wxEvent
const *)arg1
)->GetId();
12411 wxPyEndAllowThreads(__tstate
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12414 resultobj
= SWIG_FromInt((int)result
);
12421 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
;
12423 wxEvent
*arg1
= (wxEvent
*) 0 ;
12425 PyObject
* obj0
= 0 ;
12426 PyObject
* obj1
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self",(char *) "Id", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12434 arg2
= (int) SWIG_AsInt(obj1
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 (arg1
)->SetId(arg2
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 Py_INCREF(Py_None
); resultobj
= Py_None
;
12450 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxEvent
*arg1
= (wxEvent
*) 0 ;
12454 PyObject
* obj0
= 0 ;
12455 char *kwnames
[] = {
12456 (char *) "self", NULL
12459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12478 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
*resultobj
;
12480 wxEvent
*arg1
= (wxEvent
*) 0 ;
12481 bool arg2
= (bool) True
;
12482 PyObject
* obj0
= 0 ;
12483 PyObject
* obj1
= 0 ;
12484 char *kwnames
[] = {
12485 (char *) "self",(char *) "skip", NULL
12488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12492 arg2
= (bool) SWIG_AsBool(obj1
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 (arg1
)->Skip(arg2
);
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12502 Py_INCREF(Py_None
); resultobj
= Py_None
;
12509 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
;
12511 wxEvent
*arg1
= (wxEvent
*) 0 ;
12513 PyObject
* obj0
= 0 ;
12514 char *kwnames
[] = {
12515 (char *) "self", NULL
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12537 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxEvent
*arg1
= (wxEvent
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 char *kwnames
[] = {
12543 (char *) "self", NULL
12546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12565 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
;
12567 wxEvent
*arg1
= (wxEvent
*) 0 ;
12569 PyObject
* obj0
= 0 ;
12570 char *kwnames
[] = {
12571 (char *) "self", NULL
12574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 result
= (int)(arg1
)->StopPropagation();
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12584 resultobj
= SWIG_FromInt((int)result
);
12591 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12592 PyObject
*resultobj
;
12593 wxEvent
*arg1
= (wxEvent
*) 0 ;
12595 PyObject
* obj0
= 0 ;
12596 PyObject
* obj1
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self",(char *) "propagationLevel", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12604 arg2
= (int) SWIG_AsInt(obj1
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 (arg1
)->ResumePropagation(arg2
);
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 Py_INCREF(Py_None
); resultobj
= Py_None
;
12620 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxEvent
*arg1
= (wxEvent
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 result
= (wxEvent
*)(arg1
)->Clone();
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12646 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12649 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12651 return Py_BuildValue((char *)"");
12653 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxEvent
*arg1
= 0 ;
12656 wxPropagationDisabler
*result
;
12657 PyObject
* obj0
= 0 ;
12658 char *kwnames
[] = {
12659 (char *) "event", NULL
12662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12666 if (arg1
== NULL
) {
12667 PyErr_SetString(PyExc_TypeError
,"null reference");
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12684 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
;
12686 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12687 PyObject
* obj0
= 0 ;
12688 char *kwnames
[] = {
12689 (char *) "self", NULL
12692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12702 Py_INCREF(Py_None
); resultobj
= Py_None
;
12709 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12712 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12714 return Py_BuildValue((char *)"");
12716 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
*resultobj
;
12718 wxEvent
*arg1
= 0 ;
12719 wxPropagateOnce
*result
;
12720 PyObject
* obj0
= 0 ;
12721 char *kwnames
[] = {
12722 (char *) "event", NULL
12725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12729 if (arg1
== NULL
) {
12730 PyErr_SetString(PyExc_TypeError
,"null reference");
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12747 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
;
12749 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12750 PyObject
* obj0
= 0 ;
12751 char *kwnames
[] = {
12752 (char *) "self", NULL
12755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 wxPyEndAllowThreads(__tstate
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12765 Py_INCREF(Py_None
); resultobj
= Py_None
;
12772 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12775 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12777 return Py_BuildValue((char *)"");
12779 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12782 int arg2
= (int) 0 ;
12783 wxCommandEvent
*result
;
12784 PyObject
* obj0
= 0 ;
12785 PyObject
* obj1
= 0 ;
12786 char *kwnames
[] = {
12787 (char *) "commandType",(char *) "winid", NULL
12790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12792 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12796 arg2
= (int) SWIG_AsInt(obj1
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12813 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
;
12815 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12817 PyObject
* obj0
= 0 ;
12818 char *kwnames
[] = {
12819 (char *) "self", NULL
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 resultobj
= SWIG_FromInt((int)result
);
12839 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12842 wxString
*arg2
= 0 ;
12843 bool temp2
= False
;
12844 PyObject
* obj0
= 0 ;
12845 PyObject
* obj1
= 0 ;
12846 char *kwnames
[] = {
12847 (char *) "self",(char *) "s", NULL
12850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12854 arg2
= wxString_in_helper(obj1
);
12855 if (arg2
== NULL
) SWIG_fail
;
12859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12860 (arg1
)->SetString((wxString
const &)*arg2
);
12862 wxPyEndAllowThreads(__tstate
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12865 Py_INCREF(Py_None
); resultobj
= Py_None
;
12880 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12881 PyObject
*resultobj
;
12882 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12884 PyObject
* obj0
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "self", NULL
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12912 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12916 PyObject
* obj0
= 0 ;
12917 char *kwnames
[] = {
12918 (char *) "self", NULL
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12940 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 char *kwnames
[] = {
12946 (char *) "self", NULL
12949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12956 wxPyEndAllowThreads(__tstate
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12968 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12969 PyObject
*resultobj
;
12970 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12972 PyObject
* obj0
= 0 ;
12973 PyObject
* obj1
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "self",(char *) "extraLong", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12981 arg2
= (long) SWIG_AsLong(obj1
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 (arg1
)->SetExtraLong(arg2
);
12987 wxPyEndAllowThreads(__tstate
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12990 Py_INCREF(Py_None
); resultobj
= Py_None
;
12997 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
;
12999 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 resultobj
= SWIG_FromLong((long)result
);
13023 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
;
13025 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13027 PyObject
* obj0
= 0 ;
13028 PyObject
* obj1
= 0 ;
13029 char *kwnames
[] = {
13030 (char *) "self",(char *) "i", NULL
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13036 arg2
= (int) SWIG_AsInt(obj1
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 (arg1
)->SetInt(arg2
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 Py_INCREF(Py_None
); resultobj
= Py_None
;
13052 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13056 PyObject
* obj0
= 0 ;
13057 char *kwnames
[] = {
13058 (char *) "self", NULL
13061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13071 resultobj
= SWIG_FromLong((long)result
);
13078 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13079 PyObject
*resultobj
;
13080 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13082 PyObject
* obj0
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13104 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13107 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13109 return Py_BuildValue((char *)"");
13111 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13114 int arg2
= (int) 0 ;
13115 wxNotifyEvent
*result
;
13116 PyObject
* obj0
= 0 ;
13117 PyObject
* obj1
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "commandType",(char *) "winid", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13124 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13128 arg2
= (int) SWIG_AsInt(obj1
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13145 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13146 PyObject
*resultobj
;
13147 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13148 PyObject
* obj0
= 0 ;
13149 char *kwnames
[] = {
13150 (char *) "self", NULL
13153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13163 Py_INCREF(Py_None
); resultobj
= Py_None
;
13170 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
;
13172 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13173 PyObject
* obj0
= 0 ;
13174 char *kwnames
[] = {
13175 (char *) "self", NULL
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 Py_INCREF(Py_None
); resultobj
= Py_None
;
13195 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
;
13197 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13199 PyObject
* obj0
= 0 ;
13200 char *kwnames
[] = {
13201 (char *) "self", NULL
13204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 result
= (bool)(arg1
)->IsAllowed();
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13223 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13226 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13228 return Py_BuildValue((char *)"");
13230 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
;
13232 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13233 int arg2
= (int) 0 ;
13234 int arg3
= (int) 0 ;
13235 int arg4
= (int) 0 ;
13236 wxScrollEvent
*result
;
13237 PyObject
* obj0
= 0 ;
13238 PyObject
* obj1
= 0 ;
13239 PyObject
* obj2
= 0 ;
13240 PyObject
* obj3
= 0 ;
13241 char *kwnames
[] = {
13242 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13247 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13251 arg2
= (int) SWIG_AsInt(obj1
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13255 arg3
= (int) SWIG_AsInt(obj2
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13259 arg4
= (int) SWIG_AsInt(obj3
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13266 wxPyEndAllowThreads(__tstate
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13276 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13277 PyObject
*resultobj
;
13278 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13280 PyObject
* obj0
= 0 ;
13281 char *kwnames
[] = {
13282 (char *) "self", NULL
13285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13290 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= SWIG_FromInt((int)result
);
13302 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13306 PyObject
* obj0
= 0 ;
13307 char *kwnames
[] = {
13308 (char *) "self", NULL
13311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 resultobj
= SWIG_FromInt((int)result
);
13328 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
;
13330 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13332 PyObject
* obj0
= 0 ;
13333 PyObject
* obj1
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "self",(char *) "orient", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13341 arg2
= (int) SWIG_AsInt(obj1
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 (arg1
)->SetOrientation(arg2
);
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13350 Py_INCREF(Py_None
); resultobj
= Py_None
;
13357 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
;
13359 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13361 PyObject
* obj0
= 0 ;
13362 PyObject
* obj1
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self",(char *) "pos", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13370 arg2
= (int) SWIG_AsInt(obj1
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13374 (arg1
)->SetPosition(arg2
);
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13379 Py_INCREF(Py_None
); resultobj
= Py_None
;
13386 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13389 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13391 return Py_BuildValue((char *)"");
13393 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13394 PyObject
*resultobj
;
13395 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13396 int arg2
= (int) 0 ;
13397 int arg3
= (int) 0 ;
13398 wxScrollWinEvent
*result
;
13399 PyObject
* obj0
= 0 ;
13400 PyObject
* obj1
= 0 ;
13401 PyObject
* obj2
= 0 ;
13402 char *kwnames
[] = {
13403 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13408 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13412 arg2
= (int) SWIG_AsInt(obj1
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13416 arg3
= (int) SWIG_AsInt(obj2
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13433 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
;
13435 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13437 PyObject
* obj0
= 0 ;
13438 char *kwnames
[] = {
13439 (char *) "self", NULL
13442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= SWIG_FromInt((int)result
);
13459 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
;
13461 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13463 PyObject
* obj0
= 0 ;
13464 char *kwnames
[] = {
13465 (char *) "self", NULL
13468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= SWIG_FromInt((int)result
);
13485 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
;
13487 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13489 PyObject
* obj0
= 0 ;
13490 PyObject
* obj1
= 0 ;
13491 char *kwnames
[] = {
13492 (char *) "self",(char *) "orient", NULL
13495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13498 arg2
= (int) SWIG_AsInt(obj1
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 (arg1
)->SetOrientation(arg2
);
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 Py_INCREF(Py_None
); resultobj
= Py_None
;
13514 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
;
13516 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13518 PyObject
* obj0
= 0 ;
13519 PyObject
* obj1
= 0 ;
13520 char *kwnames
[] = {
13521 (char *) "self",(char *) "pos", NULL
13524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13527 arg2
= (int) SWIG_AsInt(obj1
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 (arg1
)->SetPosition(arg2
);
13533 wxPyEndAllowThreads(__tstate
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13536 Py_INCREF(Py_None
); resultobj
= Py_None
;
13543 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13546 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13548 return Py_BuildValue((char *)"");
13550 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13553 wxMouseEvent
*result
;
13554 PyObject
* obj0
= 0 ;
13555 char *kwnames
[] = {
13556 (char *) "mouseType", NULL
13559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13561 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13572 resultobj
= wxPyMake_wxObject(result
);
13580 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
;
13582 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13584 PyObject
* obj0
= 0 ;
13585 char *kwnames
[] = {
13586 (char *) "self", NULL
13589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13594 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13608 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13609 PyObject
*resultobj
;
13610 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13611 int arg2
= (int) wxMOUSE_BTN_ANY
;
13613 PyObject
* obj0
= 0 ;
13614 PyObject
* obj1
= 0 ;
13615 char *kwnames
[] = {
13616 (char *) "self",(char *) "but", NULL
13619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13623 arg2
= (int) SWIG_AsInt(obj1
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13642 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13645 int arg2
= (int) wxMOUSE_BTN_ANY
;
13647 PyObject
* obj0
= 0 ;
13648 PyObject
* obj1
= 0 ;
13649 char *kwnames
[] = {
13650 (char *) "self",(char *) "but", NULL
13653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13657 arg2
= (int) SWIG_AsInt(obj1
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13676 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
;
13678 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13679 int arg2
= (int) wxMOUSE_BTN_ANY
;
13681 PyObject
* obj0
= 0 ;
13682 PyObject
* obj1
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self",(char *) "but", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13691 arg2
= (int) SWIG_AsInt(obj1
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13696 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13698 wxPyEndAllowThreads(__tstate
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13710 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13711 PyObject
*resultobj
;
13712 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13715 PyObject
* obj0
= 0 ;
13716 PyObject
* obj1
= 0 ;
13717 char *kwnames
[] = {
13718 (char *) "self",(char *) "but", NULL
13721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13724 arg2
= (int) SWIG_AsInt(obj1
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13728 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13742 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
;
13744 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13747 PyObject
* obj0
= 0 ;
13748 PyObject
* obj1
= 0 ;
13749 char *kwnames
[] = {
13750 (char *) "self",(char *) "but", NULL
13753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13756 arg2
= (int) SWIG_AsInt(obj1
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13760 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13774 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
;
13776 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13778 PyObject
* obj0
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "self", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13793 resultobj
= SWIG_FromInt((int)result
);
13800 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
;
13802 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13804 PyObject
* obj0
= 0 ;
13805 char *kwnames
[] = {
13806 (char *) "self", NULL
13809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13828 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
;
13830 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13832 PyObject
* obj0
= 0 ;
13833 char *kwnames
[] = {
13834 (char *) "self", NULL
13837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13856 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
;
13858 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13860 PyObject
* obj0
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "self", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13884 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
;
13886 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13888 PyObject
* obj0
= 0 ;
13889 char *kwnames
[] = {
13890 (char *) "self", NULL
13893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13912 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
;
13914 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13916 PyObject
* obj0
= 0 ;
13917 char *kwnames
[] = {
13918 (char *) "self", NULL
13921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13940 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
;
13942 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13944 PyObject
* obj0
= 0 ;
13945 char *kwnames
[] = {
13946 (char *) "self", NULL
13949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13968 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13969 PyObject
*resultobj
;
13970 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13972 PyObject
* obj0
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "self", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13982 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13996 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
;
13998 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14000 PyObject
* obj0
= 0 ;
14001 char *kwnames
[] = {
14002 (char *) "self", NULL
14005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14012 wxPyEndAllowThreads(__tstate
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14024 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
;
14026 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14028 PyObject
* obj0
= 0 ;
14029 char *kwnames
[] = {
14030 (char *) "self", NULL
14033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14052 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14053 PyObject
*resultobj
;
14054 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14056 PyObject
* obj0
= 0 ;
14057 char *kwnames
[] = {
14058 (char *) "self", NULL
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14080 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
;
14082 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14084 PyObject
* obj0
= 0 ;
14085 char *kwnames
[] = {
14086 (char *) "self", NULL
14089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14108 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 char *kwnames
[] = {
14114 (char *) "self", NULL
14117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14136 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14137 PyObject
*resultobj
;
14138 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14140 PyObject
* obj0
= 0 ;
14141 char *kwnames
[] = {
14142 (char *) "self", NULL
14145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14150 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14164 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14165 PyObject
*resultobj
;
14166 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14168 PyObject
* obj0
= 0 ;
14169 char *kwnames
[] = {
14170 (char *) "self", NULL
14173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 result
= (bool)(arg1
)->LeftIsDown();
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14192 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14193 PyObject
*resultobj
;
14194 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14196 PyObject
* obj0
= 0 ;
14197 char *kwnames
[] = {
14198 (char *) "self", NULL
14201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= (bool)(arg1
)->MiddleIsDown();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14220 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
;
14222 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14224 PyObject
* obj0
= 0 ;
14225 char *kwnames
[] = {
14226 (char *) "self", NULL
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= (bool)(arg1
)->RightIsDown();
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14248 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
;
14250 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14252 PyObject
* obj0
= 0 ;
14253 char *kwnames
[] = {
14254 (char *) "self", NULL
14257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14276 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14277 PyObject
*resultobj
;
14278 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14280 PyObject
* obj0
= 0 ;
14281 char *kwnames
[] = {
14282 (char *) "self", NULL
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14304 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
;
14306 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14308 PyObject
* obj0
= 0 ;
14309 char *kwnames
[] = {
14310 (char *) "self", NULL
14313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14332 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14333 PyObject
*resultobj
;
14334 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14336 PyObject
* obj0
= 0 ;
14337 char *kwnames
[] = {
14338 (char *) "self", NULL
14341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14360 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14364 PyObject
* obj0
= 0 ;
14365 char *kwnames
[] = {
14366 (char *) "self", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 result
= (arg1
)->GetPosition();
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14380 wxPoint
* resultptr
;
14381 resultptr
= new wxPoint((wxPoint
&) result
);
14382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14390 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14391 PyObject
*resultobj
;
14392 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14393 long *arg2
= (long *) 0 ;
14394 long *arg3
= (long *) 0 ;
14397 PyObject
* obj0
= 0 ;
14398 char *kwnames
[] = {
14399 (char *) "self", NULL
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 (arg1
)->GetPosition(arg2
,arg3
);
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 Py_INCREF(Py_None
); resultobj
= Py_None
;
14416 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14417 resultobj
= t_output_helper(resultobj
,o
);
14420 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14421 resultobj
= t_output_helper(resultobj
,o
);
14429 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
;
14431 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14434 PyObject
* obj0
= 0 ;
14435 PyObject
* obj1
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "self",(char *) "dc", NULL
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14444 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14446 if (arg2
== NULL
) {
14447 PyErr_SetString(PyExc_TypeError
,"null reference");
14451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14452 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14454 wxPyEndAllowThreads(__tstate
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14458 wxPoint
* resultptr
;
14459 resultptr
= new wxPoint((wxPoint
&) result
);
14460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14468 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
;
14470 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14472 PyObject
* obj0
= 0 ;
14473 char *kwnames
[] = {
14474 (char *) "self", NULL
14477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14482 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14484 wxPyEndAllowThreads(__tstate
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14487 resultobj
= SWIG_FromInt((int)result
);
14494 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14495 PyObject
*resultobj
;
14496 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 char *kwnames
[] = {
14500 (char *) "self", NULL
14503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= SWIG_FromInt((int)result
);
14520 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
;
14522 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14524 PyObject
* obj0
= 0 ;
14525 char *kwnames
[] = {
14526 (char *) "self", NULL
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= SWIG_FromInt((int)result
);
14546 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14550 PyObject
* obj0
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14565 resultobj
= SWIG_FromInt((int)result
);
14572 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14576 PyObject
* obj0
= 0 ;
14577 char *kwnames
[] = {
14578 (char *) "self", NULL
14581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= SWIG_FromInt((int)result
);
14598 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
;
14600 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14602 PyObject
* obj0
= 0 ;
14603 char *kwnames
[] = {
14604 (char *) "self", NULL
14607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14614 wxPyEndAllowThreads(__tstate
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14626 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14627 PyObject
*resultobj
;
14628 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14630 PyObject
* obj0
= 0 ;
14631 PyObject
* obj1
= 0 ;
14632 char *kwnames
[] = {
14633 (char *) "self",(char *) "m_x", NULL
14636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14639 arg2
= (int) SWIG_AsInt(obj1
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14641 if (arg1
) (arg1
)->m_x
= arg2
;
14643 Py_INCREF(Py_None
); resultobj
= Py_None
;
14650 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14651 PyObject
*resultobj
;
14652 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14654 PyObject
* obj0
= 0 ;
14655 char *kwnames
[] = {
14656 (char *) "self", NULL
14659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14662 result
= (int) ((arg1
)->m_x
);
14664 resultobj
= SWIG_FromInt((int)result
);
14671 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14672 PyObject
*resultobj
;
14673 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14675 PyObject
* obj0
= 0 ;
14676 PyObject
* obj1
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self",(char *) "m_y", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14684 arg2
= (int) SWIG_AsInt(obj1
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14686 if (arg1
) (arg1
)->m_y
= arg2
;
14688 Py_INCREF(Py_None
); resultobj
= Py_None
;
14695 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14699 PyObject
* obj0
= 0 ;
14700 char *kwnames
[] = {
14701 (char *) "self", NULL
14704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14707 result
= (int) ((arg1
)->m_y
);
14709 resultobj
= SWIG_FromInt((int)result
);
14716 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
;
14718 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14720 PyObject
* obj0
= 0 ;
14721 PyObject
* obj1
= 0 ;
14722 char *kwnames
[] = {
14723 (char *) "self",(char *) "m_leftDown", NULL
14726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14729 arg2
= (bool) SWIG_AsBool(obj1
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14731 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14733 Py_INCREF(Py_None
); resultobj
= Py_None
;
14740 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14744 PyObject
* obj0
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14752 result
= (bool) ((arg1
)->m_leftDown
);
14755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14763 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14764 PyObject
*resultobj
;
14765 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14767 PyObject
* obj0
= 0 ;
14768 PyObject
* obj1
= 0 ;
14769 char *kwnames
[] = {
14770 (char *) "self",(char *) "m_middleDown", NULL
14773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14776 arg2
= (bool) SWIG_AsBool(obj1
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14778 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14780 Py_INCREF(Py_None
); resultobj
= Py_None
;
14787 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14788 PyObject
*resultobj
;
14789 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14791 PyObject
* obj0
= 0 ;
14792 char *kwnames
[] = {
14793 (char *) "self", NULL
14796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14799 result
= (bool) ((arg1
)->m_middleDown
);
14802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14810 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14811 PyObject
*resultobj
;
14812 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14814 PyObject
* obj0
= 0 ;
14815 PyObject
* obj1
= 0 ;
14816 char *kwnames
[] = {
14817 (char *) "self",(char *) "m_rightDown", NULL
14820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14823 arg2
= (bool) SWIG_AsBool(obj1
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14825 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14827 Py_INCREF(Py_None
); resultobj
= Py_None
;
14834 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
;
14836 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14838 PyObject
* obj0
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "self", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14846 result
= (bool) ((arg1
)->m_rightDown
);
14849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14857 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14858 PyObject
*resultobj
;
14859 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14861 PyObject
* obj0
= 0 ;
14862 PyObject
* obj1
= 0 ;
14863 char *kwnames
[] = {
14864 (char *) "self",(char *) "m_controlDown", NULL
14867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14870 arg2
= (bool) SWIG_AsBool(obj1
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14872 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14874 Py_INCREF(Py_None
); resultobj
= Py_None
;
14881 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14882 PyObject
*resultobj
;
14883 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14885 PyObject
* obj0
= 0 ;
14886 char *kwnames
[] = {
14887 (char *) "self", NULL
14890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14893 result
= (bool) ((arg1
)->m_controlDown
);
14896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14904 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14905 PyObject
*resultobj
;
14906 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14908 PyObject
* obj0
= 0 ;
14909 PyObject
* obj1
= 0 ;
14910 char *kwnames
[] = {
14911 (char *) "self",(char *) "m_shiftDown", NULL
14914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14917 arg2
= (bool) SWIG_AsBool(obj1
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14919 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14921 Py_INCREF(Py_None
); resultobj
= Py_None
;
14928 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "self", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14940 result
= (bool) ((arg1
)->m_shiftDown
);
14943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14951 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
;
14953 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14955 PyObject
* obj0
= 0 ;
14956 PyObject
* obj1
= 0 ;
14957 char *kwnames
[] = {
14958 (char *) "self",(char *) "m_altDown", NULL
14961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14964 arg2
= (bool) SWIG_AsBool(obj1
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14966 if (arg1
) (arg1
)->m_altDown
= arg2
;
14968 Py_INCREF(Py_None
); resultobj
= Py_None
;
14975 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
;
14977 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14979 PyObject
* obj0
= 0 ;
14980 char *kwnames
[] = {
14981 (char *) "self", NULL
14984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14987 result
= (bool) ((arg1
)->m_altDown
);
14990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14998 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14999 PyObject
*resultobj
;
15000 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15002 PyObject
* obj0
= 0 ;
15003 PyObject
* obj1
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "self",(char *) "m_metaDown", NULL
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15011 arg2
= (bool) SWIG_AsBool(obj1
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15013 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15015 Py_INCREF(Py_None
); resultobj
= Py_None
;
15022 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 char *kwnames
[] = {
15028 (char *) "self", NULL
15031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15034 result
= (bool) ((arg1
)->m_metaDown
);
15037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15045 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
;
15047 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15049 PyObject
* obj0
= 0 ;
15050 PyObject
* obj1
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self",(char *) "m_wheelRotation", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15058 arg2
= (int) SWIG_AsInt(obj1
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15060 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15062 Py_INCREF(Py_None
); resultobj
= Py_None
;
15069 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15070 PyObject
*resultobj
;
15071 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15073 PyObject
* obj0
= 0 ;
15074 char *kwnames
[] = {
15075 (char *) "self", NULL
15078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15081 result
= (int) ((arg1
)->m_wheelRotation
);
15083 resultobj
= SWIG_FromInt((int)result
);
15090 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15091 PyObject
*resultobj
;
15092 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15094 PyObject
* obj0
= 0 ;
15095 PyObject
* obj1
= 0 ;
15096 char *kwnames
[] = {
15097 (char *) "self",(char *) "m_wheelDelta", NULL
15100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15103 arg2
= (int) SWIG_AsInt(obj1
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15105 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15107 Py_INCREF(Py_None
); resultobj
= Py_None
;
15114 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
;
15116 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15118 PyObject
* obj0
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "self", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15126 result
= (int) ((arg1
)->m_wheelDelta
);
15128 resultobj
= SWIG_FromInt((int)result
);
15135 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
;
15137 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15139 PyObject
* obj0
= 0 ;
15140 PyObject
* obj1
= 0 ;
15141 char *kwnames
[] = {
15142 (char *) "self",(char *) "m_linesPerAction", NULL
15145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15148 arg2
= (int) SWIG_AsInt(obj1
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15150 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15152 Py_INCREF(Py_None
); resultobj
= Py_None
;
15159 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15160 PyObject
*resultobj
;
15161 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15163 PyObject
* obj0
= 0 ;
15164 char *kwnames
[] = {
15165 (char *) "self", NULL
15168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15171 result
= (int) ((arg1
)->m_linesPerAction
);
15173 resultobj
= SWIG_FromInt((int)result
);
15180 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15183 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15185 return Py_BuildValue((char *)"");
15187 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15188 PyObject
*resultobj
;
15189 int arg1
= (int) 0 ;
15190 int arg2
= (int) 0 ;
15191 wxSetCursorEvent
*result
;
15192 PyObject
* obj0
= 0 ;
15193 PyObject
* obj1
= 0 ;
15194 char *kwnames
[] = {
15195 (char *) "x",(char *) "y", NULL
15198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15200 arg1
= (int) SWIG_AsInt(obj0
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15204 arg2
= (int) SWIG_AsInt(obj1
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15221 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
;
15223 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15225 PyObject
* obj0
= 0 ;
15226 char *kwnames
[] = {
15227 (char *) "self", NULL
15230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15235 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15240 resultobj
= SWIG_FromInt((int)result
);
15247 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
;
15249 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15251 PyObject
* obj0
= 0 ;
15252 char *kwnames
[] = {
15253 (char *) "self", NULL
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15263 wxPyEndAllowThreads(__tstate
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15266 resultobj
= SWIG_FromInt((int)result
);
15273 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15274 PyObject
*resultobj
;
15275 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15276 wxCursor
*arg2
= 0 ;
15277 PyObject
* obj0
= 0 ;
15278 PyObject
* obj1
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self",(char *) "cursor", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15287 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15289 if (arg2
== NULL
) {
15290 PyErr_SetString(PyExc_TypeError
,"null reference");
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 Py_INCREF(Py_None
); resultobj
= Py_None
;
15307 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15308 PyObject
*resultobj
;
15309 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15311 PyObject
* obj0
= 0 ;
15312 char *kwnames
[] = {
15313 (char *) "self", NULL
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15322 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15323 result
= (wxCursor
*) &_result_ref
;
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15330 wxCursor
* resultptr
= new wxCursor(*result
);
15331 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15339 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
;
15341 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15343 PyObject
* obj0
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "self", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15367 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15370 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15372 return Py_BuildValue((char *)"");
15374 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
;
15376 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15377 wxKeyEvent
*result
;
15378 PyObject
* obj0
= 0 ;
15379 char *kwnames
[] = {
15380 (char *) "keyType", NULL
15383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15385 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15402 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15403 PyObject
*resultobj
;
15404 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15406 PyObject
* obj0
= 0 ;
15407 char *kwnames
[] = {
15408 (char *) "self", NULL
15411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15430 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15434 PyObject
* obj0
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15458 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
;
15460 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15462 PyObject
* obj0
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15472 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15486 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
;
15488 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15514 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15518 PyObject
* obj0
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "self", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15542 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15546 PyObject
* obj0
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= SWIG_FromInt((int)result
);
15568 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15569 PyObject
*resultobj
;
15570 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15572 PyObject
* obj0
= 0 ;
15573 char *kwnames
[] = {
15574 (char *) "self", NULL
15577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15582 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15584 wxPyEndAllowThreads(__tstate
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15587 resultobj
= SWIG_FromInt((int)result
);
15594 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15595 PyObject
*resultobj
;
15596 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15597 unsigned int result
;
15598 PyObject
* obj0
= 0 ;
15599 char *kwnames
[] = {
15600 (char *) "self", NULL
15603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15620 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
;
15622 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15623 unsigned int result
;
15624 PyObject
* obj0
= 0 ;
15625 char *kwnames
[] = {
15626 (char *) "self", NULL
15629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15639 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15646 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15647 PyObject
*resultobj
;
15648 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15650 PyObject
* obj0
= 0 ;
15651 char *kwnames
[] = {
15652 (char *) "self", NULL
15655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15660 result
= (arg1
)->GetPosition();
15662 wxPyEndAllowThreads(__tstate
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15666 wxPoint
* resultptr
;
15667 resultptr
= new wxPoint((wxPoint
&) result
);
15668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15676 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15677 PyObject
*resultobj
;
15678 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15679 long *arg2
= (long *) 0 ;
15680 long *arg3
= (long *) 0 ;
15683 PyObject
* obj0
= 0 ;
15684 char *kwnames
[] = {
15685 (char *) "self", NULL
15690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 (arg1
)->GetPosition(arg2
,arg3
);
15697 wxPyEndAllowThreads(__tstate
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15700 Py_INCREF(Py_None
); resultobj
= Py_None
;
15702 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15703 resultobj
= t_output_helper(resultobj
,o
);
15706 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15707 resultobj
= t_output_helper(resultobj
,o
);
15715 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
;
15717 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15719 PyObject
* obj0
= 0 ;
15720 char *kwnames
[] = {
15721 (char *) "self", NULL
15724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= SWIG_FromInt((int)result
);
15741 static PyObject
*_wrap_KeyEvent_GetY(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_GetY",kwnames
,&obj0
)) goto fail
;
15751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 resultobj
= SWIG_FromInt((int)result
);
15767 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15771 PyObject
* obj0
= 0 ;
15772 PyObject
* obj1
= 0 ;
15773 char *kwnames
[] = {
15774 (char *) "self",(char *) "m_x", NULL
15777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15780 arg2
= (int) SWIG_AsInt(obj1
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15782 if (arg1
) (arg1
)->m_x
= arg2
;
15784 Py_INCREF(Py_None
); resultobj
= Py_None
;
15791 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
;
15793 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15795 PyObject
* obj0
= 0 ;
15796 char *kwnames
[] = {
15797 (char *) "self", NULL
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15803 result
= (int) ((arg1
)->m_x
);
15805 resultobj
= SWIG_FromInt((int)result
);
15812 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
;
15814 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15816 PyObject
* obj0
= 0 ;
15817 PyObject
* obj1
= 0 ;
15818 char *kwnames
[] = {
15819 (char *) "self",(char *) "m_y", NULL
15822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15825 arg2
= (int) SWIG_AsInt(obj1
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15827 if (arg1
) (arg1
)->m_y
= arg2
;
15829 Py_INCREF(Py_None
); resultobj
= Py_None
;
15836 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15840 PyObject
* obj0
= 0 ;
15841 char *kwnames
[] = {
15842 (char *) "self", NULL
15845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15848 result
= (int) ((arg1
)->m_y
);
15850 resultobj
= SWIG_FromInt((int)result
);
15857 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15858 PyObject
*resultobj
;
15859 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15861 PyObject
* obj0
= 0 ;
15862 PyObject
* obj1
= 0 ;
15863 char *kwnames
[] = {
15864 (char *) "self",(char *) "m_keyCode", NULL
15867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15870 arg2
= (long) SWIG_AsLong(obj1
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15872 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15874 Py_INCREF(Py_None
); resultobj
= Py_None
;
15881 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15882 PyObject
*resultobj
;
15883 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15885 PyObject
* obj0
= 0 ;
15886 char *kwnames
[] = {
15887 (char *) "self", NULL
15890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15893 result
= (long) ((arg1
)->m_keyCode
);
15895 resultobj
= SWIG_FromLong((long)result
);
15902 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
;
15904 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15906 PyObject
* obj0
= 0 ;
15907 PyObject
* obj1
= 0 ;
15908 char *kwnames
[] = {
15909 (char *) "self",(char *) "m_controlDown", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15915 arg2
= (bool) SWIG_AsBool(obj1
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15917 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15919 Py_INCREF(Py_None
); resultobj
= Py_None
;
15926 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15930 PyObject
* obj0
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "self", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15938 result
= (bool) ((arg1
)->m_controlDown
);
15941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15949 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15950 PyObject
*resultobj
;
15951 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15953 PyObject
* obj0
= 0 ;
15954 PyObject
* obj1
= 0 ;
15955 char *kwnames
[] = {
15956 (char *) "self",(char *) "m_shiftDown", NULL
15959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15962 arg2
= (bool) SWIG_AsBool(obj1
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15964 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15966 Py_INCREF(Py_None
); resultobj
= Py_None
;
15973 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
;
15975 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15977 PyObject
* obj0
= 0 ;
15978 char *kwnames
[] = {
15979 (char *) "self", NULL
15982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15985 result
= (bool) ((arg1
)->m_shiftDown
);
15988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15996 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
;
15998 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16000 PyObject
* obj0
= 0 ;
16001 PyObject
* obj1
= 0 ;
16002 char *kwnames
[] = {
16003 (char *) "self",(char *) "m_altDown", NULL
16006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16009 arg2
= (bool) SWIG_AsBool(obj1
);
16010 if (PyErr_Occurred()) SWIG_fail
;
16011 if (arg1
) (arg1
)->m_altDown
= arg2
;
16013 Py_INCREF(Py_None
); resultobj
= Py_None
;
16020 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16021 PyObject
*resultobj
;
16022 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16024 PyObject
* obj0
= 0 ;
16025 char *kwnames
[] = {
16026 (char *) "self", NULL
16029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16032 result
= (bool) ((arg1
)->m_altDown
);
16035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16043 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
;
16045 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16047 PyObject
* obj0
= 0 ;
16048 PyObject
* obj1
= 0 ;
16049 char *kwnames
[] = {
16050 (char *) "self",(char *) "m_metaDown", NULL
16053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16056 arg2
= (bool) SWIG_AsBool(obj1
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16058 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16060 Py_INCREF(Py_None
); resultobj
= Py_None
;
16067 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16068 PyObject
*resultobj
;
16069 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16071 PyObject
* obj0
= 0 ;
16072 char *kwnames
[] = {
16073 (char *) "self", NULL
16076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16079 result
= (bool) ((arg1
)->m_metaDown
);
16082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16090 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
;
16092 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16094 PyObject
* obj0
= 0 ;
16095 PyObject
* obj1
= 0 ;
16096 char *kwnames
[] = {
16097 (char *) "self",(char *) "m_scanCode", NULL
16100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16103 arg2
= (bool) SWIG_AsBool(obj1
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16105 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16107 Py_INCREF(Py_None
); resultobj
= Py_None
;
16114 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16115 PyObject
*resultobj
;
16116 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16118 PyObject
* obj0
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16126 result
= (bool) ((arg1
)->m_scanCode
);
16129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16137 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16138 PyObject
*resultobj
;
16139 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16140 unsigned int arg2
;
16141 PyObject
* obj0
= 0 ;
16142 PyObject
* obj1
= 0 ;
16143 char *kwnames
[] = {
16144 (char *) "self",(char *) "m_rawCode", NULL
16147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16150 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16152 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16154 Py_INCREF(Py_None
); resultobj
= Py_None
;
16161 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16162 PyObject
*resultobj
;
16163 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16164 unsigned int result
;
16165 PyObject
* obj0
= 0 ;
16166 char *kwnames
[] = {
16167 (char *) "self", NULL
16170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16173 result
= (unsigned int) ((arg1
)->m_rawCode
);
16175 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16182 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16183 PyObject
*resultobj
;
16184 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16185 unsigned int arg2
;
16186 PyObject
* obj0
= 0 ;
16187 PyObject
* obj1
= 0 ;
16188 char *kwnames
[] = {
16189 (char *) "self",(char *) "m_rawFlags", NULL
16192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16195 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16197 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16199 Py_INCREF(Py_None
); resultobj
= Py_None
;
16206 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16207 PyObject
*resultobj
;
16208 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16209 unsigned int result
;
16210 PyObject
* obj0
= 0 ;
16211 char *kwnames
[] = {
16212 (char *) "self", NULL
16215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16218 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16220 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16227 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16230 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16232 return Py_BuildValue((char *)"");
16234 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16235 PyObject
*resultobj
;
16236 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16237 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16238 int arg2
= (int) 0 ;
16239 wxSizeEvent
*result
;
16241 PyObject
* obj0
= 0 ;
16242 PyObject
* obj1
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "sz",(char *) "winid", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16251 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16255 arg2
= (int) SWIG_AsInt(obj1
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16272 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
;
16274 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16276 PyObject
* obj0
= 0 ;
16277 char *kwnames
[] = {
16278 (char *) "self", NULL
16281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16286 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16288 wxPyEndAllowThreads(__tstate
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16292 wxSize
* resultptr
;
16293 resultptr
= new wxSize((wxSize
&) result
);
16294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16302 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16306 PyObject
* obj0
= 0 ;
16307 char *kwnames
[] = {
16308 (char *) "self", NULL
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16322 wxRect
* resultptr
;
16323 resultptr
= new wxRect((wxRect
&) result
);
16324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16332 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16333 PyObject
*resultobj
;
16334 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16337 PyObject
* obj0
= 0 ;
16338 PyObject
* obj1
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self",(char *) "rect", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16346 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16347 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 (arg1
)->SetRect(arg2
);
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16356 Py_INCREF(Py_None
); resultobj
= Py_None
;
16363 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16365 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16368 PyObject
* obj0
= 0 ;
16369 PyObject
* obj1
= 0 ;
16370 char *kwnames
[] = {
16371 (char *) "self",(char *) "size", NULL
16374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16377 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16378 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 wxSizeEvent_SetSize(arg1
,arg2
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 Py_INCREF(Py_None
); resultobj
= Py_None
;
16394 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
;
16396 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16397 wxSize
*arg2
= (wxSize
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 PyObject
* obj1
= 0 ;
16400 char *kwnames
[] = {
16401 (char *) "self",(char *) "m_size", NULL
16404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16409 if (arg1
) (arg1
)->m_size
= *arg2
;
16411 Py_INCREF(Py_None
); resultobj
= Py_None
;
16418 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16419 PyObject
*resultobj
;
16420 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16422 PyObject
* obj0
= 0 ;
16423 char *kwnames
[] = {
16424 (char *) "self", NULL
16427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16430 result
= (wxSize
*)& ((arg1
)->m_size
);
16432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16439 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
;
16441 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16442 wxRect
*arg2
= (wxRect
*) 0 ;
16443 PyObject
* obj0
= 0 ;
16444 PyObject
* obj1
= 0 ;
16445 char *kwnames
[] = {
16446 (char *) "self",(char *) "m_rect", NULL
16449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16454 if (arg1
) (arg1
)->m_rect
= *arg2
;
16456 Py_INCREF(Py_None
); resultobj
= Py_None
;
16463 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16467 PyObject
* obj0
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16475 result
= (wxRect
*)& ((arg1
)->m_rect
);
16477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16484 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16487 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16489 return Py_BuildValue((char *)"");
16491 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16494 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16495 int arg2
= (int) 0 ;
16496 wxMoveEvent
*result
;
16498 PyObject
* obj0
= 0 ;
16499 PyObject
* obj1
= 0 ;
16500 char *kwnames
[] = {
16501 (char *) "pos",(char *) "winid", NULL
16504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16508 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16512 arg2
= (int) SWIG_AsInt(obj1
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16519 wxPyEndAllowThreads(__tstate
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16529 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
;
16531 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16533 PyObject
* obj0
= 0 ;
16534 char *kwnames
[] = {
16535 (char *) "self", NULL
16538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16543 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16545 wxPyEndAllowThreads(__tstate
);
16546 if (PyErr_Occurred()) SWIG_fail
;
16549 wxPoint
* resultptr
;
16550 resultptr
= new wxPoint((wxPoint
&) result
);
16551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16559 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16560 PyObject
*resultobj
;
16561 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16563 PyObject
* obj0
= 0 ;
16564 char *kwnames
[] = {
16565 (char *) "self", NULL
16568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16579 wxRect
* resultptr
;
16580 resultptr
= new wxRect((wxRect
&) result
);
16581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16589 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16590 PyObject
*resultobj
;
16591 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16594 PyObject
* obj0
= 0 ;
16595 PyObject
* obj1
= 0 ;
16596 char *kwnames
[] = {
16597 (char *) "self",(char *) "rect", NULL
16600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16603 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16604 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16608 (arg1
)->SetRect(arg2
);
16610 wxPyEndAllowThreads(__tstate
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16613 Py_INCREF(Py_None
); resultobj
= Py_None
;
16620 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16621 PyObject
*resultobj
;
16622 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16625 PyObject
* obj0
= 0 ;
16626 PyObject
* obj1
= 0 ;
16627 char *kwnames
[] = {
16628 (char *) "self",(char *) "pos", NULL
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16634 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16635 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 wxMoveEvent_SetPosition(arg1
,arg2
);
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 Py_INCREF(Py_None
); resultobj
= Py_None
;
16651 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
;
16653 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16654 wxPoint
*arg2
= (wxPoint
*) 0 ;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "self",(char *) "m_pos", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16666 if (arg1
) (arg1
)->m_pos
= *arg2
;
16668 Py_INCREF(Py_None
); resultobj
= Py_None
;
16675 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
;
16677 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16679 PyObject
* obj0
= 0 ;
16680 char *kwnames
[] = {
16681 (char *) "self", NULL
16684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16687 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16696 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
;
16698 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16699 wxRect
*arg2
= (wxRect
*) 0 ;
16700 PyObject
* obj0
= 0 ;
16701 PyObject
* obj1
= 0 ;
16702 char *kwnames
[] = {
16703 (char *) "self",(char *) "m_rect", NULL
16706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16711 if (arg1
) (arg1
)->m_rect
= *arg2
;
16713 Py_INCREF(Py_None
); resultobj
= Py_None
;
16720 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
;
16722 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "self", NULL
16729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16732 result
= (wxRect
*)& ((arg1
)->m_rect
);
16734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16741 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16744 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16746 return Py_BuildValue((char *)"");
16748 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16749 PyObject
*resultobj
;
16750 int arg1
= (int) 0 ;
16751 wxPaintEvent
*result
;
16752 PyObject
* obj0
= 0 ;
16753 char *kwnames
[] = {
16754 (char *) "Id", NULL
16757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16759 arg1
= (int) SWIG_AsInt(obj0
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16776 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16779 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16781 return Py_BuildValue((char *)"");
16783 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16784 PyObject
*resultobj
;
16785 int arg1
= (int) 0 ;
16786 wxNcPaintEvent
*result
;
16787 PyObject
* obj0
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "winid", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16794 arg1
= (int) SWIG_AsInt(obj0
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16799 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16811 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16814 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16816 return Py_BuildValue((char *)"");
16818 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
;
16820 int arg1
= (int) 0 ;
16821 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16822 wxEraseEvent
*result
;
16823 PyObject
* obj0
= 0 ;
16824 PyObject
* obj1
= 0 ;
16825 char *kwnames
[] = {
16826 (char *) "Id",(char *) "dc", NULL
16829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16831 arg1
= (int) SWIG_AsInt(obj0
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16840 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16852 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16853 PyObject
*resultobj
;
16854 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16856 PyObject
* obj0
= 0 ;
16857 char *kwnames
[] = {
16858 (char *) "self", NULL
16861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16866 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16872 resultobj
= wxPyMake_wxObject(result
);
16880 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16883 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16885 return Py_BuildValue((char *)"");
16887 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16890 int arg2
= (int) 0 ;
16891 wxFocusEvent
*result
;
16892 PyObject
* obj0
= 0 ;
16893 PyObject
* obj1
= 0 ;
16894 char *kwnames
[] = {
16895 (char *) "type",(char *) "winid", NULL
16898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16900 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16904 arg2
= (int) SWIG_AsInt(obj1
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16909 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16911 wxPyEndAllowThreads(__tstate
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16921 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16922 PyObject
*resultobj
;
16923 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16925 PyObject
* obj0
= 0 ;
16926 char *kwnames
[] = {
16927 (char *) "self", NULL
16930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16941 resultobj
= wxPyMake_wxObject(result
);
16949 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16950 PyObject
*resultobj
;
16951 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16952 wxWindow
*arg2
= (wxWindow
*) 0 ;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 char *kwnames
[] = {
16956 (char *) "self",(char *) "win", NULL
16959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 (arg1
)->SetWindow(arg2
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 Py_INCREF(Py_None
); resultobj
= Py_None
;
16978 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16981 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16983 return Py_BuildValue((char *)"");
16985 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16986 PyObject
*resultobj
;
16987 wxWindow
*arg1
= (wxWindow
*) NULL
;
16988 wxChildFocusEvent
*result
;
16989 PyObject
* obj0
= 0 ;
16990 char *kwnames
[] = {
16991 (char *) "win", NULL
16994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17013 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17014 PyObject
*resultobj
;
17015 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17017 PyObject
* obj0
= 0 ;
17018 char *kwnames
[] = {
17019 (char *) "self", NULL
17022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17027 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17029 wxPyEndAllowThreads(__tstate
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= wxPyMake_wxObject(result
);
17041 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17044 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17046 return Py_BuildValue((char *)"");
17048 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
;
17050 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17051 bool arg2
= (bool) True
;
17052 int arg3
= (int) 0 ;
17053 wxActivateEvent
*result
;
17054 PyObject
* obj0
= 0 ;
17055 PyObject
* obj1
= 0 ;
17056 PyObject
* obj2
= 0 ;
17057 char *kwnames
[] = {
17058 (char *) "type",(char *) "active",(char *) "Id", NULL
17061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17063 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17067 arg2
= (bool) SWIG_AsBool(obj1
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17071 arg3
= (int) SWIG_AsInt(obj2
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17076 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17078 wxPyEndAllowThreads(__tstate
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17088 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17089 PyObject
*resultobj
;
17090 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17092 PyObject
* obj0
= 0 ;
17093 char *kwnames
[] = {
17094 (char *) "self", NULL
17097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17116 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17119 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17121 return Py_BuildValue((char *)"");
17123 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17124 PyObject
*resultobj
;
17125 int arg1
= (int) 0 ;
17126 wxInitDialogEvent
*result
;
17127 PyObject
* obj0
= 0 ;
17128 char *kwnames
[] = {
17129 (char *) "Id", NULL
17132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17134 arg1
= (int) SWIG_AsInt(obj0
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17139 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17141 wxPyEndAllowThreads(__tstate
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17151 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17154 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17156 return Py_BuildValue((char *)"");
17158 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
;
17160 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17161 int arg2
= (int) 0 ;
17162 wxMenu
*arg3
= (wxMenu
*) NULL
;
17163 wxMenuEvent
*result
;
17164 PyObject
* obj0
= 0 ;
17165 PyObject
* obj1
= 0 ;
17166 PyObject
* obj2
= 0 ;
17167 char *kwnames
[] = {
17168 (char *) "type",(char *) "winid",(char *) "menu", NULL
17171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17173 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17177 arg2
= (int) SWIG_AsInt(obj1
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17181 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17198 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
;
17200 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17202 PyObject
* obj0
= 0 ;
17203 char *kwnames
[] = {
17204 (char *) "self", NULL
17207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17217 resultobj
= SWIG_FromInt((int)result
);
17224 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17225 PyObject
*resultobj
;
17226 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17228 PyObject
* obj0
= 0 ;
17229 char *kwnames
[] = {
17230 (char *) "self", NULL
17233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17240 wxPyEndAllowThreads(__tstate
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17252 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17256 PyObject
* obj0
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "self", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17272 resultobj
= wxPyMake_wxObject(result
);
17280 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17283 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17285 return Py_BuildValue((char *)"");
17287 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17288 PyObject
*resultobj
;
17289 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17290 int arg2
= (int) 0 ;
17291 wxCloseEvent
*result
;
17292 PyObject
* obj0
= 0 ;
17293 PyObject
* obj1
= 0 ;
17294 char *kwnames
[] = {
17295 (char *) "type",(char *) "winid", NULL
17298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17300 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17304 arg2
= (int) SWIG_AsInt(obj1
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17321 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17323 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17325 PyObject
* obj0
= 0 ;
17326 PyObject
* obj1
= 0 ;
17327 char *kwnames
[] = {
17328 (char *) "self",(char *) "logOff", NULL
17331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17334 arg2
= (bool) SWIG_AsBool(obj1
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 (arg1
)->SetLoggingOff(arg2
);
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17343 Py_INCREF(Py_None
); resultobj
= Py_None
;
17350 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17351 PyObject
*resultobj
;
17352 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17354 PyObject
* obj0
= 0 ;
17355 char *kwnames
[] = {
17356 (char *) "self", NULL
17359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17364 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17366 wxPyEndAllowThreads(__tstate
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17378 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
;
17380 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17381 bool arg2
= (bool) True
;
17382 PyObject
* obj0
= 0 ;
17383 PyObject
* obj1
= 0 ;
17384 char *kwnames
[] = {
17385 (char *) "self",(char *) "veto", NULL
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17392 arg2
= (bool) SWIG_AsBool(obj1
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 (arg1
)->Veto(arg2
);
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17402 Py_INCREF(Py_None
); resultobj
= Py_None
;
17409 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17410 PyObject
*resultobj
;
17411 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17413 PyObject
* obj0
= 0 ;
17414 PyObject
* obj1
= 0 ;
17415 char *kwnames
[] = {
17416 (char *) "self",(char *) "canVeto", NULL
17419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17422 arg2
= (bool) SWIG_AsBool(obj1
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 (arg1
)->SetCanVeto(arg2
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 Py_INCREF(Py_None
); resultobj
= Py_None
;
17438 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
;
17440 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17442 PyObject
* obj0
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "self", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17466 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17470 PyObject
* obj0
= 0 ;
17471 char *kwnames
[] = {
17472 (char *) "self", NULL
17475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17480 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17482 wxPyEndAllowThreads(__tstate
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17494 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17497 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17499 return Py_BuildValue((char *)"");
17501 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
;
17503 int arg1
= (int) 0 ;
17504 bool arg2
= (bool) False
;
17505 wxShowEvent
*result
;
17506 PyObject
* obj0
= 0 ;
17507 PyObject
* obj1
= 0 ;
17508 char *kwnames
[] = {
17509 (char *) "winid",(char *) "show", NULL
17512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17514 arg1
= (int) SWIG_AsInt(obj0
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17518 arg2
= (bool) SWIG_AsBool(obj1
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17535 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
;
17537 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17539 PyObject
* obj0
= 0 ;
17540 PyObject
* obj1
= 0 ;
17541 char *kwnames
[] = {
17542 (char *) "self",(char *) "show", NULL
17545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17548 arg2
= (bool) SWIG_AsBool(obj1
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17552 (arg1
)->SetShow(arg2
);
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17557 Py_INCREF(Py_None
); resultobj
= Py_None
;
17564 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17566 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "self", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17592 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17595 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17597 return Py_BuildValue((char *)"");
17599 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 int arg1
= (int) 0 ;
17602 bool arg2
= (bool) True
;
17603 wxIconizeEvent
*result
;
17604 PyObject
* obj0
= 0 ;
17605 PyObject
* obj1
= 0 ;
17606 char *kwnames
[] = {
17607 (char *) "id",(char *) "iconized", NULL
17610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17612 arg1
= (int) SWIG_AsInt(obj0
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17616 arg2
= (bool) SWIG_AsBool(obj1
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17633 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17635 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17637 PyObject
* obj0
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "self", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 result
= (bool)(arg1
)->Iconized();
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17661 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17664 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17666 return Py_BuildValue((char *)"");
17668 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17670 int arg1
= (int) 0 ;
17671 wxMaximizeEvent
*result
;
17672 PyObject
* obj0
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "id", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17679 arg1
= (int) SWIG_AsInt(obj0
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17684 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17686 wxPyEndAllowThreads(__tstate
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17696 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17699 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17701 return Py_BuildValue((char *)"");
17703 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17707 PyObject
* obj0
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 result
= (arg1
)->GetPosition();
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17723 wxPoint
* resultptr
;
17724 resultptr
= new wxPoint((wxPoint
&) result
);
17725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17733 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
;
17735 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17737 PyObject
* obj0
= 0 ;
17738 char *kwnames
[] = {
17739 (char *) "self", NULL
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 result
= (int)(arg1
)->GetNumberOfFiles();
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 resultobj
= SWIG_FromInt((int)result
);
17759 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17778 resultobj
= result
;
17785 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17788 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17790 return Py_BuildValue((char *)"");
17792 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
;
17794 int arg1
= (int) 0 ;
17795 wxUpdateUIEvent
*result
;
17796 PyObject
* obj0
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "commandId", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17803 arg1
= (int) SWIG_AsInt(obj0
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17820 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
;
17822 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 char *kwnames
[] = {
17826 (char *) "self", NULL
17829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17848 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17852 PyObject
* obj0
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17876 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17908 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17912 PyObject
* obj0
= 0 ;
17913 char *kwnames
[] = {
17914 (char *) "self", NULL
17917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17936 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17937 PyObject
*resultobj
;
17938 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17940 PyObject
* obj0
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "self", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17964 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
;
17966 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17968 PyObject
* obj0
= 0 ;
17969 char *kwnames
[] = {
17970 (char *) "self", NULL
17973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17992 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
;
17994 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "self",(char *) "check", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18005 arg2
= (bool) SWIG_AsBool(obj1
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 (arg1
)->Check(arg2
);
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 Py_INCREF(Py_None
); resultobj
= Py_None
;
18021 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18025 PyObject
* obj0
= 0 ;
18026 PyObject
* obj1
= 0 ;
18027 char *kwnames
[] = {
18028 (char *) "self",(char *) "enable", NULL
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18034 arg2
= (bool) SWIG_AsBool(obj1
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 (arg1
)->Enable(arg2
);
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 Py_INCREF(Py_None
); resultobj
= Py_None
;
18050 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
;
18052 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18053 wxString
*arg2
= 0 ;
18054 bool temp2
= False
;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self",(char *) "text", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18065 arg2
= wxString_in_helper(obj1
);
18066 if (arg2
== NULL
) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 (arg1
)->SetText((wxString
const &)*arg2
);
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 Py_INCREF(Py_None
); resultobj
= Py_None
;
18091 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18094 PyObject
* obj0
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "updateInterval", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18100 arg1
= (long) SWIG_AsLong(obj0
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 Py_INCREF(Py_None
); resultobj
= Py_None
;
18116 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18119 char *kwnames
[] = {
18123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18128 wxPyEndAllowThreads(__tstate
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18131 resultobj
= SWIG_FromLong((long)result
);
18138 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
;
18140 wxWindow
*arg1
= (wxWindow
*) 0 ;
18142 PyObject
* obj0
= 0 ;
18143 char *kwnames
[] = {
18144 (char *) "win", NULL
18147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18152 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18154 wxPyEndAllowThreads(__tstate
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18166 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18167 PyObject
*resultobj
;
18168 char *kwnames
[] = {
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 wxUpdateUIEvent::ResetUpdateTime();
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18180 Py_INCREF(Py_None
); resultobj
= Py_None
;
18187 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18190 PyObject
* obj0
= 0 ;
18191 char *kwnames
[] = {
18192 (char *) "mode", NULL
18195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18196 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18205 Py_INCREF(Py_None
); resultobj
= Py_None
;
18212 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18213 PyObject
*resultobj
;
18215 char *kwnames
[] = {
18219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 result
= (int)wxUpdateUIEvent::GetMode();
18224 wxPyEndAllowThreads(__tstate
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18227 resultobj
= SWIG_FromInt((int)result
);
18234 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18237 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18239 return Py_BuildValue((char *)"");
18241 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18242 PyObject
*resultobj
;
18243 wxSysColourChangedEvent
*result
;
18244 char *kwnames
[] = {
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18253 wxPyEndAllowThreads(__tstate
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18263 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18266 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18268 return Py_BuildValue((char *)"");
18270 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
;
18272 int arg1
= (int) 0 ;
18273 wxWindow
*arg2
= (wxWindow
*) NULL
;
18274 wxMouseCaptureChangedEvent
*result
;
18275 PyObject
* obj0
= 0 ;
18276 PyObject
* obj1
= 0 ;
18277 char *kwnames
[] = {
18278 (char *) "winid",(char *) "gainedCapture", NULL
18281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18283 arg1
= (int) SWIG_AsInt(obj0
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18292 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18294 wxPyEndAllowThreads(__tstate
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18304 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
;
18306 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18308 PyObject
* obj0
= 0 ;
18309 char *kwnames
[] = {
18310 (char *) "self", NULL
18313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18318 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18320 wxPyEndAllowThreads(__tstate
);
18321 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= wxPyMake_wxObject(result
);
18332 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18335 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18337 return Py_BuildValue((char *)"");
18339 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18340 PyObject
*resultobj
;
18341 wxDisplayChangedEvent
*result
;
18342 char *kwnames
[] = {
18346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18361 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18364 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18366 return Py_BuildValue((char *)"");
18368 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18369 PyObject
*resultobj
;
18370 int arg1
= (int) 0 ;
18371 wxPaletteChangedEvent
*result
;
18372 PyObject
* obj0
= 0 ;
18373 char *kwnames
[] = {
18374 (char *) "id", NULL
18377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18379 arg1
= (int) SWIG_AsInt(obj0
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18396 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18399 wxWindow
*arg2
= (wxWindow
*) 0 ;
18400 PyObject
* obj0
= 0 ;
18401 PyObject
* obj1
= 0 ;
18402 char *kwnames
[] = {
18403 (char *) "self",(char *) "win", NULL
18406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 (arg1
)->SetChangedWindow(arg2
);
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18418 Py_INCREF(Py_None
); resultobj
= Py_None
;
18425 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18426 PyObject
*resultobj
;
18427 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18429 PyObject
* obj0
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18445 resultobj
= wxPyMake_wxObject(result
);
18453 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18456 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18458 return Py_BuildValue((char *)"");
18460 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18461 PyObject
*resultobj
;
18462 int arg1
= (int) 0 ;
18463 wxQueryNewPaletteEvent
*result
;
18464 PyObject
* obj0
= 0 ;
18465 char *kwnames
[] = {
18466 (char *) "winid", NULL
18469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18471 arg1
= (int) SWIG_AsInt(obj0
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18478 wxPyEndAllowThreads(__tstate
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18488 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18489 PyObject
*resultobj
;
18490 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18492 PyObject
* obj0
= 0 ;
18493 PyObject
* obj1
= 0 ;
18494 char *kwnames
[] = {
18495 (char *) "self",(char *) "realized", NULL
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18501 arg2
= (bool) SWIG_AsBool(obj1
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 (arg1
)->SetPaletteRealized(arg2
);
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 Py_INCREF(Py_None
); resultobj
= Py_None
;
18517 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18521 PyObject
* obj0
= 0 ;
18522 char *kwnames
[] = {
18523 (char *) "self", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18545 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18548 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18550 return Py_BuildValue((char *)"");
18552 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxNavigationKeyEvent
*result
;
18555 char *kwnames
[] = {
18559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18574 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
;
18576 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18578 PyObject
* obj0
= 0 ;
18579 char *kwnames
[] = {
18580 (char *) "self", NULL
18583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18588 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18590 wxPyEndAllowThreads(__tstate
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18602 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18603 PyObject
*resultobj
;
18604 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18606 PyObject
* obj0
= 0 ;
18607 PyObject
* obj1
= 0 ;
18608 char *kwnames
[] = {
18609 (char *) "self",(char *) "bForward", NULL
18612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18615 arg2
= (bool) SWIG_AsBool(obj1
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 (arg1
)->SetDirection(arg2
);
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 Py_INCREF(Py_None
); resultobj
= Py_None
;
18631 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18632 PyObject
*resultobj
;
18633 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18635 PyObject
* obj0
= 0 ;
18636 char *kwnames
[] = {
18637 (char *) "self", NULL
18640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18645 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18659 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18663 PyObject
* obj0
= 0 ;
18664 PyObject
* obj1
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self",(char *) "bIs", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18672 arg2
= (bool) SWIG_AsBool(obj1
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 (arg1
)->SetWindowChange(arg2
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 Py_INCREF(Py_None
); resultobj
= Py_None
;
18688 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18692 PyObject
* obj0
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "self", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18708 resultobj
= wxPyMake_wxObject(result
);
18716 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
;
18718 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18719 wxWindow
*arg2
= (wxWindow
*) 0 ;
18720 PyObject
* obj0
= 0 ;
18721 PyObject
* obj1
= 0 ;
18722 char *kwnames
[] = {
18723 (char *) "self",(char *) "win", NULL
18726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 (arg1
)->SetCurrentFocus(arg2
);
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18738 Py_INCREF(Py_None
); resultobj
= Py_None
;
18745 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18748 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18750 return Py_BuildValue((char *)"");
18752 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
;
18754 wxWindow
*arg1
= (wxWindow
*) NULL
;
18755 wxWindowCreateEvent
*result
;
18756 PyObject
* obj0
= 0 ;
18757 char *kwnames
[] = {
18758 (char *) "win", NULL
18761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18768 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18780 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
;
18782 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18784 PyObject
* obj0
= 0 ;
18785 char *kwnames
[] = {
18786 (char *) "self", NULL
18789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18800 resultobj
= wxPyMake_wxObject(result
);
18808 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18811 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18813 return Py_BuildValue((char *)"");
18815 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18817 wxWindow
*arg1
= (wxWindow
*) NULL
;
18818 wxWindowDestroyEvent
*result
;
18819 PyObject
* obj0
= 0 ;
18820 char *kwnames
[] = {
18821 (char *) "win", NULL
18824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18831 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18833 wxPyEndAllowThreads(__tstate
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18843 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18847 PyObject
* obj0
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18863 resultobj
= wxPyMake_wxObject(result
);
18871 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18874 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18876 return Py_BuildValue((char *)"");
18878 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18879 PyObject
*resultobj
;
18880 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18881 int arg2
= (int) 0 ;
18882 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18883 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18884 wxContextMenuEvent
*result
;
18886 PyObject
* obj0
= 0 ;
18887 PyObject
* obj1
= 0 ;
18888 PyObject
* obj2
= 0 ;
18889 char *kwnames
[] = {
18890 (char *) "type",(char *) "winid",(char *) "pt", NULL
18893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18895 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18899 arg2
= (int) SWIG_AsInt(obj1
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18905 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18922 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18923 PyObject
*resultobj
;
18924 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18926 PyObject
* obj0
= 0 ;
18927 char *kwnames
[] = {
18928 (char *) "self", NULL
18931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18938 result
= (wxPoint
*) &_result_ref
;
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18951 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18954 wxPoint
*arg2
= 0 ;
18956 PyObject
* obj0
= 0 ;
18957 PyObject
* obj1
= 0 ;
18958 char *kwnames
[] = {
18959 (char *) "self",(char *) "pos", NULL
18962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18967 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18973 wxPyEndAllowThreads(__tstate
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18976 Py_INCREF(Py_None
); resultobj
= Py_None
;
18983 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18986 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18988 return Py_BuildValue((char *)"");
18990 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18991 PyObject
*resultobj
;
18992 wxIdleEvent
*result
;
18993 char *kwnames
[] = {
18997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19000 result
= (wxIdleEvent
*)new wxIdleEvent();
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19012 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19014 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19015 bool arg2
= (bool) True
;
19016 PyObject
* obj0
= 0 ;
19017 PyObject
* obj1
= 0 ;
19018 char *kwnames
[] = {
19019 (char *) "self",(char *) "needMore", NULL
19022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19026 arg2
= (bool) SWIG_AsBool(obj1
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 (arg1
)->RequestMore(arg2
);
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 Py_INCREF(Py_None
); resultobj
= Py_None
;
19043 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
;
19045 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19047 PyObject
* obj0
= 0 ;
19048 char *kwnames
[] = {
19049 (char *) "self", NULL
19052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19057 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19059 wxPyEndAllowThreads(__tstate
);
19060 if (PyErr_Occurred()) SWIG_fail
;
19063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19071 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19072 PyObject
*resultobj
;
19074 PyObject
* obj0
= 0 ;
19075 char *kwnames
[] = {
19076 (char *) "mode", NULL
19079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19080 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19089 Py_INCREF(Py_None
); resultobj
= Py_None
;
19096 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19099 char *kwnames
[] = {
19103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19106 result
= (int)wxIdleEvent::GetMode();
19108 wxPyEndAllowThreads(__tstate
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19111 resultobj
= SWIG_FromInt((int)result
);
19118 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19119 PyObject
*resultobj
;
19120 wxWindow
*arg1
= (wxWindow
*) 0 ;
19122 PyObject
* obj0
= 0 ;
19123 char *kwnames
[] = {
19124 (char *) "win", NULL
19127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19132 result
= (bool)wxIdleEvent::CanSend(arg1
);
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19146 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19149 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19151 return Py_BuildValue((char *)"");
19153 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
;
19155 int arg1
= (int) 0 ;
19156 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19158 PyObject
* obj0
= 0 ;
19159 PyObject
* obj1
= 0 ;
19160 char *kwnames
[] = {
19161 (char *) "winid",(char *) "commandType", NULL
19164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19166 arg1
= (int) SWIG_AsInt(obj0
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19170 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19175 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19177 wxPyEndAllowThreads(__tstate
);
19178 if (PyErr_Occurred()) SWIG_fail
;
19180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19187 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19188 PyObject
*resultobj
;
19189 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 wxPyEndAllowThreads(__tstate
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19205 Py_INCREF(Py_None
); resultobj
= Py_None
;
19212 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
;
19214 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19215 PyObject
*arg2
= (PyObject
*) 0 ;
19216 PyObject
* obj0
= 0 ;
19217 PyObject
* obj1
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "self",(char *) "self", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 (arg1
)->SetSelf(arg2
);
19230 wxPyEndAllowThreads(__tstate
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19233 Py_INCREF(Py_None
); resultobj
= Py_None
;
19240 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19241 PyObject
*resultobj
;
19242 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19244 PyObject
* obj0
= 0 ;
19245 char *kwnames
[] = {
19246 (char *) "self", NULL
19249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19254 result
= (PyObject
*)(arg1
)->GetSelf();
19256 wxPyEndAllowThreads(__tstate
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19259 resultobj
= result
;
19266 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19269 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19271 return Py_BuildValue((char *)"");
19273 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19274 PyObject
*resultobj
;
19275 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19276 int arg2
= (int) 0 ;
19277 wxPyCommandEvent
*result
;
19278 PyObject
* obj0
= 0 ;
19279 PyObject
* obj1
= 0 ;
19280 char *kwnames
[] = {
19281 (char *) "commandType",(char *) "id", NULL
19284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19286 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19290 arg2
= (int) SWIG_AsInt(obj1
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19295 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19297 wxPyEndAllowThreads(__tstate
);
19298 if (PyErr_Occurred()) SWIG_fail
;
19300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19307 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
;
19309 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19310 PyObject
* obj0
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 Py_INCREF(Py_None
); resultobj
= Py_None
;
19332 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
;
19334 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19335 PyObject
*arg2
= (PyObject
*) 0 ;
19336 PyObject
* obj0
= 0 ;
19337 PyObject
* obj1
= 0 ;
19338 char *kwnames
[] = {
19339 (char *) "self",(char *) "self", NULL
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 (arg1
)->SetSelf(arg2
);
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 Py_INCREF(Py_None
); resultobj
= Py_None
;
19360 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
;
19362 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19364 PyObject
* obj0
= 0 ;
19365 char *kwnames
[] = {
19366 (char *) "self", NULL
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 result
= (PyObject
*)(arg1
)->GetSelf();
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19379 resultobj
= result
;
19386 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19389 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19391 return Py_BuildValue((char *)"");
19393 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
;
19396 char *kwnames
[] = {
19400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19403 result
= (wxPyApp
*)new_wxPyApp();
19405 wxPyEndAllowThreads(__tstate
);
19406 if (PyErr_Occurred()) SWIG_fail
;
19409 resultobj
= wxPyMake_wxObject(result
);
19417 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19418 PyObject
*resultobj
;
19419 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19420 PyObject
* obj0
= 0 ;
19421 char *kwnames
[] = {
19422 (char *) "self", NULL
19425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 wxPyEndAllowThreads(__tstate
);
19433 if (PyErr_Occurred()) SWIG_fail
;
19435 Py_INCREF(Py_None
); resultobj
= Py_None
;
19442 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19443 PyObject
*resultobj
;
19444 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19445 PyObject
*arg2
= (PyObject
*) 0 ;
19446 PyObject
*arg3
= (PyObject
*) 0 ;
19447 PyObject
* obj0
= 0 ;
19448 PyObject
* obj1
= 0 ;
19449 PyObject
* obj2
= 0 ;
19450 char *kwnames
[] = {
19451 (char *) "self",(char *) "self",(char *) "_class", NULL
19454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19466 Py_INCREF(Py_None
); resultobj
= Py_None
;
19473 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
;
19475 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19477 PyObject
* obj0
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "self", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19496 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19505 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
;
19507 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19508 wxString
*arg2
= 0 ;
19509 bool temp2
= False
;
19510 PyObject
* obj0
= 0 ;
19511 PyObject
* obj1
= 0 ;
19512 char *kwnames
[] = {
19513 (char *) "self",(char *) "name", NULL
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19520 arg2
= wxString_in_helper(obj1
);
19521 if (arg2
== NULL
) SWIG_fail
;
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 (arg1
)->SetAppName((wxString
const &)*arg2
);
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19531 Py_INCREF(Py_None
); resultobj
= Py_None
;
19546 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19547 PyObject
*resultobj
;
19548 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19550 PyObject
* obj0
= 0 ;
19551 char *kwnames
[] = {
19552 (char *) "self", NULL
19555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19562 wxPyEndAllowThreads(__tstate
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19578 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19579 PyObject
*resultobj
;
19580 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19581 wxString
*arg2
= 0 ;
19582 bool temp2
= False
;
19583 PyObject
* obj0
= 0 ;
19584 PyObject
* obj1
= 0 ;
19585 char *kwnames
[] = {
19586 (char *) "self",(char *) "name", NULL
19589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19593 arg2
= wxString_in_helper(obj1
);
19594 if (arg2
== NULL
) SWIG_fail
;
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 (arg1
)->SetClassName((wxString
const &)*arg2
);
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 Py_INCREF(Py_None
); resultobj
= Py_None
;
19619 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
;
19621 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19623 PyObject
* obj0
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "self", NULL
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19635 result
= (wxString
*) &_result_ref
;
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19643 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19645 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19654 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19655 PyObject
*resultobj
;
19656 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19657 wxString
*arg2
= 0 ;
19658 bool temp2
= False
;
19659 PyObject
* obj0
= 0 ;
19660 PyObject
* obj1
= 0 ;
19661 char *kwnames
[] = {
19662 (char *) "self",(char *) "name", NULL
19665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19669 arg2
= wxString_in_helper(obj1
);
19670 if (arg2
== NULL
) SWIG_fail
;
19674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19675 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19677 wxPyEndAllowThreads(__tstate
);
19678 if (PyErr_Occurred()) SWIG_fail
;
19680 Py_INCREF(Py_None
); resultobj
= Py_None
;
19695 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19696 PyObject
*resultobj
;
19697 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19698 wxAppTraits
*result
;
19699 PyObject
* obj0
= 0 ;
19700 char *kwnames
[] = {
19701 (char *) "self", NULL
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19721 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19722 PyObject
*resultobj
;
19723 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19724 PyObject
* obj0
= 0 ;
19725 char *kwnames
[] = {
19726 (char *) "self", NULL
19729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 (arg1
)->ProcessPendingEvents();
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19739 Py_INCREF(Py_None
); resultobj
= Py_None
;
19746 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
;
19748 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19749 bool arg2
= (bool) False
;
19751 PyObject
* obj0
= 0 ;
19752 PyObject
* obj1
= 0 ;
19753 char *kwnames
[] = {
19754 (char *) "self",(char *) "onlyIfNeeded", NULL
19757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19761 arg2
= (bool) SWIG_AsBool(obj1
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19766 result
= (bool)(arg1
)->Yield(arg2
);
19768 wxPyEndAllowThreads(__tstate
);
19769 if (PyErr_Occurred()) SWIG_fail
;
19772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19780 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19781 PyObject
*resultobj
;
19782 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19783 PyObject
* obj0
= 0 ;
19784 char *kwnames
[] = {
19785 (char *) "self", NULL
19788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 (arg1
)->WakeUpIdle();
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19798 Py_INCREF(Py_None
); resultobj
= Py_None
;
19805 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
;
19807 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19809 PyObject
* obj0
= 0 ;
19810 char *kwnames
[] = {
19811 (char *) "self", NULL
19814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",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 result
= (int)(arg1
)->MainLoop();
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19824 resultobj
= SWIG_FromInt((int)result
);
19831 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
;
19833 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19834 PyObject
* obj0
= 0 ;
19835 char *kwnames
[] = {
19836 (char *) "self", NULL
19839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 wxPyEndAllowThreads(__tstate
);
19847 if (PyErr_Occurred()) SWIG_fail
;
19849 Py_INCREF(Py_None
); resultobj
= Py_None
;
19856 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19857 PyObject
*resultobj
;
19858 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19859 PyObject
* obj0
= 0 ;
19860 char *kwnames
[] = {
19861 (char *) "self", NULL
19864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 (arg1
)->ExitMainLoop();
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19874 Py_INCREF(Py_None
); resultobj
= Py_None
;
19881 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19882 PyObject
*resultobj
;
19883 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19885 PyObject
* obj0
= 0 ;
19886 char *kwnames
[] = {
19887 (char *) "self", NULL
19890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19895 result
= (bool)(arg1
)->Pending();
19897 wxPyEndAllowThreads(__tstate
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19909 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
;
19911 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19913 PyObject
* obj0
= 0 ;
19914 char *kwnames
[] = {
19915 (char *) "self", NULL
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 result
= (bool)(arg1
)->Dispatch();
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19937 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
;
19939 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19941 PyObject
* obj0
= 0 ;
19942 char *kwnames
[] = {
19943 (char *) "self", NULL
19946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 result
= (bool)(arg1
)->ProcessIdle();
19953 wxPyEndAllowThreads(__tstate
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19965 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19966 PyObject
*resultobj
;
19967 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19968 wxWindow
*arg2
= (wxWindow
*) 0 ;
19969 wxIdleEvent
*arg3
= 0 ;
19971 PyObject
* obj0
= 0 ;
19972 PyObject
* obj1
= 0 ;
19973 PyObject
* obj2
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self",(char *) "win",(char *) "event", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19983 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19986 if (arg3
== NULL
) {
19987 PyErr_SetString(PyExc_TypeError
,"null reference");
19991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19992 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19994 wxPyEndAllowThreads(__tstate
);
19995 if (PyErr_Occurred()) SWIG_fail
;
19998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20006 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20007 PyObject
*resultobj
;
20008 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20010 PyObject
* obj0
= 0 ;
20011 char *kwnames
[] = {
20012 (char *) "self", NULL
20015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20034 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20035 PyObject
*resultobj
;
20036 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20037 wxWindow
*arg2
= (wxWindow
*) 0 ;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20040 char *kwnames
[] = {
20041 (char *) "self",(char *) "win", NULL
20044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20051 (arg1
)->SetTopWindow(arg2
);
20053 wxPyEndAllowThreads(__tstate
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20056 Py_INCREF(Py_None
); resultobj
= Py_None
;
20063 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
;
20065 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20067 PyObject
* obj0
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20079 wxPyEndAllowThreads(__tstate
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20083 resultobj
= wxPyMake_wxObject(result
);
20091 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20092 PyObject
*resultobj
;
20093 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20095 PyObject
* obj0
= 0 ;
20096 PyObject
* obj1
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "self",(char *) "flag", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20104 arg2
= (bool) SWIG_AsBool(obj1
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 (arg1
)->SetExitOnFrameDelete(arg2
);
20110 wxPyEndAllowThreads(__tstate
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20113 Py_INCREF(Py_None
); resultobj
= Py_None
;
20120 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
;
20122 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20124 PyObject
* obj0
= 0 ;
20125 char *kwnames
[] = {
20126 (char *) "self", NULL
20129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20148 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20152 PyObject
* obj0
= 0 ;
20153 PyObject
* obj1
= 0 ;
20154 char *kwnames
[] = {
20155 (char *) "self",(char *) "flag", NULL
20158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20161 arg2
= (bool) SWIG_AsBool(obj1
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20165 (arg1
)->SetUseBestVisual(arg2
);
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20170 Py_INCREF(Py_None
); resultobj
= Py_None
;
20177 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20178 PyObject
*resultobj
;
20179 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20181 PyObject
* obj0
= 0 ;
20182 char *kwnames
[] = {
20183 (char *) "self", NULL
20186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20205 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
;
20207 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20209 PyObject
* obj0
= 0 ;
20210 PyObject
* obj1
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self",(char *) "mode", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20218 arg2
= (int) SWIG_AsInt(obj1
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 (arg1
)->SetPrintMode(arg2
);
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20227 Py_INCREF(Py_None
); resultobj
= Py_None
;
20234 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
;
20236 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20238 PyObject
* obj0
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20248 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20253 resultobj
= SWIG_FromInt((int)result
);
20260 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
;
20262 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20264 PyObject
* obj0
= 0 ;
20265 PyObject
* obj1
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self",(char *) "mode", NULL
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20273 arg2
= (int) SWIG_AsInt(obj1
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 (arg1
)->SetAssertMode(arg2
);
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20282 Py_INCREF(Py_None
); resultobj
= Py_None
;
20289 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20291 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 result
= (int)(arg1
)->GetAssertMode();
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= SWIG_FromInt((int)result
);
20315 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
;
20318 char *kwnames
[] = {
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20325 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20327 wxPyEndAllowThreads(__tstate
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20339 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
;
20342 char *kwnames
[] = {
20346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20349 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20351 wxPyEndAllowThreads(__tstate
);
20352 if (PyErr_Occurred()) SWIG_fail
;
20354 resultobj
= SWIG_FromLong((long)result
);
20361 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
;
20364 char *kwnames
[] = {
20368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20371 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20373 wxPyEndAllowThreads(__tstate
);
20374 if (PyErr_Occurred()) SWIG_fail
;
20376 resultobj
= SWIG_FromLong((long)result
);
20383 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20384 PyObject
*resultobj
;
20386 char *kwnames
[] = {
20390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 result
= (long)wxPyApp::GetMacExitMenuItemId();
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20398 resultobj
= SWIG_FromLong((long)result
);
20405 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
;
20408 char *kwnames
[] = {
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 result
= wxPyApp::GetMacHelpMenuTitleName();
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20433 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(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_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20442 arg1
= (bool) SWIG_AsBool(obj0
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 Py_INCREF(Py_None
); resultobj
= Py_None
;
20458 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(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_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20467 arg1
= (long) SWIG_AsLong(obj0
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20471 wxPyApp::SetMacAboutMenuItemId(arg1
);
20473 wxPyEndAllowThreads(__tstate
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20476 Py_INCREF(Py_None
); resultobj
= Py_None
;
20483 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20484 PyObject
*resultobj
;
20486 PyObject
* obj0
= 0 ;
20487 char *kwnames
[] = {
20488 (char *) "val", NULL
20491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20492 arg1
= (long) SWIG_AsLong(obj0
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20498 wxPyEndAllowThreads(__tstate
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20501 Py_INCREF(Py_None
); resultobj
= Py_None
;
20508 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20509 PyObject
*resultobj
;
20511 PyObject
* obj0
= 0 ;
20512 char *kwnames
[] = {
20513 (char *) "val", NULL
20516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20517 arg1
= (long) SWIG_AsLong(obj0
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 wxPyApp::SetMacExitMenuItemId(arg1
);
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20526 Py_INCREF(Py_None
); resultobj
= Py_None
;
20533 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20534 PyObject
*resultobj
;
20535 wxString
*arg1
= 0 ;
20536 bool temp1
= False
;
20537 PyObject
* obj0
= 0 ;
20538 char *kwnames
[] = {
20539 (char *) "val", NULL
20542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20544 arg1
= wxString_in_helper(obj0
);
20545 if (arg1
== NULL
) SWIG_fail
;
20549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20550 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20552 wxPyEndAllowThreads(__tstate
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20555 Py_INCREF(Py_None
); resultobj
= Py_None
;
20570 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
;
20572 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20573 PyObject
* obj0
= 0 ;
20574 char *kwnames
[] = {
20575 (char *) "self", NULL
20578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20583 (arg1
)->_BootstrapApp();
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20588 Py_INCREF(Py_None
); resultobj
= Py_None
;
20595 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
;
20598 char *kwnames
[] = {
20602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 result
= (int)wxPyApp::GetComCtl32Version();
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20610 resultobj
= SWIG_FromInt((int)result
);
20617 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20620 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20622 return Py_BuildValue((char *)"");
20624 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
;
20626 char *kwnames
[] = {
20630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20638 Py_INCREF(Py_None
); resultobj
= Py_None
;
20645 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20646 PyObject
*resultobj
;
20648 char *kwnames
[] = {
20652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= (bool)wxYield();
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20669 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
;
20672 char *kwnames
[] = {
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20679 result
= (bool)wxYieldIfNeeded();
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20693 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
;
20695 wxWindow
*arg1
= (wxWindow
*) NULL
;
20696 bool arg2
= (bool) False
;
20698 PyObject
* obj0
= 0 ;
20699 PyObject
* obj1
= 0 ;
20700 char *kwnames
[] = {
20701 (char *) "win",(char *) "onlyIfNeeded", NULL
20704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20710 arg2
= (bool) SWIG_AsBool(obj1
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 result
= (bool)wxSafeYield(arg1
,arg2
);
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20729 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20730 PyObject
*resultobj
;
20731 char *kwnames
[] = {
20735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20743 Py_INCREF(Py_None
); resultobj
= Py_None
;
20750 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
;
20752 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20753 wxEvent
*arg2
= 0 ;
20754 PyObject
* obj0
= 0 ;
20755 PyObject
* obj1
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "dest",(char *) "event", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20766 if (arg2
== NULL
) {
20767 PyErr_SetString(PyExc_TypeError
,"null reference");
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 wxPostEvent(arg1
,*arg2
);
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20777 Py_INCREF(Py_None
); resultobj
= Py_None
;
20784 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 char *kwnames
[] = {
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20798 Py_INCREF(Py_None
); resultobj
= Py_None
;
20805 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20806 PyObject
*resultobj
;
20808 char *kwnames
[] = {
20812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20815 result
= (wxPyApp
*)wxPyGetApp();
20817 wxPyEndAllowThreads(__tstate
);
20818 if (PyErr_Occurred()) SWIG_fail
;
20821 resultobj
= wxPyMake_wxObject(result
);
20829 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20830 PyObject
*resultobj
;
20831 int arg1
= (int) 0 ;
20832 int arg2
= (int) 0 ;
20833 int arg3
= (int) 0 ;
20834 wxAcceleratorEntry
*result
;
20835 PyObject
* obj0
= 0 ;
20836 PyObject
* obj1
= 0 ;
20837 PyObject
* obj2
= 0 ;
20838 char *kwnames
[] = {
20839 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20844 arg1
= (int) SWIG_AsInt(obj0
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20848 arg2
= (int) SWIG_AsInt(obj1
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20852 arg3
= (int) SWIG_AsInt(obj2
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20857 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20869 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
;
20871 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20872 PyObject
* obj0
= 0 ;
20873 char *kwnames
[] = {
20874 (char *) "self", NULL
20877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 Py_INCREF(Py_None
); resultobj
= Py_None
;
20894 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20896 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20900 PyObject
* obj0
= 0 ;
20901 PyObject
* obj1
= 0 ;
20902 PyObject
* obj2
= 0 ;
20903 PyObject
* obj3
= 0 ;
20904 char *kwnames
[] = {
20905 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20911 arg2
= (int) SWIG_AsInt(obj1
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20913 arg3
= (int) SWIG_AsInt(obj2
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20915 arg4
= (int) SWIG_AsInt(obj3
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 (arg1
)->Set(arg2
,arg3
,arg4
);
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20924 Py_INCREF(Py_None
); resultobj
= Py_None
;
20931 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
;
20933 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20935 PyObject
* obj0
= 0 ;
20936 char *kwnames
[] = {
20937 (char *) "self", NULL
20940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 result
= (int)(arg1
)->GetFlags();
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20950 resultobj
= SWIG_FromInt((int)result
);
20957 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20958 PyObject
*resultobj
;
20959 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20961 PyObject
* obj0
= 0 ;
20962 char *kwnames
[] = {
20963 (char *) "self", NULL
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= (int)(arg1
)->GetKeyCode();
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20976 resultobj
= SWIG_FromInt((int)result
);
20983 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20984 PyObject
*resultobj
;
20985 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20987 PyObject
* obj0
= 0 ;
20988 char *kwnames
[] = {
20989 (char *) "self", NULL
20992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 result
= (int)(arg1
)->GetCommand();
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= SWIG_FromInt((int)result
);
21009 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
21011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21012 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21014 return Py_BuildValue((char *)"");
21016 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
;
21019 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21020 wxAcceleratorTable
*result
;
21021 PyObject
* obj0
= 0 ;
21022 char *kwnames
[] = {
21026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21028 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21029 if (arg2
) arg1
= PyList_Size(obj0
);
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21052 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
;
21054 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21055 PyObject
* obj0
= 0 ;
21056 char *kwnames
[] = {
21057 (char *) "self", NULL
21060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 wxPyEndAllowThreads(__tstate
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21070 Py_INCREF(Py_None
); resultobj
= Py_None
;
21077 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21078 PyObject
*resultobj
;
21079 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21081 PyObject
* obj0
= 0 ;
21082 char *kwnames
[] = {
21083 (char *) "self", NULL
21086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21105 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21108 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21110 return Py_BuildValue((char *)"");
21112 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21113 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21118 static PyObject
*_wrap_NullAcceleratorTable_get() {
21121 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21126 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
;
21128 wxString
*arg1
= 0 ;
21129 wxAcceleratorEntry
*result
;
21130 bool temp1
= False
;
21131 PyObject
* obj0
= 0 ;
21132 char *kwnames
[] = {
21133 (char *) "label", NULL
21136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21138 arg1
= wxString_in_helper(obj0
);
21139 if (arg1
== NULL
) SWIG_fail
;
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21164 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21165 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21170 static PyObject
*_wrap_PanelNameStr_get() {
21175 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21177 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21184 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
;
21186 wxVisualAttributes
*result
;
21187 char *kwnames
[] = {
21191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21194 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21196 wxPyEndAllowThreads(__tstate
);
21197 if (PyErr_Occurred()) SWIG_fail
;
21199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21206 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21209 PyObject
* obj0
= 0 ;
21210 char *kwnames
[] = {
21211 (char *) "self", NULL
21214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21219 delete_wxVisualAttributes(arg1
);
21221 wxPyEndAllowThreads(__tstate
);
21222 if (PyErr_Occurred()) SWIG_fail
;
21224 Py_INCREF(Py_None
); resultobj
= Py_None
;
21231 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21232 PyObject
*resultobj
;
21233 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21234 wxFont
*arg2
= (wxFont
*) 0 ;
21235 PyObject
* obj0
= 0 ;
21236 PyObject
* obj1
= 0 ;
21237 char *kwnames
[] = {
21238 (char *) "self",(char *) "font", NULL
21241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21246 if (arg1
) (arg1
)->font
= *arg2
;
21248 Py_INCREF(Py_None
); resultobj
= Py_None
;
21255 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
;
21257 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21259 PyObject
* obj0
= 0 ;
21260 char *kwnames
[] = {
21261 (char *) "self", NULL
21264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21267 result
= (wxFont
*)& ((arg1
)->font
);
21269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21276 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
;
21278 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21279 wxColour
*arg2
= (wxColour
*) 0 ;
21280 PyObject
* obj0
= 0 ;
21281 PyObject
* obj1
= 0 ;
21282 char *kwnames
[] = {
21283 (char *) "self",(char *) "colFg", NULL
21286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21291 if (arg1
) (arg1
)->colFg
= *arg2
;
21293 Py_INCREF(Py_None
); resultobj
= Py_None
;
21300 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21301 PyObject
*resultobj
;
21302 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21304 PyObject
* obj0
= 0 ;
21305 char *kwnames
[] = {
21306 (char *) "self", NULL
21309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21312 result
= (wxColour
*)& ((arg1
)->colFg
);
21314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21321 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21322 PyObject
*resultobj
;
21323 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21324 wxColour
*arg2
= (wxColour
*) 0 ;
21325 PyObject
* obj0
= 0 ;
21326 PyObject
* obj1
= 0 ;
21327 char *kwnames
[] = {
21328 (char *) "self",(char *) "colBg", NULL
21331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21336 if (arg1
) (arg1
)->colBg
= *arg2
;
21338 Py_INCREF(Py_None
); resultobj
= Py_None
;
21345 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21346 PyObject
*resultobj
;
21347 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21349 PyObject
* obj0
= 0 ;
21350 char *kwnames
[] = {
21351 (char *) "self", NULL
21354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21357 result
= (wxColour
*)& ((arg1
)->colBg
);
21359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21366 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21369 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21371 return Py_BuildValue((char *)"");
21373 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21375 wxWindow
*arg1
= (wxWindow
*) 0 ;
21376 int arg2
= (int) (int)-1 ;
21377 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21378 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21379 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21380 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21381 long arg5
= (long) 0 ;
21382 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21383 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21387 bool temp6
= False
;
21388 PyObject
* obj0
= 0 ;
21389 PyObject
* obj1
= 0 ;
21390 PyObject
* obj2
= 0 ;
21391 PyObject
* obj3
= 0 ;
21392 PyObject
* obj4
= 0 ;
21393 PyObject
* obj5
= 0 ;
21394 char *kwnames
[] = {
21395 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21402 arg2
= (int const) SWIG_AsInt(obj1
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21408 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21414 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21418 arg5
= (long) SWIG_AsLong(obj4
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21423 arg6
= wxString_in_helper(obj5
);
21424 if (arg6
== NULL
) SWIG_fail
;
21429 if (!wxPyCheckForApp()) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21437 resultobj
= wxPyMake_wxObject(result
);
21453 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21454 PyObject
*resultobj
;
21456 char *kwnames
[] = {
21460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21462 if (!wxPyCheckForApp()) SWIG_fail
;
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 result
= (wxWindow
*)new wxWindow();
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21470 resultobj
= wxPyMake_wxObject(result
);
21478 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21479 PyObject
*resultobj
;
21480 wxWindow
*arg1
= (wxWindow
*) 0 ;
21481 wxWindow
*arg2
= (wxWindow
*) 0 ;
21482 int arg3
= (int) (int)-1 ;
21483 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21484 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21485 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21486 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21487 long arg6
= (long) 0 ;
21488 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21489 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21493 bool temp7
= False
;
21494 PyObject
* obj0
= 0 ;
21495 PyObject
* obj1
= 0 ;
21496 PyObject
* obj2
= 0 ;
21497 PyObject
* obj3
= 0 ;
21498 PyObject
* obj4
= 0 ;
21499 PyObject
* obj5
= 0 ;
21500 PyObject
* obj6
= 0 ;
21501 char *kwnames
[] = {
21502 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21511 arg3
= (int const) SWIG_AsInt(obj2
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21517 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21523 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21527 arg6
= (long) SWIG_AsLong(obj5
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21532 arg7
= wxString_in_helper(obj6
);
21533 if (arg7
== NULL
) SWIG_fail
;
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21561 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
;
21563 wxWindow
*arg1
= (wxWindow
*) 0 ;
21564 bool arg2
= (bool) False
;
21566 PyObject
* obj0
= 0 ;
21567 PyObject
* obj1
= 0 ;
21568 char *kwnames
[] = {
21569 (char *) "self",(char *) "force", NULL
21572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21576 arg2
= (bool) SWIG_AsBool(obj1
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 result
= (bool)(arg1
)->Close(arg2
);
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21595 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21596 PyObject
*resultobj
;
21597 wxWindow
*arg1
= (wxWindow
*) 0 ;
21599 PyObject
* obj0
= 0 ;
21600 char *kwnames
[] = {
21601 (char *) "self", NULL
21604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 result
= (bool)(arg1
)->Destroy();
21611 wxPyEndAllowThreads(__tstate
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21623 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
;
21625 wxWindow
*arg1
= (wxWindow
*) 0 ;
21627 PyObject
* obj0
= 0 ;
21628 char *kwnames
[] = {
21629 (char *) "self", NULL
21632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 result
= (bool)(arg1
)->DestroyChildren();
21639 wxPyEndAllowThreads(__tstate
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21651 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21652 PyObject
*resultobj
;
21653 wxWindow
*arg1
= (wxWindow
*) 0 ;
21655 PyObject
* obj0
= 0 ;
21656 char *kwnames
[] = {
21657 (char *) "self", NULL
21660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21679 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
;
21681 wxWindow
*arg1
= (wxWindow
*) 0 ;
21682 wxString
*arg2
= 0 ;
21683 bool temp2
= False
;
21684 PyObject
* obj0
= 0 ;
21685 PyObject
* obj1
= 0 ;
21686 char *kwnames
[] = {
21687 (char *) "self",(char *) "title", NULL
21690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21694 arg2
= wxString_in_helper(obj1
);
21695 if (arg2
== NULL
) SWIG_fail
;
21699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21700 (arg1
)->SetTitle((wxString
const &)*arg2
);
21702 wxPyEndAllowThreads(__tstate
);
21703 if (PyErr_Occurred()) SWIG_fail
;
21705 Py_INCREF(Py_None
); resultobj
= Py_None
;
21720 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21721 PyObject
*resultobj
;
21722 wxWindow
*arg1
= (wxWindow
*) 0 ;
21724 PyObject
* obj0
= 0 ;
21725 char *kwnames
[] = {
21726 (char *) "self", NULL
21729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 result
= ((wxWindow
const *)arg1
)->GetTitle();
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21752 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
;
21754 wxWindow
*arg1
= (wxWindow
*) 0 ;
21755 wxString
*arg2
= 0 ;
21756 bool temp2
= False
;
21757 PyObject
* obj0
= 0 ;
21758 PyObject
* obj1
= 0 ;
21759 char *kwnames
[] = {
21760 (char *) "self",(char *) "label", NULL
21763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21767 arg2
= wxString_in_helper(obj1
);
21768 if (arg2
== NULL
) SWIG_fail
;
21772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21773 (arg1
)->SetLabel((wxString
const &)*arg2
);
21775 wxPyEndAllowThreads(__tstate
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21778 Py_INCREF(Py_None
); resultobj
= Py_None
;
21793 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
;
21795 wxWindow
*arg1
= (wxWindow
*) 0 ;
21797 PyObject
* obj0
= 0 ;
21798 char *kwnames
[] = {
21799 (char *) "self", NULL
21802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 result
= ((wxWindow
const *)arg1
)->GetLabel();
21809 wxPyEndAllowThreads(__tstate
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21825 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21826 PyObject
*resultobj
;
21827 wxWindow
*arg1
= (wxWindow
*) 0 ;
21828 wxString
*arg2
= 0 ;
21829 bool temp2
= False
;
21830 PyObject
* obj0
= 0 ;
21831 PyObject
* obj1
= 0 ;
21832 char *kwnames
[] = {
21833 (char *) "self",(char *) "name", NULL
21836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21840 arg2
= wxString_in_helper(obj1
);
21841 if (arg2
== NULL
) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 (arg1
)->SetName((wxString
const &)*arg2
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 Py_INCREF(Py_None
); resultobj
= Py_None
;
21866 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
;
21868 wxWindow
*arg1
= (wxWindow
*) 0 ;
21870 PyObject
* obj0
= 0 ;
21871 char *kwnames
[] = {
21872 (char *) "self", NULL
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21880 result
= ((wxWindow
const *)arg1
)->GetName();
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21889 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21898 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
;
21900 wxWindow
*arg1
= (wxWindow
*) 0 ;
21902 PyObject
* obj0
= 0 ;
21903 PyObject
* obj1
= 0 ;
21904 char *kwnames
[] = {
21905 (char *) "self",(char *) "variant", NULL
21908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21911 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21920 Py_INCREF(Py_None
); resultobj
= Py_None
;
21927 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21928 PyObject
*resultobj
;
21929 wxWindow
*arg1
= (wxWindow
*) 0 ;
21931 PyObject
* obj0
= 0 ;
21932 char *kwnames
[] = {
21933 (char *) "self", NULL
21936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21946 resultobj
= SWIG_FromInt((int)result
);
21953 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21954 PyObject
*resultobj
;
21955 wxWindow
*arg1
= (wxWindow
*) 0 ;
21957 PyObject
* obj0
= 0 ;
21958 PyObject
* obj1
= 0 ;
21959 char *kwnames
[] = {
21960 (char *) "self",(char *) "winid", NULL
21963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21966 arg2
= (int) SWIG_AsInt(obj1
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 (arg1
)->SetId(arg2
);
21972 wxPyEndAllowThreads(__tstate
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21975 Py_INCREF(Py_None
); resultobj
= Py_None
;
21982 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21983 PyObject
*resultobj
;
21984 wxWindow
*arg1
= (wxWindow
*) 0 ;
21986 PyObject
* obj0
= 0 ;
21987 char *kwnames
[] = {
21988 (char *) "self", NULL
21991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21996 result
= (int)((wxWindow
const *)arg1
)->GetId();
21998 wxPyEndAllowThreads(__tstate
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22001 resultobj
= SWIG_FromInt((int)result
);
22008 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22009 PyObject
*resultobj
;
22011 char *kwnames
[] = {
22015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22018 result
= (int)wxWindow::NewControlId();
22020 wxPyEndAllowThreads(__tstate
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22023 resultobj
= SWIG_FromInt((int)result
);
22030 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22031 PyObject
*resultobj
;
22034 PyObject
* obj0
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "winid", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22040 arg1
= (int) SWIG_AsInt(obj0
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= (int)wxWindow::NextControlId(arg1
);
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 resultobj
= SWIG_FromInt((int)result
);
22056 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22057 PyObject
*resultobj
;
22060 PyObject
* obj0
= 0 ;
22061 char *kwnames
[] = {
22062 (char *) "winid", NULL
22065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22066 arg1
= (int) SWIG_AsInt(obj0
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22070 result
= (int)wxWindow::PrevControlId(arg1
);
22072 wxPyEndAllowThreads(__tstate
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22075 resultobj
= SWIG_FromInt((int)result
);
22082 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22083 PyObject
*resultobj
;
22084 wxWindow
*arg1
= (wxWindow
*) 0 ;
22087 PyObject
* obj0
= 0 ;
22088 PyObject
* obj1
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "self",(char *) "size", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22098 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22102 (arg1
)->SetSize((wxSize
const &)*arg2
);
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22107 Py_INCREF(Py_None
); resultobj
= Py_None
;
22114 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
;
22116 wxWindow
*arg1
= (wxWindow
*) 0 ;
22121 int arg6
= (int) wxSIZE_AUTO
;
22122 PyObject
* obj0
= 0 ;
22123 PyObject
* obj1
= 0 ;
22124 PyObject
* obj2
= 0 ;
22125 PyObject
* obj3
= 0 ;
22126 PyObject
* obj4
= 0 ;
22127 PyObject
* obj5
= 0 ;
22128 char *kwnames
[] = {
22129 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22135 arg2
= (int) SWIG_AsInt(obj1
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22137 arg3
= (int) SWIG_AsInt(obj2
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22139 arg4
= (int) SWIG_AsInt(obj3
);
22140 if (PyErr_Occurred()) SWIG_fail
;
22141 arg5
= (int) SWIG_AsInt(obj4
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22144 arg6
= (int) SWIG_AsInt(obj5
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22154 Py_INCREF(Py_None
); resultobj
= Py_None
;
22161 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
;
22163 wxWindow
*arg1
= (wxWindow
*) 0 ;
22165 int arg3
= (int) wxSIZE_AUTO
;
22167 PyObject
* obj0
= 0 ;
22168 PyObject
* obj1
= 0 ;
22169 PyObject
* obj2
= 0 ;
22170 char *kwnames
[] = {
22171 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22179 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22182 arg3
= (int) SWIG_AsInt(obj2
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22192 Py_INCREF(Py_None
); resultobj
= Py_None
;
22199 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22200 PyObject
*resultobj
;
22201 wxWindow
*arg1
= (wxWindow
*) 0 ;
22204 PyObject
* obj0
= 0 ;
22205 PyObject
* obj1
= 0 ;
22206 PyObject
* obj2
= 0 ;
22207 char *kwnames
[] = {
22208 (char *) "self",(char *) "width",(char *) "height", NULL
22211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22214 arg2
= (int) SWIG_AsInt(obj1
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22216 arg3
= (int) SWIG_AsInt(obj2
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 (arg1
)->SetSize(arg2
,arg3
);
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22225 Py_INCREF(Py_None
); resultobj
= Py_None
;
22232 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxWindow
*arg1
= (wxWindow
*) 0 ;
22235 wxPoint
*arg2
= 0 ;
22236 int arg3
= (int) wxSIZE_USE_EXISTING
;
22238 PyObject
* obj0
= 0 ;
22239 PyObject
* obj1
= 0 ;
22240 PyObject
* obj2
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "self",(char *) "pt",(char *) "flags", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22250 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22253 arg3
= (int) SWIG_AsInt(obj2
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22263 Py_INCREF(Py_None
); resultobj
= Py_None
;
22270 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
;
22272 wxWindow
*arg1
= (wxWindow
*) 0 ;
22275 int arg4
= (int) wxSIZE_USE_EXISTING
;
22276 PyObject
* obj0
= 0 ;
22277 PyObject
* obj1
= 0 ;
22278 PyObject
* obj2
= 0 ;
22279 PyObject
* obj3
= 0 ;
22280 char *kwnames
[] = {
22281 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22287 arg2
= (int) SWIG_AsInt(obj1
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22289 arg3
= (int) SWIG_AsInt(obj2
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 arg4
= (int) SWIG_AsInt(obj3
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 (arg1
)->Move(arg2
,arg3
,arg4
);
22299 wxPyEndAllowThreads(__tstate
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22302 Py_INCREF(Py_None
); resultobj
= Py_None
;
22309 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22310 PyObject
*resultobj
;
22311 wxWindow
*arg1
= (wxWindow
*) 0 ;
22312 PyObject
* obj0
= 0 ;
22313 char *kwnames
[] = {
22314 (char *) "self", NULL
22317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 wxPyEndAllowThreads(__tstate
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22327 Py_INCREF(Py_None
); resultobj
= Py_None
;
22334 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22335 PyObject
*resultobj
;
22336 wxWindow
*arg1
= (wxWindow
*) 0 ;
22337 PyObject
* obj0
= 0 ;
22338 char *kwnames
[] = {
22339 (char *) "self", NULL
22342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 wxPyEndAllowThreads(__tstate
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22352 Py_INCREF(Py_None
); resultobj
= Py_None
;
22359 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
;
22361 wxWindow
*arg1
= (wxWindow
*) 0 ;
22364 PyObject
* obj0
= 0 ;
22365 PyObject
* obj1
= 0 ;
22366 char *kwnames
[] = {
22367 (char *) "self",(char *) "size", NULL
22370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22375 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22379 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22384 Py_INCREF(Py_None
); resultobj
= Py_None
;
22391 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22392 PyObject
*resultobj
;
22393 wxWindow
*arg1
= (wxWindow
*) 0 ;
22396 PyObject
* obj0
= 0 ;
22397 PyObject
* obj1
= 0 ;
22398 PyObject
* obj2
= 0 ;
22399 char *kwnames
[] = {
22400 (char *) "self",(char *) "width",(char *) "height", NULL
22403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22406 arg2
= (int) SWIG_AsInt(obj1
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22408 arg3
= (int) SWIG_AsInt(obj2
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 (arg1
)->SetClientSize(arg2
,arg3
);
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 Py_INCREF(Py_None
); resultobj
= Py_None
;
22424 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22426 wxWindow
*arg1
= (wxWindow
*) 0 ;
22429 PyObject
* obj0
= 0 ;
22430 PyObject
* obj1
= 0 ;
22431 char *kwnames
[] = {
22432 (char *) "self",(char *) "rect", NULL
22435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22440 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22449 Py_INCREF(Py_None
); resultobj
= Py_None
;
22456 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxWindow
*arg1
= (wxWindow
*) 0 ;
22460 PyObject
* obj0
= 0 ;
22461 char *kwnames
[] = {
22462 (char *) "self", NULL
22465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 result
= (arg1
)->GetPosition();
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22476 wxPoint
* resultptr
;
22477 resultptr
= new wxPoint((wxPoint
&) result
);
22478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22486 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
;
22488 wxWindow
*arg1
= (wxWindow
*) 0 ;
22489 int *arg2
= (int *) 0 ;
22490 int *arg3
= (int *) 0 ;
22493 PyObject
* obj0
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self", NULL
22500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 (arg1
)->GetPosition(arg2
,arg3
);
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 Py_INCREF(Py_None
); resultobj
= Py_None
;
22512 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22513 resultobj
= t_output_helper(resultobj
,o
);
22516 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22517 resultobj
= t_output_helper(resultobj
,o
);
22525 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 wxWindow
*arg1
= (wxWindow
*) 0 ;
22529 PyObject
* obj0
= 0 ;
22530 char *kwnames
[] = {
22531 (char *) "self", NULL
22534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 result
= ((wxWindow
const *)arg1
)->GetSize();
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22545 wxSize
* resultptr
;
22546 resultptr
= new wxSize((wxSize
&) result
);
22547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22555 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
;
22557 wxWindow
*arg1
= (wxWindow
*) 0 ;
22558 int *arg2
= (int *) 0 ;
22559 int *arg3
= (int *) 0 ;
22562 PyObject
* obj0
= 0 ;
22563 char *kwnames
[] = {
22564 (char *) "self", NULL
22569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22574 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22579 Py_INCREF(Py_None
); resultobj
= Py_None
;
22581 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22582 resultobj
= t_output_helper(resultobj
,o
);
22585 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22586 resultobj
= t_output_helper(resultobj
,o
);
22594 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22596 wxWindow
*arg1
= (wxWindow
*) 0 ;
22598 PyObject
* obj0
= 0 ;
22599 char *kwnames
[] = {
22600 (char *) "self", NULL
22603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 result
= ((wxWindow
const *)arg1
)->GetRect();
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22614 wxRect
* resultptr
;
22615 resultptr
= new wxRect((wxRect
&) result
);
22616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22624 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22625 PyObject
*resultobj
;
22626 wxWindow
*arg1
= (wxWindow
*) 0 ;
22628 PyObject
* obj0
= 0 ;
22629 char *kwnames
[] = {
22630 (char *) "self", NULL
22633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22644 wxSize
* resultptr
;
22645 resultptr
= new wxSize((wxSize
&) result
);
22646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22654 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
;
22656 wxWindow
*arg1
= (wxWindow
*) 0 ;
22657 int *arg2
= (int *) 0 ;
22658 int *arg3
= (int *) 0 ;
22661 PyObject
* obj0
= 0 ;
22662 char *kwnames
[] = {
22663 (char *) "self", NULL
22668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22673 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22675 wxPyEndAllowThreads(__tstate
);
22676 if (PyErr_Occurred()) SWIG_fail
;
22678 Py_INCREF(Py_None
); resultobj
= Py_None
;
22680 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22681 resultobj
= t_output_helper(resultobj
,o
);
22684 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22685 resultobj
= t_output_helper(resultobj
,o
);
22693 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22694 PyObject
*resultobj
;
22695 wxWindow
*arg1
= (wxWindow
*) 0 ;
22697 PyObject
* obj0
= 0 ;
22698 char *kwnames
[] = {
22699 (char *) "self", NULL
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22713 wxPoint
* resultptr
;
22714 resultptr
= new wxPoint((wxPoint
&) result
);
22715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22723 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22724 PyObject
*resultobj
;
22725 wxWindow
*arg1
= (wxWindow
*) 0 ;
22727 PyObject
* obj0
= 0 ;
22728 char *kwnames
[] = {
22729 (char *) "self", NULL
22732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22737 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22739 wxPyEndAllowThreads(__tstate
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22743 wxRect
* resultptr
;
22744 resultptr
= new wxRect((wxRect
&) result
);
22745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22753 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22755 wxWindow
*arg1
= (wxWindow
*) 0 ;
22757 PyObject
* obj0
= 0 ;
22758 char *kwnames
[] = {
22759 (char *) "self", NULL
22762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22773 wxSize
* resultptr
;
22774 resultptr
= new wxSize((wxSize
&) result
);
22775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22783 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22784 PyObject
*resultobj
;
22785 wxWindow
*arg1
= (wxWindow
*) 0 ;
22786 int *arg2
= (int *) 0 ;
22787 int *arg3
= (int *) 0 ;
22790 PyObject
* obj0
= 0 ;
22791 char *kwnames
[] = {
22792 (char *) "self", NULL
22797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 Py_INCREF(Py_None
); resultobj
= Py_None
;
22809 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22810 resultobj
= t_output_helper(resultobj
,o
);
22813 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22814 resultobj
= t_output_helper(resultobj
,o
);
22822 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22824 wxWindow
*arg1
= (wxWindow
*) 0 ;
22826 PyObject
* obj0
= 0 ;
22827 char *kwnames
[] = {
22828 (char *) "self", NULL
22831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22836 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22838 wxPyEndAllowThreads(__tstate
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22842 wxSize
* resultptr
;
22843 resultptr
= new wxSize((wxSize
&) result
);
22844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22852 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22853 PyObject
*resultobj
;
22854 wxWindow
*arg1
= (wxWindow
*) 0 ;
22855 int arg2
= (int) wxBOTH
;
22856 PyObject
* obj0
= 0 ;
22857 PyObject
* obj1
= 0 ;
22858 char *kwnames
[] = {
22859 (char *) "self",(char *) "direction", NULL
22862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22866 arg2
= (int) SWIG_AsInt(obj1
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 (arg1
)->Center(arg2
);
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 Py_INCREF(Py_None
); resultobj
= Py_None
;
22883 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
;
22885 wxWindow
*arg1
= (wxWindow
*) 0 ;
22886 int arg2
= (int) wxBOTH
;
22887 PyObject
* obj0
= 0 ;
22888 PyObject
* obj1
= 0 ;
22889 char *kwnames
[] = {
22890 (char *) "self",(char *) "dir", NULL
22893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22897 arg2
= (int) SWIG_AsInt(obj1
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 (arg1
)->CenterOnScreen(arg2
);
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 Py_INCREF(Py_None
); resultobj
= Py_None
;
22914 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
;
22916 wxWindow
*arg1
= (wxWindow
*) 0 ;
22917 int arg2
= (int) wxBOTH
;
22918 PyObject
* obj0
= 0 ;
22919 PyObject
* obj1
= 0 ;
22920 char *kwnames
[] = {
22921 (char *) "self",(char *) "dir", NULL
22924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22928 arg2
= (int) SWIG_AsInt(obj1
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 (arg1
)->CenterOnParent(arg2
);
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 Py_INCREF(Py_None
); resultobj
= Py_None
;
22945 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22946 PyObject
*resultobj
;
22947 wxWindow
*arg1
= (wxWindow
*) 0 ;
22948 PyObject
* obj0
= 0 ;
22949 char *kwnames
[] = {
22950 (char *) "self", NULL
22953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 wxPyEndAllowThreads(__tstate
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22963 Py_INCREF(Py_None
); resultobj
= Py_None
;
22970 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22971 PyObject
*resultobj
;
22972 wxWindow
*arg1
= (wxWindow
*) 0 ;
22973 PyObject
* obj0
= 0 ;
22974 char *kwnames
[] = {
22975 (char *) "self", NULL
22978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 (arg1
)->FitInside();
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 Py_INCREF(Py_None
); resultobj
= Py_None
;
22995 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
22996 PyObject
*resultobj
;
22997 wxWindow
*arg1
= (wxWindow
*) 0 ;
23000 int arg4
= (int) -1 ;
23001 int arg5
= (int) -1 ;
23002 int arg6
= (int) -1 ;
23003 int arg7
= (int) -1 ;
23004 PyObject
* obj0
= 0 ;
23005 PyObject
* obj1
= 0 ;
23006 PyObject
* obj2
= 0 ;
23007 PyObject
* obj3
= 0 ;
23008 PyObject
* obj4
= 0 ;
23009 PyObject
* obj5
= 0 ;
23010 PyObject
* obj6
= 0 ;
23012 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23015 arg2
= (int) SWIG_AsInt(obj1
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23017 arg3
= (int) SWIG_AsInt(obj2
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23020 arg4
= (int) SWIG_AsInt(obj3
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23024 arg5
= (int) SWIG_AsInt(obj4
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23028 arg6
= (int) SWIG_AsInt(obj5
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23032 arg7
= (int) SWIG_AsInt(obj6
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23042 Py_INCREF(Py_None
); resultobj
= Py_None
;
23049 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23050 PyObject
*resultobj
;
23051 wxWindow
*arg1
= (wxWindow
*) 0 ;
23053 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23054 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23055 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23056 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23060 PyObject
* obj0
= 0 ;
23061 PyObject
* obj1
= 0 ;
23062 PyObject
* obj2
= 0 ;
23063 PyObject
* obj3
= 0 ;
23065 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23070 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23075 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23081 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23088 wxPyEndAllowThreads(__tstate
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 Py_INCREF(Py_None
); resultobj
= Py_None
;
23098 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23103 argc
= PyObject_Length(args
);
23104 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23105 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23107 if ((argc
>= 2) && (argc
<= 4)) {
23111 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23120 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23124 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23127 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23131 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23134 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23137 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23143 if ((argc
>= 3) && (argc
<= 7)) {
23147 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23155 _v
= SWIG_CheckInt(argv
[1]);
23157 _v
= SWIG_CheckInt(argv
[2]);
23160 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23162 _v
= SWIG_CheckInt(argv
[3]);
23165 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23167 _v
= SWIG_CheckInt(argv
[4]);
23170 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23172 _v
= SWIG_CheckInt(argv
[5]);
23175 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23177 _v
= SWIG_CheckInt(argv
[6]);
23179 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23189 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23194 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23195 PyObject
*resultobj
;
23196 wxWindow
*arg1
= (wxWindow
*) 0 ;
23199 int arg4
= (int) -1 ;
23200 int arg5
= (int) -1 ;
23201 PyObject
* obj0
= 0 ;
23202 PyObject
* obj1
= 0 ;
23203 PyObject
* obj2
= 0 ;
23204 PyObject
* obj3
= 0 ;
23205 PyObject
* obj4
= 0 ;
23207 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23210 arg2
= (int) SWIG_AsInt(obj1
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23212 arg3
= (int) SWIG_AsInt(obj2
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 arg4
= (int) SWIG_AsInt(obj3
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23219 arg5
= (int) SWIG_AsInt(obj4
);
23220 if (PyErr_Occurred()) SWIG_fail
;
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23226 wxPyEndAllowThreads(__tstate
);
23227 if (PyErr_Occurred()) SWIG_fail
;
23229 Py_INCREF(Py_None
); resultobj
= Py_None
;
23236 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23237 PyObject
*resultobj
;
23238 wxWindow
*arg1
= (wxWindow
*) 0 ;
23240 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23241 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23244 PyObject
* obj0
= 0 ;
23245 PyObject
* obj1
= 0 ;
23246 PyObject
* obj2
= 0 ;
23248 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23253 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23258 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23268 Py_INCREF(Py_None
); resultobj
= Py_None
;
23275 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23280 argc
= PyObject_Length(args
);
23281 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23282 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23284 if ((argc
>= 2) && (argc
<= 3)) {
23288 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23297 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23301 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23304 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23307 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23312 if ((argc
>= 3) && (argc
<= 5)) {
23316 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23324 _v
= SWIG_CheckInt(argv
[1]);
23326 _v
= SWIG_CheckInt(argv
[2]);
23329 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23331 _v
= SWIG_CheckInt(argv
[3]);
23334 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23336 _v
= SWIG_CheckInt(argv
[4]);
23338 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23346 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23351 static PyObject
*_wrap_Window_GetMinWidth(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_GetMinWidth",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
)->GetMinWidth();
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= SWIG_FromInt((int)result
);
23377 static PyObject
*_wrap_Window_GetMinHeight(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_GetMinHeight",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
)->GetMinHeight();
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23396 resultobj
= SWIG_FromInt((int)result
);
23403 static PyObject
*_wrap_Window_GetMaxWidth(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_GetMaxWidth",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
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= SWIG_FromInt((int)result
);
23429 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23430 PyObject
*resultobj
;
23431 wxWindow
*arg1
= (wxWindow
*) 0 ;
23433 PyObject
* obj0
= 0 ;
23434 char *kwnames
[] = {
23435 (char *) "self", NULL
23438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23443 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23448 resultobj
= SWIG_FromInt((int)result
);
23455 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
;
23457 wxWindow
*arg1
= (wxWindow
*) 0 ;
23459 PyObject
* obj0
= 0 ;
23460 char *kwnames
[] = {
23461 (char *) "self", NULL
23464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23469 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23475 wxSize
* resultptr
;
23476 resultptr
= new wxSize((wxSize
&) result
);
23477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23485 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
;
23487 wxWindow
*arg1
= (wxWindow
*) 0 ;
23489 PyObject
* obj0
= 0 ;
23490 char *kwnames
[] = {
23491 (char *) "self", NULL
23494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23499 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23501 wxPyEndAllowThreads(__tstate
);
23502 if (PyErr_Occurred()) SWIG_fail
;
23505 wxSize
* resultptr
;
23506 resultptr
= new wxSize((wxSize
&) result
);
23507 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23515 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23516 PyObject
*resultobj
;
23517 wxWindow
*arg1
= (wxWindow
*) 0 ;
23520 PyObject
* obj0
= 0 ;
23521 PyObject
* obj1
= 0 ;
23522 char *kwnames
[] = {
23523 (char *) "self",(char *) "size", NULL
23526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23531 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23540 Py_INCREF(Py_None
); resultobj
= Py_None
;
23547 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23548 PyObject
*resultobj
;
23549 wxWindow
*arg1
= (wxWindow
*) 0 ;
23552 PyObject
* obj0
= 0 ;
23553 PyObject
* obj1
= 0 ;
23554 PyObject
* obj2
= 0 ;
23555 char *kwnames
[] = {
23556 (char *) "self",(char *) "w",(char *) "h", NULL
23559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23562 arg2
= (int) SWIG_AsInt(obj1
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23564 arg3
= (int) SWIG_AsInt(obj2
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 (arg1
)->SetVirtualSize(arg2
,arg3
);
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23573 Py_INCREF(Py_None
); resultobj
= Py_None
;
23580 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23581 PyObject
*resultobj
;
23582 wxWindow
*arg1
= (wxWindow
*) 0 ;
23584 PyObject
* obj0
= 0 ;
23585 char *kwnames
[] = {
23586 (char *) "self", NULL
23589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23594 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23600 wxSize
* resultptr
;
23601 resultptr
= new wxSize((wxSize
&) result
);
23602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23610 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23611 PyObject
*resultobj
;
23612 wxWindow
*arg1
= (wxWindow
*) 0 ;
23613 int *arg2
= (int *) 0 ;
23614 int *arg3
= (int *) 0 ;
23617 PyObject
* obj0
= 0 ;
23618 char *kwnames
[] = {
23619 (char *) "self", NULL
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23634 Py_INCREF(Py_None
); resultobj
= Py_None
;
23636 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23637 resultobj
= t_output_helper(resultobj
,o
);
23640 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23641 resultobj
= t_output_helper(resultobj
,o
);
23649 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23650 PyObject
*resultobj
;
23651 wxWindow
*arg1
= (wxWindow
*) 0 ;
23653 PyObject
* obj0
= 0 ;
23654 char *kwnames
[] = {
23655 (char *) "self", NULL
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23663 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23669 wxSize
* resultptr
;
23670 resultptr
= new wxSize((wxSize
&) result
);
23671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23679 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
;
23681 wxWindow
*arg1
= (wxWindow
*) 0 ;
23682 bool arg2
= (bool) True
;
23684 PyObject
* obj0
= 0 ;
23685 PyObject
* obj1
= 0 ;
23686 char *kwnames
[] = {
23687 (char *) "self",(char *) "show", NULL
23690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23694 arg2
= (bool) SWIG_AsBool(obj1
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 result
= (bool)(arg1
)->Show(arg2
);
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23713 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23715 wxWindow
*arg1
= (wxWindow
*) 0 ;
23717 PyObject
* obj0
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "self", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 result
= (bool)(arg1
)->Hide();
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23741 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23742 PyObject
*resultobj
;
23743 wxWindow
*arg1
= (wxWindow
*) 0 ;
23744 bool arg2
= (bool) True
;
23746 PyObject
* obj0
= 0 ;
23747 PyObject
* obj1
= 0 ;
23748 char *kwnames
[] = {
23749 (char *) "self",(char *) "enable", NULL
23752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23756 arg2
= (bool) SWIG_AsBool(obj1
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 result
= (bool)(arg1
)->Enable(arg2
);
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23775 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxWindow
*arg1
= (wxWindow
*) 0 ;
23779 PyObject
* obj0
= 0 ;
23780 char *kwnames
[] = {
23781 (char *) "self", NULL
23784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23789 result
= (bool)(arg1
)->Disable();
23791 wxPyEndAllowThreads(__tstate
);
23792 if (PyErr_Occurred()) SWIG_fail
;
23795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23803 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23804 PyObject
*resultobj
;
23805 wxWindow
*arg1
= (wxWindow
*) 0 ;
23807 PyObject
* obj0
= 0 ;
23808 char *kwnames
[] = {
23809 (char *) "self", NULL
23812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23831 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23832 PyObject
*resultobj
;
23833 wxWindow
*arg1
= (wxWindow
*) 0 ;
23835 PyObject
* obj0
= 0 ;
23836 char *kwnames
[] = {
23837 (char *) "self", NULL
23840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23859 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23860 PyObject
*resultobj
;
23861 wxWindow
*arg1
= (wxWindow
*) 0 ;
23863 PyObject
* obj0
= 0 ;
23864 PyObject
* obj1
= 0 ;
23865 char *kwnames
[] = {
23866 (char *) "self",(char *) "style", NULL
23869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23872 arg2
= (long) SWIG_AsLong(obj1
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 (arg1
)->SetWindowStyleFlag(arg2
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 Py_INCREF(Py_None
); resultobj
= Py_None
;
23888 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
;
23890 wxWindow
*arg1
= (wxWindow
*) 0 ;
23892 PyObject
* obj0
= 0 ;
23893 char *kwnames
[] = {
23894 (char *) "self", NULL
23897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23907 resultobj
= SWIG_FromLong((long)result
);
23914 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23915 PyObject
*resultobj
;
23916 wxWindow
*arg1
= (wxWindow
*) 0 ;
23919 PyObject
* obj0
= 0 ;
23920 PyObject
* obj1
= 0 ;
23921 char *kwnames
[] = {
23922 (char *) "self",(char *) "flag", NULL
23925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23928 arg2
= (int) SWIG_AsInt(obj1
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23932 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23934 wxPyEndAllowThreads(__tstate
);
23935 if (PyErr_Occurred()) SWIG_fail
;
23938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23946 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23947 PyObject
*resultobj
;
23948 wxWindow
*arg1
= (wxWindow
*) 0 ;
23950 PyObject
* obj0
= 0 ;
23951 char *kwnames
[] = {
23952 (char *) "self", NULL
23955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23960 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23974 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23975 PyObject
*resultobj
;
23976 wxWindow
*arg1
= (wxWindow
*) 0 ;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 char *kwnames
[] = {
23981 (char *) "self",(char *) "exStyle", NULL
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23987 arg2
= (long) SWIG_AsLong(obj1
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 (arg1
)->SetExtraStyle(arg2
);
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23996 Py_INCREF(Py_None
); resultobj
= Py_None
;
24003 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
;
24005 wxWindow
*arg1
= (wxWindow
*) 0 ;
24007 PyObject
* obj0
= 0 ;
24008 char *kwnames
[] = {
24009 (char *) "self", NULL
24012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 resultobj
= SWIG_FromLong((long)result
);
24029 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxWindow
*arg1
= (wxWindow
*) 0 ;
24032 bool arg2
= (bool) True
;
24033 PyObject
* obj0
= 0 ;
24034 PyObject
* obj1
= 0 ;
24035 char *kwnames
[] = {
24036 (char *) "self",(char *) "modal", NULL
24039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24043 arg2
= (bool) SWIG_AsBool(obj1
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 (arg1
)->MakeModal(arg2
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 Py_INCREF(Py_None
); resultobj
= Py_None
;
24060 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
;
24062 wxWindow
*arg1
= (wxWindow
*) 0 ;
24064 PyObject
* obj0
= 0 ;
24065 PyObject
* obj1
= 0 ;
24066 char *kwnames
[] = {
24067 (char *) "self",(char *) "enableTheme", NULL
24070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24073 arg2
= (bool) SWIG_AsBool(obj1
);
24074 if (PyErr_Occurred()) SWIG_fail
;
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 (arg1
)->SetThemeEnabled(arg2
);
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24082 Py_INCREF(Py_None
); resultobj
= Py_None
;
24089 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxWindow
*arg1
= (wxWindow
*) 0 ;
24093 PyObject
* obj0
= 0 ;
24094 char *kwnames
[] = {
24095 (char *) "self", NULL
24098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",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 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24117 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24118 PyObject
*resultobj
;
24119 wxWindow
*arg1
= (wxWindow
*) 0 ;
24120 PyObject
* obj0
= 0 ;
24121 char *kwnames
[] = {
24122 (char *) "self", NULL
24125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24130 (arg1
)->SetFocus();
24132 wxPyEndAllowThreads(__tstate
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24135 Py_INCREF(Py_None
); resultobj
= Py_None
;
24142 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24143 PyObject
*resultobj
;
24144 wxWindow
*arg1
= (wxWindow
*) 0 ;
24145 PyObject
* obj0
= 0 ;
24146 char *kwnames
[] = {
24147 (char *) "self", NULL
24150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 (arg1
)->SetFocusFromKbd();
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24160 Py_INCREF(Py_None
); resultobj
= Py_None
;
24167 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
;
24170 char *kwnames
[] = {
24174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24176 if (!wxPyCheckForApp()) SWIG_fail
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 result
= (wxWindow
*)wxWindow::FindFocus();
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24184 resultobj
= wxPyMake_wxObject(result
);
24192 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24193 PyObject
*resultobj
;
24194 wxWindow
*arg1
= (wxWindow
*) 0 ;
24196 PyObject
* obj0
= 0 ;
24197 char *kwnames
[] = {
24198 (char *) "self", NULL
24201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24206 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24220 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24221 PyObject
*resultobj
;
24222 wxWindow
*arg1
= (wxWindow
*) 0 ;
24224 PyObject
* obj0
= 0 ;
24225 char *kwnames
[] = {
24226 (char *) "self", NULL
24229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24234 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24248 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
;
24250 wxWindow
*arg1
= (wxWindow
*) 0 ;
24252 PyObject
* obj0
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= wxPyMake_wxObject(result
);
24276 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxWindow
*arg1
= (wxWindow
*) 0 ;
24279 wxWindow
*arg2
= (wxWindow
*) 0 ;
24281 PyObject
* obj0
= 0 ;
24282 PyObject
* obj1
= 0 ;
24283 char *kwnames
[] = {
24284 (char *) "self",(char *) "child", NULL
24287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24300 resultobj
= wxPyMake_wxObject(result
);
24308 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
;
24310 wxWindow
*arg1
= (wxWindow
*) 0 ;
24311 wxWindow
*arg2
= (wxWindow
*) 0 ;
24312 PyObject
* obj0
= 0 ;
24313 PyObject
* obj1
= 0 ;
24314 char *kwnames
[] = {
24315 (char *) "self",(char *) "win", NULL
24318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24325 (arg1
)->SetTmpDefaultItem(arg2
);
24327 wxPyEndAllowThreads(__tstate
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24330 Py_INCREF(Py_None
); resultobj
= Py_None
;
24337 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24338 PyObject
*resultobj
;
24339 wxWindow
*arg1
= (wxWindow
*) 0 ;
24341 PyObject
* obj0
= 0 ;
24342 char *kwnames
[] = {
24343 (char *) "self", NULL
24346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24351 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24356 resultobj
= result
;
24363 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
;
24365 wxWindow
*arg1
= (wxWindow
*) 0 ;
24367 PyObject
* obj0
= 0 ;
24368 char *kwnames
[] = {
24369 (char *) "self", NULL
24372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24383 resultobj
= wxPyMake_wxObject(result
);
24391 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24392 PyObject
*resultobj
;
24393 wxWindow
*arg1
= (wxWindow
*) 0 ;
24395 PyObject
* obj0
= 0 ;
24396 char *kwnames
[] = {
24397 (char *) "self", NULL
24400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24407 wxPyEndAllowThreads(__tstate
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24411 resultobj
= wxPyMake_wxObject(result
);
24419 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24420 PyObject
*resultobj
;
24421 wxWindow
*arg1
= (wxWindow
*) 0 ;
24423 PyObject
* obj0
= 0 ;
24424 char *kwnames
[] = {
24425 (char *) "self", NULL
24428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24447 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24448 PyObject
*resultobj
;
24449 wxWindow
*arg1
= (wxWindow
*) 0 ;
24450 wxWindow
*arg2
= (wxWindow
*) 0 ;
24452 PyObject
* obj0
= 0 ;
24453 PyObject
* obj1
= 0 ;
24454 char *kwnames
[] = {
24455 (char *) "self",(char *) "newParent", NULL
24458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24465 result
= (bool)(arg1
)->Reparent(arg2
);
24467 wxPyEndAllowThreads(__tstate
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24479 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24480 PyObject
*resultobj
;
24481 wxWindow
*arg1
= (wxWindow
*) 0 ;
24482 wxWindow
*arg2
= (wxWindow
*) 0 ;
24483 PyObject
* obj0
= 0 ;
24484 PyObject
* obj1
= 0 ;
24485 char *kwnames
[] = {
24486 (char *) "self",(char *) "child", NULL
24489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 (arg1
)->AddChild(arg2
);
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24501 Py_INCREF(Py_None
); resultobj
= Py_None
;
24508 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24509 PyObject
*resultobj
;
24510 wxWindow
*arg1
= (wxWindow
*) 0 ;
24511 wxWindow
*arg2
= (wxWindow
*) 0 ;
24512 PyObject
* obj0
= 0 ;
24513 PyObject
* obj1
= 0 ;
24514 char *kwnames
[] = {
24515 (char *) "self",(char *) "child", NULL
24518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24525 (arg1
)->RemoveChild(arg2
);
24527 wxPyEndAllowThreads(__tstate
);
24528 if (PyErr_Occurred()) SWIG_fail
;
24530 Py_INCREF(Py_None
); resultobj
= Py_None
;
24537 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24538 PyObject
*resultobj
;
24539 wxWindow
*arg1
= (wxWindow
*) 0 ;
24542 PyObject
* obj0
= 0 ;
24543 PyObject
* obj1
= 0 ;
24544 char *kwnames
[] = {
24545 (char *) "self",(char *) "winid", NULL
24548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24551 arg2
= (long) SWIG_AsLong(obj1
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24557 wxPyEndAllowThreads(__tstate
);
24558 if (PyErr_Occurred()) SWIG_fail
;
24561 resultobj
= wxPyMake_wxObject(result
);
24569 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24571 wxWindow
*arg1
= (wxWindow
*) 0 ;
24572 wxString
*arg2
= 0 ;
24574 bool temp2
= False
;
24575 PyObject
* obj0
= 0 ;
24576 PyObject
* obj1
= 0 ;
24577 char *kwnames
[] = {
24578 (char *) "self",(char *) "name", NULL
24581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24585 arg2
= wxString_in_helper(obj1
);
24586 if (arg2
== NULL
) SWIG_fail
;
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24597 resultobj
= wxPyMake_wxObject(result
);
24613 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24614 PyObject
*resultobj
;
24615 wxWindow
*arg1
= (wxWindow
*) 0 ;
24616 wxEvtHandler
*result
;
24617 PyObject
* obj0
= 0 ;
24618 char *kwnames
[] = {
24619 (char *) "self", NULL
24622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24627 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24629 wxPyEndAllowThreads(__tstate
);
24630 if (PyErr_Occurred()) SWIG_fail
;
24633 resultobj
= wxPyMake_wxObject(result
);
24641 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
;
24643 wxWindow
*arg1
= (wxWindow
*) 0 ;
24644 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24645 PyObject
* obj0
= 0 ;
24646 PyObject
* obj1
= 0 ;
24647 char *kwnames
[] = {
24648 (char *) "self",(char *) "handler", NULL
24651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 (arg1
)->SetEventHandler(arg2
);
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24663 Py_INCREF(Py_None
); resultobj
= Py_None
;
24670 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24671 PyObject
*resultobj
;
24672 wxWindow
*arg1
= (wxWindow
*) 0 ;
24673 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24674 PyObject
* obj0
= 0 ;
24675 PyObject
* obj1
= 0 ;
24676 char *kwnames
[] = {
24677 (char *) "self",(char *) "handler", NULL
24680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 (arg1
)->PushEventHandler(arg2
);
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24692 Py_INCREF(Py_None
); resultobj
= Py_None
;
24699 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
;
24701 wxWindow
*arg1
= (wxWindow
*) 0 ;
24702 bool arg2
= (bool) False
;
24703 wxEvtHandler
*result
;
24704 PyObject
* obj0
= 0 ;
24705 PyObject
* obj1
= 0 ;
24706 char *kwnames
[] = {
24707 (char *) "self",(char *) "deleteHandler", NULL
24710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24714 arg2
= (bool) SWIG_AsBool(obj1
);
24715 if (PyErr_Occurred()) SWIG_fail
;
24718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24719 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24721 wxPyEndAllowThreads(__tstate
);
24722 if (PyErr_Occurred()) SWIG_fail
;
24725 resultobj
= wxPyMake_wxObject(result
);
24733 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
;
24735 wxWindow
*arg1
= (wxWindow
*) 0 ;
24736 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24738 PyObject
* obj0
= 0 ;
24739 PyObject
* obj1
= 0 ;
24740 char *kwnames
[] = {
24741 (char *) "self",(char *) "handler", NULL
24744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24753 wxPyEndAllowThreads(__tstate
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24765 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24766 PyObject
*resultobj
;
24767 wxWindow
*arg1
= (wxWindow
*) 0 ;
24768 wxValidator
*arg2
= 0 ;
24769 PyObject
* obj0
= 0 ;
24770 PyObject
* obj1
= 0 ;
24771 char *kwnames
[] = {
24772 (char *) "self",(char *) "validator", NULL
24775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24781 if (arg2
== NULL
) {
24782 PyErr_SetString(PyExc_TypeError
,"null reference");
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24792 Py_INCREF(Py_None
); resultobj
= Py_None
;
24799 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
;
24801 wxWindow
*arg1
= (wxWindow
*) 0 ;
24802 wxValidator
*result
;
24803 PyObject
* obj0
= 0 ;
24804 char *kwnames
[] = {
24805 (char *) "self", NULL
24808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= (wxValidator
*)(arg1
)->GetValidator();
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24819 resultobj
= wxPyMake_wxObject(result
);
24827 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24828 PyObject
*resultobj
;
24829 wxWindow
*arg1
= (wxWindow
*) 0 ;
24831 PyObject
* obj0
= 0 ;
24832 char *kwnames
[] = {
24833 (char *) "self", NULL
24836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 result
= (bool)(arg1
)->Validate();
24843 wxPyEndAllowThreads(__tstate
);
24844 if (PyErr_Occurred()) SWIG_fail
;
24847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24855 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24856 PyObject
*resultobj
;
24857 wxWindow
*arg1
= (wxWindow
*) 0 ;
24859 PyObject
* obj0
= 0 ;
24860 char *kwnames
[] = {
24861 (char *) "self", NULL
24864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 result
= (bool)(arg1
)->TransferDataToWindow();
24871 wxPyEndAllowThreads(__tstate
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24883 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24884 PyObject
*resultobj
;
24885 wxWindow
*arg1
= (wxWindow
*) 0 ;
24887 PyObject
* obj0
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "self", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 result
= (bool)(arg1
)->TransferDataFromWindow();
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24911 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24912 PyObject
*resultobj
;
24913 wxWindow
*arg1
= (wxWindow
*) 0 ;
24914 PyObject
* obj0
= 0 ;
24915 char *kwnames
[] = {
24916 (char *) "self", NULL
24919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
24920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24924 (arg1
)->InitDialog();
24926 wxPyEndAllowThreads(__tstate
);
24927 if (PyErr_Occurred()) SWIG_fail
;
24929 Py_INCREF(Py_None
); resultobj
= Py_None
;
24936 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24937 PyObject
*resultobj
;
24938 wxWindow
*arg1
= (wxWindow
*) 0 ;
24939 wxAcceleratorTable
*arg2
= 0 ;
24940 PyObject
* obj0
= 0 ;
24941 PyObject
* obj1
= 0 ;
24942 char *kwnames
[] = {
24943 (char *) "self",(char *) "accel", NULL
24946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24952 if (arg2
== NULL
) {
24953 PyErr_SetString(PyExc_TypeError
,"null reference");
24957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24958 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24960 wxPyEndAllowThreads(__tstate
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24963 Py_INCREF(Py_None
); resultobj
= Py_None
;
24970 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24971 PyObject
*resultobj
;
24972 wxWindow
*arg1
= (wxWindow
*) 0 ;
24973 wxAcceleratorTable
*result
;
24974 PyObject
* obj0
= 0 ;
24975 char *kwnames
[] = {
24976 (char *) "self", NULL
24979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24996 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
;
24998 wxWindow
*arg1
= (wxWindow
*) 0 ;
25003 PyObject
* obj0
= 0 ;
25004 PyObject
* obj1
= 0 ;
25005 PyObject
* obj2
= 0 ;
25006 PyObject
* obj3
= 0 ;
25007 char *kwnames
[] = {
25008 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25014 arg2
= (int) SWIG_AsInt(obj1
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25016 arg3
= (int) SWIG_AsInt(obj2
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25018 arg4
= (int) SWIG_AsInt(obj3
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25022 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25024 wxPyEndAllowThreads(__tstate
);
25025 if (PyErr_Occurred()) SWIG_fail
;
25028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25036 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25037 PyObject
*resultobj
;
25038 wxWindow
*arg1
= (wxWindow
*) 0 ;
25041 PyObject
* obj0
= 0 ;
25042 PyObject
* obj1
= 0 ;
25043 char *kwnames
[] = {
25044 (char *) "self",(char *) "hotkeyId", NULL
25047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25050 arg2
= (int) SWIG_AsInt(obj1
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25054 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25068 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
;
25070 wxWindow
*arg1
= (wxWindow
*) 0 ;
25071 wxPoint
*arg2
= 0 ;
25074 PyObject
* obj0
= 0 ;
25075 PyObject
* obj1
= 0 ;
25076 char *kwnames
[] = {
25077 (char *) "self",(char *) "pt", NULL
25080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25085 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25095 wxPoint
* resultptr
;
25096 resultptr
= new wxPoint((wxPoint
&) result
);
25097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25105 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
;
25107 wxWindow
*arg1
= (wxWindow
*) 0 ;
25111 PyObject
* obj0
= 0 ;
25112 PyObject
* obj1
= 0 ;
25113 char *kwnames
[] = {
25114 (char *) "self",(char *) "sz", NULL
25117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25122 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25132 wxSize
* resultptr
;
25133 resultptr
= new wxSize((wxSize
&) result
);
25134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25142 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxWindow
*arg1
= (wxWindow
*) 0 ;
25145 wxPoint
*arg2
= 0 ;
25148 PyObject
* obj0
= 0 ;
25149 PyObject
* obj1
= 0 ;
25150 char *kwnames
[] = {
25151 (char *) "self",(char *) "pt", NULL
25154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25159 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25163 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25165 wxPyEndAllowThreads(__tstate
);
25166 if (PyErr_Occurred()) SWIG_fail
;
25169 wxPoint
* resultptr
;
25170 resultptr
= new wxPoint((wxPoint
&) result
);
25171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25179 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25180 PyObject
*resultobj
;
25181 wxWindow
*arg1
= (wxWindow
*) 0 ;
25185 PyObject
* obj0
= 0 ;
25186 PyObject
* obj1
= 0 ;
25187 char *kwnames
[] = {
25188 (char *) "self",(char *) "sz", NULL
25191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25196 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25200 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25202 wxPyEndAllowThreads(__tstate
);
25203 if (PyErr_Occurred()) SWIG_fail
;
25206 wxSize
* resultptr
;
25207 resultptr
= new wxSize((wxSize
&) result
);
25208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25216 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25217 PyObject
*resultobj
;
25218 wxWindow
*arg1
= (wxWindow
*) 0 ;
25219 wxPoint
*arg2
= 0 ;
25222 PyObject
* obj0
= 0 ;
25223 PyObject
* obj1
= 0 ;
25224 char *kwnames
[] = {
25225 (char *) "self",(char *) "pt", NULL
25228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25233 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25237 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25239 wxPyEndAllowThreads(__tstate
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25243 wxPoint
* resultptr
;
25244 resultptr
= new wxPoint((wxPoint
&) result
);
25245 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25253 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25254 PyObject
*resultobj
;
25255 wxWindow
*arg1
= (wxWindow
*) 0 ;
25259 PyObject
* obj0
= 0 ;
25260 PyObject
* obj1
= 0 ;
25261 char *kwnames
[] = {
25262 (char *) "self",(char *) "sz", NULL
25265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25270 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25274 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25276 wxPyEndAllowThreads(__tstate
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25280 wxSize
* resultptr
;
25281 resultptr
= new wxSize((wxSize
&) result
);
25282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25290 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25291 PyObject
*resultobj
;
25292 wxWindow
*arg1
= (wxWindow
*) 0 ;
25295 PyObject
* obj0
= 0 ;
25296 PyObject
* obj1
= 0 ;
25297 PyObject
* obj2
= 0 ;
25298 char *kwnames
[] = {
25299 (char *) "self",(char *) "x",(char *) "y", NULL
25302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25305 arg2
= (int) SWIG_AsInt(obj1
);
25306 if (PyErr_Occurred()) SWIG_fail
;
25307 arg3
= (int) SWIG_AsInt(obj2
);
25308 if (PyErr_Occurred()) SWIG_fail
;
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 (arg1
)->WarpPointer(arg2
,arg3
);
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 Py_INCREF(Py_None
); resultobj
= Py_None
;
25323 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25324 PyObject
*resultobj
;
25325 wxWindow
*arg1
= (wxWindow
*) 0 ;
25326 PyObject
* obj0
= 0 ;
25327 char *kwnames
[] = {
25328 (char *) "self", NULL
25331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25336 (arg1
)->CaptureMouse();
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25341 Py_INCREF(Py_None
); resultobj
= Py_None
;
25348 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25349 PyObject
*resultobj
;
25350 wxWindow
*arg1
= (wxWindow
*) 0 ;
25351 PyObject
* obj0
= 0 ;
25352 char *kwnames
[] = {
25353 (char *) "self", NULL
25356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25361 (arg1
)->ReleaseMouse();
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25366 Py_INCREF(Py_None
); resultobj
= Py_None
;
25373 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25374 PyObject
*resultobj
;
25376 char *kwnames
[] = {
25380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25382 if (!wxPyCheckForApp()) SWIG_fail
;
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 result
= (wxWindow
*)wxWindow::GetCapture();
25386 wxPyEndAllowThreads(__tstate
);
25387 if (PyErr_Occurred()) SWIG_fail
;
25390 resultobj
= wxPyMake_wxObject(result
);
25398 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
;
25400 wxWindow
*arg1
= (wxWindow
*) 0 ;
25402 PyObject
* obj0
= 0 ;
25403 char *kwnames
[] = {
25404 (char *) "self", NULL
25407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25426 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25427 PyObject
*resultobj
;
25428 wxWindow
*arg1
= (wxWindow
*) 0 ;
25429 bool arg2
= (bool) True
;
25430 wxRect
*arg3
= (wxRect
*) NULL
;
25431 PyObject
* obj0
= 0 ;
25432 PyObject
* obj1
= 0 ;
25433 PyObject
* obj2
= 0 ;
25434 char *kwnames
[] = {
25435 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25442 arg2
= (bool) SWIG_AsBool(obj1
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25446 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 Py_INCREF(Py_None
); resultobj
= Py_None
;
25463 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
;
25465 wxWindow
*arg1
= (wxWindow
*) 0 ;
25468 PyObject
* obj0
= 0 ;
25469 PyObject
* obj1
= 0 ;
25470 char *kwnames
[] = {
25471 (char *) "self",(char *) "rect", NULL
25474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25479 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25485 wxPyEndAllowThreads(__tstate
);
25486 if (PyErr_Occurred()) SWIG_fail
;
25488 Py_INCREF(Py_None
); resultobj
= Py_None
;
25495 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25496 PyObject
*resultobj
;
25497 wxWindow
*arg1
= (wxWindow
*) 0 ;
25498 PyObject
* obj0
= 0 ;
25499 char *kwnames
[] = {
25500 (char *) "self", NULL
25503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 Py_INCREF(Py_None
); resultobj
= Py_None
;
25520 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
;
25522 wxWindow
*arg1
= (wxWindow
*) 0 ;
25523 PyObject
* obj0
= 0 ;
25524 char *kwnames
[] = {
25525 (char *) "self", NULL
25528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 (arg1
)->ClearBackground();
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25538 Py_INCREF(Py_None
); resultobj
= Py_None
;
25545 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
;
25547 wxWindow
*arg1
= (wxWindow
*) 0 ;
25548 PyObject
* obj0
= 0 ;
25549 char *kwnames
[] = {
25550 (char *) "self", NULL
25553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25560 wxPyEndAllowThreads(__tstate
);
25561 if (PyErr_Occurred()) SWIG_fail
;
25563 Py_INCREF(Py_None
); resultobj
= Py_None
;
25570 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25571 PyObject
*resultobj
;
25572 wxWindow
*arg1
= (wxWindow
*) 0 ;
25573 PyObject
* obj0
= 0 ;
25574 char *kwnames
[] = {
25575 (char *) "self", NULL
25578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 Py_INCREF(Py_None
); resultobj
= Py_None
;
25595 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25596 PyObject
*resultobj
;
25597 wxWindow
*arg1
= (wxWindow
*) 0 ;
25599 PyObject
* obj0
= 0 ;
25600 PyObject
* obj1
= 0 ;
25601 char *kwnames
[] = {
25602 (char *) "self",(char *) "dc", NULL
25605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25609 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25611 if (arg2
== NULL
) {
25612 PyErr_SetString(PyExc_TypeError
,"null reference");
25616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25617 (arg1
)->PrepareDC(*arg2
);
25619 wxPyEndAllowThreads(__tstate
);
25620 if (PyErr_Occurred()) SWIG_fail
;
25622 Py_INCREF(Py_None
); resultobj
= Py_None
;
25629 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25630 PyObject
*resultobj
;
25631 wxWindow
*arg1
= (wxWindow
*) 0 ;
25633 PyObject
* obj0
= 0 ;
25634 char *kwnames
[] = {
25635 (char *) "self", NULL
25638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25645 result
= (wxRegion
*) &_result_ref
;
25648 wxPyEndAllowThreads(__tstate
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25658 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25659 PyObject
*resultobj
;
25660 wxWindow
*arg1
= (wxWindow
*) 0 ;
25662 PyObject
* obj0
= 0 ;
25663 char *kwnames
[] = {
25664 (char *) "self", NULL
25667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25672 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25674 wxPyEndAllowThreads(__tstate
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25678 wxRect
* resultptr
;
25679 resultptr
= new wxRect((wxRect
&) result
);
25680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25688 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25689 PyObject
*resultobj
;
25690 wxWindow
*arg1
= (wxWindow
*) 0 ;
25693 int arg4
= (int) 1 ;
25694 int arg5
= (int) 1 ;
25696 PyObject
* obj0
= 0 ;
25697 PyObject
* obj1
= 0 ;
25698 PyObject
* obj2
= 0 ;
25699 PyObject
* obj3
= 0 ;
25700 PyObject
* obj4
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25708 arg2
= (int) SWIG_AsInt(obj1
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25710 arg3
= (int) SWIG_AsInt(obj2
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25713 arg4
= (int) SWIG_AsInt(obj3
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25717 arg5
= (int) SWIG_AsInt(obj4
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25722 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25724 wxPyEndAllowThreads(__tstate
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25736 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25737 PyObject
*resultobj
;
25738 wxWindow
*arg1
= (wxWindow
*) 0 ;
25739 wxPoint
*arg2
= 0 ;
25742 PyObject
* obj0
= 0 ;
25743 PyObject
* obj1
= 0 ;
25744 char *kwnames
[] = {
25745 (char *) "self",(char *) "pt", NULL
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25753 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25757 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25759 wxPyEndAllowThreads(__tstate
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25771 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25772 PyObject
*resultobj
;
25773 wxWindow
*arg1
= (wxWindow
*) 0 ;
25777 PyObject
* obj0
= 0 ;
25778 PyObject
* obj1
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "self",(char *) "rect", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25788 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25794 wxPyEndAllowThreads(__tstate
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25806 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25807 PyObject
*resultobj
;
25808 wxWindow
*arg1
= (wxWindow
*) 0 ;
25809 wxVisualAttributes result
;
25810 PyObject
* obj0
= 0 ;
25811 char *kwnames
[] = {
25812 (char *) "self", NULL
25815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25826 wxVisualAttributes
* resultptr
;
25827 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25836 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
;
25838 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25839 wxVisualAttributes result
;
25840 PyObject
* obj0
= 0 ;
25841 char *kwnames
[] = {
25842 (char *) "variant", NULL
25845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25847 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25848 if (PyErr_Occurred()) SWIG_fail
;
25851 if (!wxPyCheckForApp()) SWIG_fail
;
25852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25853 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25855 wxPyEndAllowThreads(__tstate
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25859 wxVisualAttributes
* resultptr
;
25860 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25869 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25870 PyObject
*resultobj
;
25871 wxWindow
*arg1
= (wxWindow
*) 0 ;
25872 wxColour
*arg2
= 0 ;
25875 PyObject
* obj0
= 0 ;
25876 PyObject
* obj1
= 0 ;
25877 char *kwnames
[] = {
25878 (char *) "self",(char *) "colour", NULL
25881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25886 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25890 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25892 wxPyEndAllowThreads(__tstate
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25904 static PyObject
*_wrap_Window_SetDefaultBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25905 PyObject
*resultobj
;
25906 wxWindow
*arg1
= (wxWindow
*) 0 ;
25907 wxColour
*arg2
= 0 ;
25909 PyObject
* obj0
= 0 ;
25910 PyObject
* obj1
= 0 ;
25911 char *kwnames
[] = {
25912 (char *) "self",(char *) "colour", NULL
25915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25920 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 (arg1
)->SetDefaultBackgroundColour((wxColour
const &)*arg2
);
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25929 Py_INCREF(Py_None
); resultobj
= Py_None
;
25936 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25937 PyObject
*resultobj
;
25938 wxWindow
*arg1
= (wxWindow
*) 0 ;
25939 wxColour
*arg2
= 0 ;
25942 PyObject
* obj0
= 0 ;
25943 PyObject
* obj1
= 0 ;
25944 char *kwnames
[] = {
25945 (char *) "self",(char *) "colour", NULL
25948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25953 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25971 static PyObject
*_wrap_Window_SetDefaultForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25972 PyObject
*resultobj
;
25973 wxWindow
*arg1
= (wxWindow
*) 0 ;
25974 wxColour
*arg2
= 0 ;
25976 PyObject
* obj0
= 0 ;
25977 PyObject
* obj1
= 0 ;
25978 char *kwnames
[] = {
25979 (char *) "self",(char *) "colour", NULL
25982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25987 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25991 (arg1
)->SetDefaultForegroundColour((wxColour
const &)*arg2
);
25993 wxPyEndAllowThreads(__tstate
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25996 Py_INCREF(Py_None
); resultobj
= Py_None
;
26003 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26004 PyObject
*resultobj
;
26005 wxWindow
*arg1
= (wxWindow
*) 0 ;
26007 PyObject
* obj0
= 0 ;
26008 char *kwnames
[] = {
26009 (char *) "self", NULL
26012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26023 wxColour
* resultptr
;
26024 resultptr
= new wxColour((wxColour
&) result
);
26025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26033 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26034 PyObject
*resultobj
;
26035 wxWindow
*arg1
= (wxWindow
*) 0 ;
26037 PyObject
* obj0
= 0 ;
26038 char *kwnames
[] = {
26039 (char *) "self", NULL
26042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26047 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26049 wxPyEndAllowThreads(__tstate
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26053 wxColour
* resultptr
;
26054 resultptr
= new wxColour((wxColour
&) result
);
26055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26063 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26064 PyObject
*resultobj
;
26065 wxWindow
*arg1
= (wxWindow
*) 0 ;
26066 wxCursor
*arg2
= 0 ;
26068 PyObject
* obj0
= 0 ;
26069 PyObject
* obj1
= 0 ;
26070 char *kwnames
[] = {
26071 (char *) "self",(char *) "cursor", NULL
26074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26078 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26080 if (arg2
== NULL
) {
26081 PyErr_SetString(PyExc_TypeError
,"null reference");
26085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26086 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26100 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxWindow
*arg1
= (wxWindow
*) 0 ;
26104 PyObject
* obj0
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "self", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26115 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26116 result
= (wxCursor
*) &_result_ref
;
26119 wxPyEndAllowThreads(__tstate
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26123 wxCursor
* resultptr
= new wxCursor(*result
);
26124 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26132 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26133 PyObject
*resultobj
;
26134 wxWindow
*arg1
= (wxWindow
*) 0 ;
26137 PyObject
* obj0
= 0 ;
26138 PyObject
* obj1
= 0 ;
26139 char *kwnames
[] = {
26140 (char *) "self",(char *) "font", NULL
26143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26147 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26149 if (arg2
== NULL
) {
26150 PyErr_SetString(PyExc_TypeError
,"null reference");
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26169 static PyObject
*_wrap_Window_SetDefaultFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26170 PyObject
*resultobj
;
26171 wxWindow
*arg1
= (wxWindow
*) 0 ;
26173 PyObject
* obj0
= 0 ;
26174 PyObject
* obj1
= 0 ;
26175 char *kwnames
[] = {
26176 (char *) "self",(char *) "font", NULL
26179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26183 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26185 if (arg2
== NULL
) {
26186 PyErr_SetString(PyExc_TypeError
,"null reference");
26190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26191 (arg1
)->SetDefaultFont((wxFont
const &)*arg2
);
26193 wxPyEndAllowThreads(__tstate
);
26194 if (PyErr_Occurred()) SWIG_fail
;
26196 Py_INCREF(Py_None
); resultobj
= Py_None
;
26203 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26204 PyObject
*resultobj
;
26205 wxWindow
*arg1
= (wxWindow
*) 0 ;
26207 PyObject
* obj0
= 0 ;
26208 char *kwnames
[] = {
26209 (char *) "self", NULL
26212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26218 wxFont
&_result_ref
= (arg1
)->GetFont();
26219 result
= (wxFont
*) &_result_ref
;
26222 wxPyEndAllowThreads(__tstate
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26226 wxFont
* resultptr
= new wxFont(*result
);
26227 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26235 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26236 PyObject
*resultobj
;
26237 wxWindow
*arg1
= (wxWindow
*) 0 ;
26238 wxCaret
*arg2
= (wxCaret
*) 0 ;
26239 PyObject
* obj0
= 0 ;
26240 PyObject
* obj1
= 0 ;
26241 char *kwnames
[] = {
26242 (char *) "self",(char *) "caret", NULL
26245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26252 (arg1
)->SetCaret(arg2
);
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26257 Py_INCREF(Py_None
); resultobj
= Py_None
;
26264 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26265 PyObject
*resultobj
;
26266 wxWindow
*arg1
= (wxWindow
*) 0 ;
26268 PyObject
* obj0
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26290 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
;
26292 wxWindow
*arg1
= (wxWindow
*) 0 ;
26294 PyObject
* obj0
= 0 ;
26295 char *kwnames
[] = {
26296 (char *) "self", NULL
26299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26304 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26306 wxPyEndAllowThreads(__tstate
);
26307 if (PyErr_Occurred()) SWIG_fail
;
26309 resultobj
= SWIG_FromInt((int)result
);
26316 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26317 PyObject
*resultobj
;
26318 wxWindow
*arg1
= (wxWindow
*) 0 ;
26320 PyObject
* obj0
= 0 ;
26321 char *kwnames
[] = {
26322 (char *) "self", NULL
26325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= SWIG_FromInt((int)result
);
26342 static PyObject
*_wrap_Window_GetTextExtent(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 bool temp2
= False
;
26351 PyObject
* obj0
= 0 ;
26352 PyObject
* obj1
= 0 ;
26353 char *kwnames
[] = {
26354 (char *) "self",(char *) "string", NULL
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26363 arg2
= wxString_in_helper(obj1
);
26364 if (arg2
== NULL
) SWIG_fail
;
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26371 wxPyEndAllowThreads(__tstate
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 Py_INCREF(Py_None
); resultobj
= Py_None
;
26376 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26377 resultobj
= t_output_helper(resultobj
,o
);
26380 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26381 resultobj
= t_output_helper(resultobj
,o
);
26397 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26398 PyObject
*resultobj
;
26399 wxWindow
*arg1
= (wxWindow
*) 0 ;
26400 wxString
*arg2
= 0 ;
26401 int *arg3
= (int *) 0 ;
26402 int *arg4
= (int *) 0 ;
26403 int *arg5
= (int *) 0 ;
26404 int *arg6
= (int *) 0 ;
26405 wxFont
*arg7
= (wxFont
*) NULL
;
26406 bool temp2
= False
;
26411 PyObject
* obj0
= 0 ;
26412 PyObject
* obj1
= 0 ;
26413 PyObject
* obj2
= 0 ;
26414 char *kwnames
[] = {
26415 (char *) "self",(char *) "string",(char *) "font", NULL
26422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26426 arg2
= wxString_in_helper(obj1
);
26427 if (arg2
== NULL
) SWIG_fail
;
26431 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 Py_INCREF(Py_None
); resultobj
= Py_None
;
26443 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26444 resultobj
= t_output_helper(resultobj
,o
);
26447 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26448 resultobj
= t_output_helper(resultobj
,o
);
26451 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26452 resultobj
= t_output_helper(resultobj
,o
);
26455 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26456 resultobj
= t_output_helper(resultobj
,o
);
26472 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26473 PyObject
*resultobj
;
26474 wxWindow
*arg1
= (wxWindow
*) 0 ;
26475 int *arg2
= (int *) 0 ;
26476 int *arg3
= (int *) 0 ;
26479 PyObject
* obj0
= 0 ;
26480 PyObject
* obj1
= 0 ;
26481 PyObject
* obj2
= 0 ;
26482 char *kwnames
[] = {
26483 (char *) "self",(char *) "x",(char *) "y", NULL
26486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26490 temp2
= PyInt_AsLong(obj1
);
26491 if (PyErr_Occurred()) SWIG_fail
;
26495 temp3
= PyInt_AsLong(obj2
);
26496 if (PyErr_Occurred()) SWIG_fail
;
26500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26501 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26503 wxPyEndAllowThreads(__tstate
);
26504 if (PyErr_Occurred()) SWIG_fail
;
26506 Py_INCREF(Py_None
); resultobj
= Py_None
;
26508 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26509 resultobj
= t_output_helper(resultobj
,o
);
26512 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26513 resultobj
= t_output_helper(resultobj
,o
);
26521 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26522 PyObject
*resultobj
;
26523 wxWindow
*arg1
= (wxWindow
*) 0 ;
26524 int *arg2
= (int *) 0 ;
26525 int *arg3
= (int *) 0 ;
26528 PyObject
* obj0
= 0 ;
26529 PyObject
* obj1
= 0 ;
26530 PyObject
* obj2
= 0 ;
26531 char *kwnames
[] = {
26532 (char *) "self",(char *) "x",(char *) "y", NULL
26535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26539 temp2
= PyInt_AsLong(obj1
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26544 temp3
= PyInt_AsLong(obj2
);
26545 if (PyErr_Occurred()) SWIG_fail
;
26549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26550 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26552 wxPyEndAllowThreads(__tstate
);
26553 if (PyErr_Occurred()) SWIG_fail
;
26555 Py_INCREF(Py_None
); resultobj
= Py_None
;
26557 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26558 resultobj
= t_output_helper(resultobj
,o
);
26561 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26562 resultobj
= t_output_helper(resultobj
,o
);
26570 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26571 PyObject
*resultobj
;
26572 wxWindow
*arg1
= (wxWindow
*) 0 ;
26573 wxPoint
*arg2
= 0 ;
26576 PyObject
* obj0
= 0 ;
26577 PyObject
* obj1
= 0 ;
26578 char *kwnames
[] = {
26579 (char *) "self",(char *) "pt", NULL
26582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26587 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26597 wxPoint
* resultptr
;
26598 resultptr
= new wxPoint((wxPoint
&) result
);
26599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26607 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26608 PyObject
*resultobj
;
26609 wxWindow
*arg1
= (wxWindow
*) 0 ;
26610 wxPoint
*arg2
= 0 ;
26613 PyObject
* obj0
= 0 ;
26614 PyObject
* obj1
= 0 ;
26615 char *kwnames
[] = {
26616 (char *) "self",(char *) "pt", NULL
26619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26624 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26628 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26634 wxPoint
* resultptr
;
26635 resultptr
= new wxPoint((wxPoint
&) result
);
26636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26644 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26645 PyObject
*resultobj
;
26646 wxWindow
*arg1
= (wxWindow
*) 0 ;
26650 PyObject
* obj0
= 0 ;
26651 PyObject
* obj1
= 0 ;
26652 PyObject
* obj2
= 0 ;
26653 char *kwnames
[] = {
26654 (char *) "self",(char *) "x",(char *) "y", NULL
26657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26660 arg2
= (int) SWIG_AsInt(obj1
);
26661 if (PyErr_Occurred()) SWIG_fail
;
26662 arg3
= (int) SWIG_AsInt(obj2
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= SWIG_FromInt((int)result
);
26678 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26679 PyObject
*resultobj
;
26680 wxWindow
*arg1
= (wxWindow
*) 0 ;
26681 wxPoint
*arg2
= 0 ;
26684 PyObject
* obj0
= 0 ;
26685 PyObject
* obj1
= 0 ;
26686 char *kwnames
[] = {
26687 (char *) "self",(char *) "pt", NULL
26690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26695 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26699 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26701 wxPyEndAllowThreads(__tstate
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26704 resultobj
= SWIG_FromInt((int)result
);
26711 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26712 PyObject
*resultobj
;
26713 wxWindow
*arg1
= (wxWindow
*) 0 ;
26716 PyObject
* obj0
= 0 ;
26717 PyObject
* obj1
= 0 ;
26719 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26722 arg2
= (long) SWIG_AsLong(obj1
);
26723 if (PyErr_Occurred()) SWIG_fail
;
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26728 wxPyEndAllowThreads(__tstate
);
26729 if (PyErr_Occurred()) SWIG_fail
;
26731 resultobj
= SWIG_FromInt((int)result
);
26738 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26739 PyObject
*resultobj
;
26740 wxWindow
*arg1
= (wxWindow
*) 0 ;
26742 PyObject
* obj0
= 0 ;
26744 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26749 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26754 resultobj
= SWIG_FromInt((int)result
);
26761 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26766 argc
= PyObject_Length(args
);
26767 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26768 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26774 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26782 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26789 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26797 _v
= SWIG_CheckLong(argv
[1]);
26799 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26804 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26809 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26810 PyObject
*resultobj
;
26811 wxWindow
*arg1
= (wxWindow
*) 0 ;
26812 long arg2
= (long) wxUPDATE_UI_NONE
;
26813 PyObject
* obj0
= 0 ;
26814 PyObject
* obj1
= 0 ;
26815 char *kwnames
[] = {
26816 (char *) "self",(char *) "flags", NULL
26819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26823 arg2
= (long) SWIG_AsLong(obj1
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26828 (arg1
)->UpdateWindowUI(arg2
);
26830 wxPyEndAllowThreads(__tstate
);
26831 if (PyErr_Occurred()) SWIG_fail
;
26833 Py_INCREF(Py_None
); resultobj
= Py_None
;
26840 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26841 PyObject
*resultobj
;
26842 wxWindow
*arg1
= (wxWindow
*) 0 ;
26843 wxMenu
*arg2
= (wxMenu
*) 0 ;
26844 int arg3
= (int) -1 ;
26845 int arg4
= (int) -1 ;
26847 PyObject
* obj0
= 0 ;
26848 PyObject
* obj1
= 0 ;
26849 PyObject
* obj2
= 0 ;
26850 PyObject
* obj3
= 0 ;
26851 char *kwnames
[] = {
26852 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26861 arg3
= (int) SWIG_AsInt(obj2
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26865 arg4
= (int) SWIG_AsInt(obj3
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26870 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26884 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26885 PyObject
*resultobj
;
26886 wxWindow
*arg1
= (wxWindow
*) 0 ;
26887 wxMenu
*arg2
= (wxMenu
*) 0 ;
26888 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26889 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26892 PyObject
* obj0
= 0 ;
26893 PyObject
* obj1
= 0 ;
26894 PyObject
* obj2
= 0 ;
26895 char *kwnames
[] = {
26896 (char *) "self",(char *) "menu",(char *) "pos", NULL
26899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26907 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26912 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26926 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26927 PyObject
*resultobj
;
26928 wxWindow
*arg1
= (wxWindow
*) 0 ;
26930 PyObject
* obj0
= 0 ;
26931 char *kwnames
[] = {
26932 (char *) "self", NULL
26935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26940 result
= (long)wxWindow_GetHandle(arg1
);
26942 wxPyEndAllowThreads(__tstate
);
26943 if (PyErr_Occurred()) SWIG_fail
;
26945 resultobj
= SWIG_FromLong((long)result
);
26952 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26953 PyObject
*resultobj
;
26954 wxWindow
*arg1
= (wxWindow
*) 0 ;
26955 wxPaintEvent
*arg2
= 0 ;
26956 PyObject
* obj0
= 0 ;
26957 PyObject
* obj1
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self",(char *) "event", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
26963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
26966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26968 if (arg2
== NULL
) {
26969 PyErr_SetString(PyExc_TypeError
,"null reference");
26973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26974 (arg1
)->OnPaint(*arg2
);
26976 wxPyEndAllowThreads(__tstate
);
26977 if (PyErr_Occurred()) SWIG_fail
;
26979 Py_INCREF(Py_None
); resultobj
= Py_None
;
26986 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26987 PyObject
*resultobj
;
26988 wxWindow
*arg1
= (wxWindow
*) 0 ;
26991 PyObject
* obj0
= 0 ;
26992 PyObject
* obj1
= 0 ;
26993 char *kwnames
[] = {
26994 (char *) "self",(char *) "orient", NULL
26997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27000 arg2
= (int) SWIG_AsInt(obj1
);
27001 if (PyErr_Occurred()) SWIG_fail
;
27003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27004 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27006 wxPyEndAllowThreads(__tstate
);
27007 if (PyErr_Occurred()) SWIG_fail
;
27010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27018 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27019 PyObject
*resultobj
;
27020 wxWindow
*arg1
= (wxWindow
*) 0 ;
27025 bool arg6
= (bool) True
;
27026 PyObject
* obj0
= 0 ;
27027 PyObject
* obj1
= 0 ;
27028 PyObject
* obj2
= 0 ;
27029 PyObject
* obj3
= 0 ;
27030 PyObject
* obj4
= 0 ;
27031 PyObject
* obj5
= 0 ;
27032 char *kwnames
[] = {
27033 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27039 arg2
= (int) SWIG_AsInt(obj1
);
27040 if (PyErr_Occurred()) SWIG_fail
;
27041 arg3
= (int) SWIG_AsInt(obj2
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27043 arg4
= (int) SWIG_AsInt(obj3
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27045 arg5
= (int) SWIG_AsInt(obj4
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27048 arg6
= (bool) SWIG_AsBool(obj5
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27053 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27055 wxPyEndAllowThreads(__tstate
);
27056 if (PyErr_Occurred()) SWIG_fail
;
27058 Py_INCREF(Py_None
); resultobj
= Py_None
;
27065 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27066 PyObject
*resultobj
;
27067 wxWindow
*arg1
= (wxWindow
*) 0 ;
27070 bool arg4
= (bool) True
;
27071 PyObject
* obj0
= 0 ;
27072 PyObject
* obj1
= 0 ;
27073 PyObject
* obj2
= 0 ;
27074 PyObject
* obj3
= 0 ;
27075 char *kwnames
[] = {
27076 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27082 arg2
= (int) SWIG_AsInt(obj1
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27084 arg3
= (int) SWIG_AsInt(obj2
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27087 arg4
= (bool) SWIG_AsBool(obj3
);
27088 if (PyErr_Occurred()) SWIG_fail
;
27091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27092 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27094 wxPyEndAllowThreads(__tstate
);
27095 if (PyErr_Occurred()) SWIG_fail
;
27097 Py_INCREF(Py_None
); resultobj
= Py_None
;
27104 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27105 PyObject
*resultobj
;
27106 wxWindow
*arg1
= (wxWindow
*) 0 ;
27109 PyObject
* obj0
= 0 ;
27110 PyObject
* obj1
= 0 ;
27111 char *kwnames
[] = {
27112 (char *) "self",(char *) "orientation", NULL
27115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27118 arg2
= (int) SWIG_AsInt(obj1
);
27119 if (PyErr_Occurred()) SWIG_fail
;
27121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27122 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27124 wxPyEndAllowThreads(__tstate
);
27125 if (PyErr_Occurred()) SWIG_fail
;
27127 resultobj
= SWIG_FromInt((int)result
);
27134 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27135 PyObject
*resultobj
;
27136 wxWindow
*arg1
= (wxWindow
*) 0 ;
27139 PyObject
* obj0
= 0 ;
27140 PyObject
* obj1
= 0 ;
27141 char *kwnames
[] = {
27142 (char *) "self",(char *) "orientation", NULL
27145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27148 arg2
= (int) SWIG_AsInt(obj1
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 resultobj
= SWIG_FromInt((int)result
);
27164 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
;
27166 wxWindow
*arg1
= (wxWindow
*) 0 ;
27169 PyObject
* obj0
= 0 ;
27170 PyObject
* obj1
= 0 ;
27171 char *kwnames
[] = {
27172 (char *) "self",(char *) "orientation", NULL
27175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27178 arg2
= (int) SWIG_AsInt(obj1
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27182 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27184 wxPyEndAllowThreads(__tstate
);
27185 if (PyErr_Occurred()) SWIG_fail
;
27187 resultobj
= SWIG_FromInt((int)result
);
27194 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27195 PyObject
*resultobj
;
27196 wxWindow
*arg1
= (wxWindow
*) 0 ;
27199 wxRect
*arg4
= (wxRect
*) NULL
;
27200 PyObject
* obj0
= 0 ;
27201 PyObject
* obj1
= 0 ;
27202 PyObject
* obj2
= 0 ;
27203 PyObject
* obj3
= 0 ;
27204 char *kwnames
[] = {
27205 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27211 arg2
= (int) SWIG_AsInt(obj1
);
27212 if (PyErr_Occurred()) SWIG_fail
;
27213 arg3
= (int) SWIG_AsInt(obj2
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27216 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27221 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27223 wxPyEndAllowThreads(__tstate
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27226 Py_INCREF(Py_None
); resultobj
= Py_None
;
27233 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
;
27235 wxWindow
*arg1
= (wxWindow
*) 0 ;
27238 PyObject
* obj0
= 0 ;
27239 PyObject
* obj1
= 0 ;
27240 char *kwnames
[] = {
27241 (char *) "self",(char *) "lines", NULL
27244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27247 arg2
= (int) SWIG_AsInt(obj1
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 result
= (bool)(arg1
)->ScrollLines(arg2
);
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27265 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
;
27267 wxWindow
*arg1
= (wxWindow
*) 0 ;
27270 PyObject
* obj0
= 0 ;
27271 PyObject
* obj1
= 0 ;
27272 char *kwnames
[] = {
27273 (char *) "self",(char *) "pages", NULL
27276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27279 arg2
= (int) SWIG_AsInt(obj1
);
27280 if (PyErr_Occurred()) SWIG_fail
;
27282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27283 result
= (bool)(arg1
)->ScrollPages(arg2
);
27285 wxPyEndAllowThreads(__tstate
);
27286 if (PyErr_Occurred()) SWIG_fail
;
27289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27297 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27298 PyObject
*resultobj
;
27299 wxWindow
*arg1
= (wxWindow
*) 0 ;
27301 PyObject
* obj0
= 0 ;
27302 char *kwnames
[] = {
27303 (char *) "self", NULL
27306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27311 result
= (bool)(arg1
)->LineUp();
27313 wxPyEndAllowThreads(__tstate
);
27314 if (PyErr_Occurred()) SWIG_fail
;
27317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27325 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27326 PyObject
*resultobj
;
27327 wxWindow
*arg1
= (wxWindow
*) 0 ;
27329 PyObject
* obj0
= 0 ;
27330 char *kwnames
[] = {
27331 (char *) "self", NULL
27334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27339 result
= (bool)(arg1
)->LineDown();
27341 wxPyEndAllowThreads(__tstate
);
27342 if (PyErr_Occurred()) SWIG_fail
;
27345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27353 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27354 PyObject
*resultobj
;
27355 wxWindow
*arg1
= (wxWindow
*) 0 ;
27357 PyObject
* obj0
= 0 ;
27358 char *kwnames
[] = {
27359 (char *) "self", NULL
27362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 result
= (bool)(arg1
)->PageUp();
27369 wxPyEndAllowThreads(__tstate
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27381 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27382 PyObject
*resultobj
;
27383 wxWindow
*arg1
= (wxWindow
*) 0 ;
27385 PyObject
* obj0
= 0 ;
27386 char *kwnames
[] = {
27387 (char *) "self", NULL
27390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27395 result
= (bool)(arg1
)->PageDown();
27397 wxPyEndAllowThreads(__tstate
);
27398 if (PyErr_Occurred()) SWIG_fail
;
27401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27409 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27410 PyObject
*resultobj
;
27411 wxWindow
*arg1
= (wxWindow
*) 0 ;
27412 wxString
*arg2
= 0 ;
27413 bool temp2
= False
;
27414 PyObject
* obj0
= 0 ;
27415 PyObject
* obj1
= 0 ;
27416 char *kwnames
[] = {
27417 (char *) "self",(char *) "text", NULL
27420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27424 arg2
= wxString_in_helper(obj1
);
27425 if (arg2
== NULL
) SWIG_fail
;
27429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27430 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27432 wxPyEndAllowThreads(__tstate
);
27433 if (PyErr_Occurred()) SWIG_fail
;
27435 Py_INCREF(Py_None
); resultobj
= Py_None
;
27450 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27451 PyObject
*resultobj
;
27452 wxWindow
*arg1
= (wxWindow
*) 0 ;
27453 wxString
*arg2
= 0 ;
27454 bool temp2
= False
;
27455 PyObject
* obj0
= 0 ;
27456 PyObject
* obj1
= 0 ;
27457 char *kwnames
[] = {
27458 (char *) "self",(char *) "text", NULL
27461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27465 arg2
= wxString_in_helper(obj1
);
27466 if (arg2
== NULL
) SWIG_fail
;
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27476 Py_INCREF(Py_None
); resultobj
= Py_None
;
27491 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27492 PyObject
*resultobj
;
27493 wxWindow
*arg1
= (wxWindow
*) 0 ;
27495 PyObject
* obj0
= 0 ;
27496 char *kwnames
[] = {
27497 (char *) "self", NULL
27500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27505 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27507 wxPyEndAllowThreads(__tstate
);
27508 if (PyErr_Occurred()) SWIG_fail
;
27512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27523 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27524 PyObject
*resultobj
;
27525 wxWindow
*arg1
= (wxWindow
*) 0 ;
27526 wxString
*arg2
= 0 ;
27527 bool temp2
= False
;
27528 PyObject
* obj0
= 0 ;
27529 PyObject
* obj1
= 0 ;
27530 char *kwnames
[] = {
27531 (char *) "self",(char *) "tip", NULL
27534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27538 arg2
= wxString_in_helper(obj1
);
27539 if (arg2
== NULL
) SWIG_fail
;
27543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27544 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27546 wxPyEndAllowThreads(__tstate
);
27547 if (PyErr_Occurred()) SWIG_fail
;
27549 Py_INCREF(Py_None
); resultobj
= Py_None
;
27564 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27565 PyObject
*resultobj
;
27566 wxWindow
*arg1
= (wxWindow
*) 0 ;
27567 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27568 PyObject
* obj0
= 0 ;
27569 PyObject
* obj1
= 0 ;
27570 char *kwnames
[] = {
27571 (char *) "self",(char *) "tip", NULL
27574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 (arg1
)->SetToolTip(arg2
);
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 Py_INCREF(Py_None
); resultobj
= Py_None
;
27593 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxWindow
*arg1
= (wxWindow
*) 0 ;
27597 PyObject
* obj0
= 0 ;
27598 char *kwnames
[] = {
27599 (char *) "self", NULL
27602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27607 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27609 wxPyEndAllowThreads(__tstate
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27613 resultobj
= wxPyMake_wxObject(result
);
27621 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27622 PyObject
*resultobj
;
27623 wxWindow
*arg1
= (wxWindow
*) 0 ;
27624 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27625 PyObject
* obj0
= 0 ;
27626 PyObject
* obj1
= 0 ;
27627 char *kwnames
[] = {
27628 (char *) "self",(char *) "dropTarget", NULL
27631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27635 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27638 (arg1
)->SetDropTarget(arg2
);
27640 wxPyEndAllowThreads(__tstate
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27643 Py_INCREF(Py_None
); resultobj
= Py_None
;
27650 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27651 PyObject
*resultobj
;
27652 wxWindow
*arg1
= (wxWindow
*) 0 ;
27653 wxPyDropTarget
*result
;
27654 PyObject
* obj0
= 0 ;
27655 char *kwnames
[] = {
27656 (char *) "self", NULL
27659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27664 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27666 wxPyEndAllowThreads(__tstate
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27676 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27677 PyObject
*resultobj
;
27678 wxWindow
*arg1
= (wxWindow
*) 0 ;
27680 PyObject
* obj0
= 0 ;
27681 PyObject
* obj1
= 0 ;
27682 char *kwnames
[] = {
27683 (char *) "self",(char *) "accept", NULL
27686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
27687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27689 arg2
= (bool) SWIG_AsBool(obj1
);
27690 if (PyErr_Occurred()) SWIG_fail
;
27692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27693 (arg1
)->DragAcceptFiles(arg2
);
27695 wxPyEndAllowThreads(__tstate
);
27696 if (PyErr_Occurred()) SWIG_fail
;
27698 Py_INCREF(Py_None
); resultobj
= Py_None
;
27705 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27706 PyObject
*resultobj
;
27707 wxWindow
*arg1
= (wxWindow
*) 0 ;
27708 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27709 PyObject
* obj0
= 0 ;
27710 PyObject
* obj1
= 0 ;
27711 char *kwnames
[] = {
27712 (char *) "self",(char *) "constraints", NULL
27715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27722 (arg1
)->SetConstraints(arg2
);
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 Py_INCREF(Py_None
); resultobj
= Py_None
;
27734 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
;
27736 wxWindow
*arg1
= (wxWindow
*) 0 ;
27737 wxLayoutConstraints
*result
;
27738 PyObject
* obj0
= 0 ;
27739 char *kwnames
[] = {
27740 (char *) "self", NULL
27743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27748 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27750 wxPyEndAllowThreads(__tstate
);
27751 if (PyErr_Occurred()) SWIG_fail
;
27753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27760 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27761 PyObject
*resultobj
;
27762 wxWindow
*arg1
= (wxWindow
*) 0 ;
27764 PyObject
* obj0
= 0 ;
27765 PyObject
* obj1
= 0 ;
27766 char *kwnames
[] = {
27767 (char *) "self",(char *) "autoLayout", NULL
27770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27773 arg2
= (bool) SWIG_AsBool(obj1
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27777 (arg1
)->SetAutoLayout(arg2
);
27779 wxPyEndAllowThreads(__tstate
);
27780 if (PyErr_Occurred()) SWIG_fail
;
27782 Py_INCREF(Py_None
); resultobj
= Py_None
;
27789 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27790 PyObject
*resultobj
;
27791 wxWindow
*arg1
= (wxWindow
*) 0 ;
27793 PyObject
* obj0
= 0 ;
27794 char *kwnames
[] = {
27795 (char *) "self", NULL
27798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27803 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27805 wxPyEndAllowThreads(__tstate
);
27806 if (PyErr_Occurred()) SWIG_fail
;
27809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27817 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27818 PyObject
*resultobj
;
27819 wxWindow
*arg1
= (wxWindow
*) 0 ;
27821 PyObject
* obj0
= 0 ;
27822 char *kwnames
[] = {
27823 (char *) "self", NULL
27826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 result
= (bool)(arg1
)->Layout();
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27845 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27846 PyObject
*resultobj
;
27847 wxWindow
*arg1
= (wxWindow
*) 0 ;
27848 wxSizer
*arg2
= (wxSizer
*) 0 ;
27849 bool arg3
= (bool) True
;
27850 PyObject
* obj0
= 0 ;
27851 PyObject
* obj1
= 0 ;
27852 PyObject
* obj2
= 0 ;
27853 char *kwnames
[] = {
27854 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27863 arg3
= (bool) SWIG_AsBool(obj2
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 (arg1
)->SetSizer(arg2
,arg3
);
27870 wxPyEndAllowThreads(__tstate
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27873 Py_INCREF(Py_None
); resultobj
= Py_None
;
27880 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27881 PyObject
*resultobj
;
27882 wxWindow
*arg1
= (wxWindow
*) 0 ;
27883 wxSizer
*arg2
= (wxSizer
*) 0 ;
27884 bool arg3
= (bool) True
;
27885 PyObject
* obj0
= 0 ;
27886 PyObject
* obj1
= 0 ;
27887 PyObject
* obj2
= 0 ;
27888 char *kwnames
[] = {
27889 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27898 arg3
= (bool) SWIG_AsBool(obj2
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27903 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27908 Py_INCREF(Py_None
); resultobj
= Py_None
;
27915 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27916 PyObject
*resultobj
;
27917 wxWindow
*arg1
= (wxWindow
*) 0 ;
27919 PyObject
* obj0
= 0 ;
27920 char *kwnames
[] = {
27921 (char *) "self", NULL
27924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27929 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27931 wxPyEndAllowThreads(__tstate
);
27932 if (PyErr_Occurred()) SWIG_fail
;
27935 resultobj
= wxPyMake_wxSizer(result
);
27943 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27944 PyObject
*resultobj
;
27945 wxWindow
*arg1
= (wxWindow
*) 0 ;
27946 wxSizer
*arg2
= (wxSizer
*) 0 ;
27947 PyObject
* obj0
= 0 ;
27948 PyObject
* obj1
= 0 ;
27949 char *kwnames
[] = {
27950 (char *) "self",(char *) "sizer", NULL
27953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
27954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27960 (arg1
)->SetContainingSizer(arg2
);
27962 wxPyEndAllowThreads(__tstate
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27965 Py_INCREF(Py_None
); resultobj
= Py_None
;
27972 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27973 PyObject
*resultobj
;
27974 wxWindow
*arg1
= (wxWindow
*) 0 ;
27976 PyObject
* obj0
= 0 ;
27977 char *kwnames
[] = {
27978 (char *) "self", NULL
27981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
27982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27986 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
27988 wxPyEndAllowThreads(__tstate
);
27989 if (PyErr_Occurred()) SWIG_fail
;
27992 resultobj
= wxPyMake_wxSizer(result
);
28000 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28001 PyObject
*resultobj
;
28002 wxWindow
*arg1
= (wxWindow
*) 0 ;
28003 PyObject
* obj0
= 0 ;
28004 char *kwnames
[] = {
28005 (char *) "self", NULL
28008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28013 (arg1
)->InheritAttributes();
28015 wxPyEndAllowThreads(__tstate
);
28016 if (PyErr_Occurred()) SWIG_fail
;
28018 Py_INCREF(Py_None
); resultobj
= Py_None
;
28025 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28026 PyObject
*resultobj
;
28027 wxWindow
*arg1
= (wxWindow
*) 0 ;
28029 PyObject
* obj0
= 0 ;
28030 char *kwnames
[] = {
28031 (char *) "self", NULL
28034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28039 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28041 wxPyEndAllowThreads(__tstate
);
28042 if (PyErr_Occurred()) SWIG_fail
;
28045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28053 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
28055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28056 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28058 return Py_BuildValue((char *)"");
28060 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28061 PyObject
*resultobj
;
28063 wxWindow
*arg2
= (wxWindow
*) NULL
;
28065 PyObject
* obj0
= 0 ;
28066 PyObject
* obj1
= 0 ;
28067 char *kwnames
[] = {
28068 (char *) "id",(char *) "parent", NULL
28071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28072 arg1
= (long) SWIG_AsLong(obj0
);
28073 if (PyErr_Occurred()) SWIG_fail
;
28075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28079 if (!wxPyCheckForApp()) SWIG_fail
;
28080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28081 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28083 wxPyEndAllowThreads(__tstate
);
28084 if (PyErr_Occurred()) SWIG_fail
;
28087 resultobj
= wxPyMake_wxObject(result
);
28095 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28096 PyObject
*resultobj
;
28097 wxString
*arg1
= 0 ;
28098 wxWindow
*arg2
= (wxWindow
*) NULL
;
28100 bool temp1
= False
;
28101 PyObject
* obj0
= 0 ;
28102 PyObject
* obj1
= 0 ;
28103 char *kwnames
[] = {
28104 (char *) "name",(char *) "parent", NULL
28107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28109 arg1
= wxString_in_helper(obj0
);
28110 if (arg1
== NULL
) SWIG_fail
;
28114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28118 if (!wxPyCheckForApp()) SWIG_fail
;
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28122 wxPyEndAllowThreads(__tstate
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28126 resultobj
= wxPyMake_wxObject(result
);
28142 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28143 PyObject
*resultobj
;
28144 wxString
*arg1
= 0 ;
28145 wxWindow
*arg2
= (wxWindow
*) NULL
;
28147 bool temp1
= False
;
28148 PyObject
* obj0
= 0 ;
28149 PyObject
* obj1
= 0 ;
28150 char *kwnames
[] = {
28151 (char *) "label",(char *) "parent", NULL
28154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28156 arg1
= wxString_in_helper(obj0
);
28157 if (arg1
== NULL
) SWIG_fail
;
28161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28165 if (!wxPyCheckForApp()) SWIG_fail
;
28166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28167 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28169 wxPyEndAllowThreads(__tstate
);
28170 if (PyErr_Occurred()) SWIG_fail
;
28173 resultobj
= wxPyMake_wxObject(result
);
28189 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28190 PyObject
*resultobj
;
28191 wxWindow
*arg1
= (wxWindow
*) 0 ;
28192 unsigned long arg2
;
28194 PyObject
* obj0
= 0 ;
28195 PyObject
* obj1
= 0 ;
28196 char *kwnames
[] = {
28197 (char *) "parent",(char *) "_hWnd", NULL
28200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28203 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28207 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28209 wxPyEndAllowThreads(__tstate
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28213 resultobj
= wxPyMake_wxObject(result
);
28221 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28222 PyObject
*resultobj
;
28223 wxValidator
*result
;
28224 char *kwnames
[] = {
28228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28231 result
= (wxValidator
*)new wxValidator();
28233 wxPyEndAllowThreads(__tstate
);
28234 if (PyErr_Occurred()) SWIG_fail
;
28237 resultobj
= wxPyMake_wxObject(result
);
28245 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28246 PyObject
*resultobj
;
28247 wxValidator
*arg1
= (wxValidator
*) 0 ;
28248 wxValidator
*result
;
28249 PyObject
* obj0
= 0 ;
28250 char *kwnames
[] = {
28251 (char *) "self", NULL
28254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28259 result
= (wxValidator
*)(arg1
)->Clone();
28261 wxPyEndAllowThreads(__tstate
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28265 resultobj
= wxPyMake_wxObject(result
);
28273 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28274 PyObject
*resultobj
;
28275 wxValidator
*arg1
= (wxValidator
*) 0 ;
28276 wxWindow
*arg2
= (wxWindow
*) 0 ;
28278 PyObject
* obj0
= 0 ;
28279 PyObject
* obj1
= 0 ;
28280 char *kwnames
[] = {
28281 (char *) "self",(char *) "parent", NULL
28284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28291 result
= (bool)(arg1
)->Validate(arg2
);
28293 wxPyEndAllowThreads(__tstate
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28305 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28306 PyObject
*resultobj
;
28307 wxValidator
*arg1
= (wxValidator
*) 0 ;
28309 PyObject
* obj0
= 0 ;
28310 char *kwnames
[] = {
28311 (char *) "self", NULL
28314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28319 result
= (bool)(arg1
)->TransferToWindow();
28321 wxPyEndAllowThreads(__tstate
);
28322 if (PyErr_Occurred()) SWIG_fail
;
28325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28333 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28334 PyObject
*resultobj
;
28335 wxValidator
*arg1
= (wxValidator
*) 0 ;
28337 PyObject
* obj0
= 0 ;
28338 char *kwnames
[] = {
28339 (char *) "self", NULL
28342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 result
= (bool)(arg1
)->TransferFromWindow();
28349 wxPyEndAllowThreads(__tstate
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28361 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28362 PyObject
*resultobj
;
28363 wxValidator
*arg1
= (wxValidator
*) 0 ;
28365 PyObject
* obj0
= 0 ;
28366 char *kwnames
[] = {
28367 (char *) "self", NULL
28370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28375 result
= (wxWindow
*)(arg1
)->GetWindow();
28377 wxPyEndAllowThreads(__tstate
);
28378 if (PyErr_Occurred()) SWIG_fail
;
28381 resultobj
= wxPyMake_wxObject(result
);
28389 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28390 PyObject
*resultobj
;
28391 wxValidator
*arg1
= (wxValidator
*) 0 ;
28392 wxWindow
*arg2
= (wxWindow
*) 0 ;
28393 PyObject
* obj0
= 0 ;
28394 PyObject
* obj1
= 0 ;
28395 char *kwnames
[] = {
28396 (char *) "self",(char *) "window", NULL
28399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28406 (arg1
)->SetWindow(arg2
);
28408 wxPyEndAllowThreads(__tstate
);
28409 if (PyErr_Occurred()) SWIG_fail
;
28411 Py_INCREF(Py_None
); resultobj
= Py_None
;
28418 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28419 PyObject
*resultobj
;
28421 char *kwnames
[] = {
28425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28428 result
= (bool)wxValidator::IsSilent();
28430 wxPyEndAllowThreads(__tstate
);
28431 if (PyErr_Occurred()) SWIG_fail
;
28434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28442 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28443 PyObject
*resultobj
;
28444 int arg1
= (int) True
;
28445 PyObject
* obj0
= 0 ;
28446 char *kwnames
[] = {
28447 (char *) "doIt", NULL
28450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28452 arg1
= (int) SWIG_AsInt(obj0
);
28453 if (PyErr_Occurred()) SWIG_fail
;
28456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28457 wxValidator::SetBellOnError(arg1
);
28459 wxPyEndAllowThreads(__tstate
);
28460 if (PyErr_Occurred()) SWIG_fail
;
28462 Py_INCREF(Py_None
); resultobj
= Py_None
;
28469 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28472 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28474 return Py_BuildValue((char *)"");
28476 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28477 PyObject
*resultobj
;
28478 wxPyValidator
*result
;
28479 char *kwnames
[] = {
28483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28486 result
= (wxPyValidator
*)new wxPyValidator();
28488 wxPyEndAllowThreads(__tstate
);
28489 if (PyErr_Occurred()) SWIG_fail
;
28491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28498 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28499 PyObject
*resultobj
;
28500 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28501 PyObject
*arg2
= (PyObject
*) 0 ;
28502 PyObject
*arg3
= (PyObject
*) 0 ;
28503 int arg4
= (int) True
;
28504 PyObject
* obj0
= 0 ;
28505 PyObject
* obj1
= 0 ;
28506 PyObject
* obj2
= 0 ;
28507 PyObject
* obj3
= 0 ;
28508 char *kwnames
[] = {
28509 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28518 arg4
= (int) SWIG_AsInt(obj3
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28523 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28525 wxPyEndAllowThreads(__tstate
);
28526 if (PyErr_Occurred()) SWIG_fail
;
28528 Py_INCREF(Py_None
); resultobj
= Py_None
;
28535 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28538 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28540 return Py_BuildValue((char *)"");
28542 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28543 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28548 static PyObject
*_wrap_DefaultValidator_get() {
28551 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28556 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28557 PyObject
*resultobj
;
28558 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28559 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28560 long arg2
= (long) 0 ;
28562 bool temp1
= False
;
28563 PyObject
* obj0
= 0 ;
28564 PyObject
* obj1
= 0 ;
28565 char *kwnames
[] = {
28566 (char *) "title",(char *) "style", NULL
28569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28572 arg1
= wxString_in_helper(obj0
);
28573 if (arg1
== NULL
) SWIG_fail
;
28578 arg2
= (long) SWIG_AsLong(obj1
);
28579 if (PyErr_Occurred()) SWIG_fail
;
28582 if (!wxPyCheckForApp()) SWIG_fail
;
28583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28584 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28586 wxPyEndAllowThreads(__tstate
);
28587 if (PyErr_Occurred()) SWIG_fail
;
28590 resultobj
= wxPyMake_wxObject(result
);
28606 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28607 PyObject
*resultobj
;
28608 wxMenu
*arg1
= (wxMenu
*) 0 ;
28610 wxString
*arg3
= 0 ;
28611 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28612 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28613 int arg5
= (int) wxITEM_NORMAL
;
28614 wxMenuItem
*result
;
28615 bool temp3
= False
;
28616 bool temp4
= False
;
28617 PyObject
* obj0
= 0 ;
28618 PyObject
* obj1
= 0 ;
28619 PyObject
* obj2
= 0 ;
28620 PyObject
* obj3
= 0 ;
28621 PyObject
* obj4
= 0 ;
28622 char *kwnames
[] = {
28623 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28629 arg2
= (int) SWIG_AsInt(obj1
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28632 arg3
= wxString_in_helper(obj2
);
28633 if (arg3
== NULL
) SWIG_fail
;
28638 arg4
= wxString_in_helper(obj3
);
28639 if (arg4
== NULL
) SWIG_fail
;
28644 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28649 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28651 wxPyEndAllowThreads(__tstate
);
28652 if (PyErr_Occurred()) SWIG_fail
;
28655 resultobj
= wxPyMake_wxObject(result
);
28679 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28680 PyObject
*resultobj
;
28681 wxMenu
*arg1
= (wxMenu
*) 0 ;
28682 wxMenuItem
*result
;
28683 PyObject
* obj0
= 0 ;
28684 char *kwnames
[] = {
28685 (char *) "self", NULL
28688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28693 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28695 wxPyEndAllowThreads(__tstate
);
28696 if (PyErr_Occurred()) SWIG_fail
;
28699 resultobj
= wxPyMake_wxObject(result
);
28707 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28708 PyObject
*resultobj
;
28709 wxMenu
*arg1
= (wxMenu
*) 0 ;
28711 wxString
*arg3
= 0 ;
28712 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28713 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28714 wxMenuItem
*result
;
28715 bool temp3
= False
;
28716 bool temp4
= False
;
28717 PyObject
* obj0
= 0 ;
28718 PyObject
* obj1
= 0 ;
28719 PyObject
* obj2
= 0 ;
28720 PyObject
* obj3
= 0 ;
28721 char *kwnames
[] = {
28722 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28728 arg2
= (int) SWIG_AsInt(obj1
);
28729 if (PyErr_Occurred()) SWIG_fail
;
28731 arg3
= wxString_in_helper(obj2
);
28732 if (arg3
== NULL
) SWIG_fail
;
28737 arg4
= wxString_in_helper(obj3
);
28738 if (arg4
== NULL
) SWIG_fail
;
28743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28744 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28746 wxPyEndAllowThreads(__tstate
);
28747 if (PyErr_Occurred()) SWIG_fail
;
28750 resultobj
= wxPyMake_wxObject(result
);
28774 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28775 PyObject
*resultobj
;
28776 wxMenu
*arg1
= (wxMenu
*) 0 ;
28778 wxString
*arg3
= 0 ;
28779 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28780 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28781 wxMenuItem
*result
;
28782 bool temp3
= False
;
28783 bool temp4
= False
;
28784 PyObject
* obj0
= 0 ;
28785 PyObject
* obj1
= 0 ;
28786 PyObject
* obj2
= 0 ;
28787 PyObject
* obj3
= 0 ;
28788 char *kwnames
[] = {
28789 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28795 arg2
= (int) SWIG_AsInt(obj1
);
28796 if (PyErr_Occurred()) SWIG_fail
;
28798 arg3
= wxString_in_helper(obj2
);
28799 if (arg3
== NULL
) SWIG_fail
;
28804 arg4
= wxString_in_helper(obj3
);
28805 if (arg4
== NULL
) SWIG_fail
;
28810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28811 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28813 wxPyEndAllowThreads(__tstate
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28817 resultobj
= wxPyMake_wxObject(result
);
28841 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28842 PyObject
*resultobj
;
28843 wxMenu
*arg1
= (wxMenu
*) 0 ;
28845 wxString
*arg3
= 0 ;
28846 wxMenu
*arg4
= (wxMenu
*) 0 ;
28847 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28848 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28849 wxMenuItem
*result
;
28850 bool temp3
= False
;
28851 bool temp5
= False
;
28852 PyObject
* obj0
= 0 ;
28853 PyObject
* obj1
= 0 ;
28854 PyObject
* obj2
= 0 ;
28855 PyObject
* obj3
= 0 ;
28856 PyObject
* obj4
= 0 ;
28857 char *kwnames
[] = {
28858 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28864 arg2
= (int) SWIG_AsInt(obj1
);
28865 if (PyErr_Occurred()) SWIG_fail
;
28867 arg3
= wxString_in_helper(obj2
);
28868 if (arg3
== NULL
) SWIG_fail
;
28871 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28875 arg5
= wxString_in_helper(obj4
);
28876 if (arg5
== NULL
) SWIG_fail
;
28881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28882 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28884 wxPyEndAllowThreads(__tstate
);
28885 if (PyErr_Occurred()) SWIG_fail
;
28888 resultobj
= wxPyMake_wxObject(result
);
28912 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28913 PyObject
*resultobj
;
28914 wxMenu
*arg1
= (wxMenu
*) 0 ;
28915 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28916 wxMenuItem
*result
;
28917 PyObject
* obj0
= 0 ;
28918 PyObject
* obj1
= 0 ;
28919 char *kwnames
[] = {
28920 (char *) "self",(char *) "item", NULL
28923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28930 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28932 wxPyEndAllowThreads(__tstate
);
28933 if (PyErr_Occurred()) SWIG_fail
;
28936 resultobj
= wxPyMake_wxObject(result
);
28944 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28945 PyObject
*resultobj
;
28946 wxMenu
*arg1
= (wxMenu
*) 0 ;
28947 PyObject
* obj0
= 0 ;
28948 char *kwnames
[] = {
28949 (char *) "self", NULL
28952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28959 wxPyEndAllowThreads(__tstate
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28962 Py_INCREF(Py_None
); resultobj
= Py_None
;
28969 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28970 PyObject
*resultobj
;
28971 wxMenu
*arg1
= (wxMenu
*) 0 ;
28973 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28974 wxMenuItem
*result
;
28975 PyObject
* obj0
= 0 ;
28976 PyObject
* obj1
= 0 ;
28977 PyObject
* obj2
= 0 ;
28978 char *kwnames
[] = {
28979 (char *) "self",(char *) "pos",(char *) "item", NULL
28982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28985 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28987 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28991 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28993 wxPyEndAllowThreads(__tstate
);
28994 if (PyErr_Occurred()) SWIG_fail
;
28997 resultobj
= wxPyMake_wxObject(result
);
29005 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29006 PyObject
*resultobj
;
29007 wxMenu
*arg1
= (wxMenu
*) 0 ;
29010 wxString
*arg4
= 0 ;
29011 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29012 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29013 int arg6
= (int) wxITEM_NORMAL
;
29014 wxMenuItem
*result
;
29015 bool temp4
= False
;
29016 bool temp5
= False
;
29017 PyObject
* obj0
= 0 ;
29018 PyObject
* obj1
= 0 ;
29019 PyObject
* obj2
= 0 ;
29020 PyObject
* obj3
= 0 ;
29021 PyObject
* obj4
= 0 ;
29022 PyObject
* obj5
= 0 ;
29023 char *kwnames
[] = {
29024 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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
;
29032 arg3
= (int) SWIG_AsInt(obj2
);
29033 if (PyErr_Occurred()) SWIG_fail
;
29035 arg4
= wxString_in_helper(obj3
);
29036 if (arg4
== NULL
) SWIG_fail
;
29041 arg5
= wxString_in_helper(obj4
);
29042 if (arg5
== NULL
) SWIG_fail
;
29047 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
29048 if (PyErr_Occurred()) SWIG_fail
;
29051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29052 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29054 wxPyEndAllowThreads(__tstate
);
29055 if (PyErr_Occurred()) SWIG_fail
;
29058 resultobj
= wxPyMake_wxObject(result
);
29082 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29083 PyObject
*resultobj
;
29084 wxMenu
*arg1
= (wxMenu
*) 0 ;
29086 wxMenuItem
*result
;
29087 PyObject
* obj0
= 0 ;
29088 PyObject
* obj1
= 0 ;
29089 char *kwnames
[] = {
29090 (char *) "self",(char *) "pos", NULL
29093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29096 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29100 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29102 wxPyEndAllowThreads(__tstate
);
29103 if (PyErr_Occurred()) SWIG_fail
;
29106 resultobj
= wxPyMake_wxObject(result
);
29114 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29115 PyObject
*resultobj
;
29116 wxMenu
*arg1
= (wxMenu
*) 0 ;
29119 wxString
*arg4
= 0 ;
29120 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29121 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29122 wxMenuItem
*result
;
29123 bool temp4
= False
;
29124 bool temp5
= False
;
29125 PyObject
* obj0
= 0 ;
29126 PyObject
* obj1
= 0 ;
29127 PyObject
* obj2
= 0 ;
29128 PyObject
* obj3
= 0 ;
29129 PyObject
* obj4
= 0 ;
29130 char *kwnames
[] = {
29131 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29137 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29139 arg3
= (int) SWIG_AsInt(obj2
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29142 arg4
= wxString_in_helper(obj3
);
29143 if (arg4
== NULL
) SWIG_fail
;
29148 arg5
= wxString_in_helper(obj4
);
29149 if (arg5
== NULL
) SWIG_fail
;
29154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29155 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29157 wxPyEndAllowThreads(__tstate
);
29158 if (PyErr_Occurred()) SWIG_fail
;
29161 resultobj
= wxPyMake_wxObject(result
);
29185 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29186 PyObject
*resultobj
;
29187 wxMenu
*arg1
= (wxMenu
*) 0 ;
29190 wxString
*arg4
= 0 ;
29191 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29192 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29193 wxMenuItem
*result
;
29194 bool temp4
= False
;
29195 bool temp5
= False
;
29196 PyObject
* obj0
= 0 ;
29197 PyObject
* obj1
= 0 ;
29198 PyObject
* obj2
= 0 ;
29199 PyObject
* obj3
= 0 ;
29200 PyObject
* obj4
= 0 ;
29201 char *kwnames
[] = {
29202 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29208 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29210 arg3
= (int) SWIG_AsInt(obj2
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29213 arg4
= wxString_in_helper(obj3
);
29214 if (arg4
== NULL
) SWIG_fail
;
29219 arg5
= wxString_in_helper(obj4
);
29220 if (arg5
== NULL
) SWIG_fail
;
29225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29226 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29228 wxPyEndAllowThreads(__tstate
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29232 resultobj
= wxPyMake_wxObject(result
);
29256 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29257 PyObject
*resultobj
;
29258 wxMenu
*arg1
= (wxMenu
*) 0 ;
29261 wxString
*arg4
= 0 ;
29262 wxMenu
*arg5
= (wxMenu
*) 0 ;
29263 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29264 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29265 wxMenuItem
*result
;
29266 bool temp4
= False
;
29267 bool temp6
= False
;
29268 PyObject
* obj0
= 0 ;
29269 PyObject
* obj1
= 0 ;
29270 PyObject
* obj2
= 0 ;
29271 PyObject
* obj3
= 0 ;
29272 PyObject
* obj4
= 0 ;
29273 PyObject
* obj5
= 0 ;
29274 char *kwnames
[] = {
29275 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29281 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29282 if (PyErr_Occurred()) SWIG_fail
;
29283 arg3
= (int) SWIG_AsInt(obj2
);
29284 if (PyErr_Occurred()) SWIG_fail
;
29286 arg4
= wxString_in_helper(obj3
);
29287 if (arg4
== NULL
) SWIG_fail
;
29290 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29294 arg6
= wxString_in_helper(obj5
);
29295 if (arg6
== NULL
) SWIG_fail
;
29300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29301 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29303 wxPyEndAllowThreads(__tstate
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29307 resultobj
= wxPyMake_wxObject(result
);
29331 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29332 PyObject
*resultobj
;
29333 wxMenu
*arg1
= (wxMenu
*) 0 ;
29334 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29335 wxMenuItem
*result
;
29336 PyObject
* obj0
= 0 ;
29337 PyObject
* obj1
= 0 ;
29338 char *kwnames
[] = {
29339 (char *) "self",(char *) "item", NULL
29342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29349 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29351 wxPyEndAllowThreads(__tstate
);
29352 if (PyErr_Occurred()) SWIG_fail
;
29355 resultobj
= wxPyMake_wxObject(result
);
29363 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29364 PyObject
*resultobj
;
29365 wxMenu
*arg1
= (wxMenu
*) 0 ;
29367 wxString
*arg3
= 0 ;
29368 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29369 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29370 int arg5
= (int) wxITEM_NORMAL
;
29371 wxMenuItem
*result
;
29372 bool temp3
= False
;
29373 bool temp4
= False
;
29374 PyObject
* obj0
= 0 ;
29375 PyObject
* obj1
= 0 ;
29376 PyObject
* obj2
= 0 ;
29377 PyObject
* obj3
= 0 ;
29378 PyObject
* obj4
= 0 ;
29379 char *kwnames
[] = {
29380 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29386 arg2
= (int) SWIG_AsInt(obj1
);
29387 if (PyErr_Occurred()) SWIG_fail
;
29389 arg3
= wxString_in_helper(obj2
);
29390 if (arg3
== NULL
) SWIG_fail
;
29395 arg4
= wxString_in_helper(obj3
);
29396 if (arg4
== NULL
) SWIG_fail
;
29401 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29402 if (PyErr_Occurred()) SWIG_fail
;
29405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29406 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29408 wxPyEndAllowThreads(__tstate
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29412 resultobj
= wxPyMake_wxObject(result
);
29436 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29437 PyObject
*resultobj
;
29438 wxMenu
*arg1
= (wxMenu
*) 0 ;
29439 wxMenuItem
*result
;
29440 PyObject
* obj0
= 0 ;
29441 char *kwnames
[] = {
29442 (char *) "self", NULL
29445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29450 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29456 resultobj
= wxPyMake_wxObject(result
);
29464 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29465 PyObject
*resultobj
;
29466 wxMenu
*arg1
= (wxMenu
*) 0 ;
29468 wxString
*arg3
= 0 ;
29469 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29470 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29471 wxMenuItem
*result
;
29472 bool temp3
= False
;
29473 bool temp4
= False
;
29474 PyObject
* obj0
= 0 ;
29475 PyObject
* obj1
= 0 ;
29476 PyObject
* obj2
= 0 ;
29477 PyObject
* obj3
= 0 ;
29478 char *kwnames
[] = {
29479 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29485 arg2
= (int) SWIG_AsInt(obj1
);
29486 if (PyErr_Occurred()) SWIG_fail
;
29488 arg3
= wxString_in_helper(obj2
);
29489 if (arg3
== NULL
) SWIG_fail
;
29494 arg4
= wxString_in_helper(obj3
);
29495 if (arg4
== NULL
) SWIG_fail
;
29500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29501 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29503 wxPyEndAllowThreads(__tstate
);
29504 if (PyErr_Occurred()) SWIG_fail
;
29507 resultobj
= wxPyMake_wxObject(result
);
29531 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29532 PyObject
*resultobj
;
29533 wxMenu
*arg1
= (wxMenu
*) 0 ;
29535 wxString
*arg3
= 0 ;
29536 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29537 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29538 wxMenuItem
*result
;
29539 bool temp3
= False
;
29540 bool temp4
= False
;
29541 PyObject
* obj0
= 0 ;
29542 PyObject
* obj1
= 0 ;
29543 PyObject
* obj2
= 0 ;
29544 PyObject
* obj3
= 0 ;
29545 char *kwnames
[] = {
29546 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29552 arg2
= (int) SWIG_AsInt(obj1
);
29553 if (PyErr_Occurred()) SWIG_fail
;
29555 arg3
= wxString_in_helper(obj2
);
29556 if (arg3
== NULL
) SWIG_fail
;
29561 arg4
= wxString_in_helper(obj3
);
29562 if (arg4
== NULL
) SWIG_fail
;
29567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29568 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29570 wxPyEndAllowThreads(__tstate
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29574 resultobj
= wxPyMake_wxObject(result
);
29598 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29599 PyObject
*resultobj
;
29600 wxMenu
*arg1
= (wxMenu
*) 0 ;
29602 wxString
*arg3
= 0 ;
29603 wxMenu
*arg4
= (wxMenu
*) 0 ;
29604 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29605 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29606 wxMenuItem
*result
;
29607 bool temp3
= False
;
29608 bool temp5
= False
;
29609 PyObject
* obj0
= 0 ;
29610 PyObject
* obj1
= 0 ;
29611 PyObject
* obj2
= 0 ;
29612 PyObject
* obj3
= 0 ;
29613 PyObject
* obj4
= 0 ;
29614 char *kwnames
[] = {
29615 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29621 arg2
= (int) SWIG_AsInt(obj1
);
29622 if (PyErr_Occurred()) SWIG_fail
;
29624 arg3
= wxString_in_helper(obj2
);
29625 if (arg3
== NULL
) SWIG_fail
;
29628 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29632 arg5
= wxString_in_helper(obj4
);
29633 if (arg5
== NULL
) SWIG_fail
;
29638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29639 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29641 wxPyEndAllowThreads(__tstate
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29645 resultobj
= wxPyMake_wxObject(result
);
29669 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29670 PyObject
*resultobj
;
29671 wxMenu
*arg1
= (wxMenu
*) 0 ;
29673 wxMenuItem
*result
;
29674 PyObject
* obj0
= 0 ;
29675 PyObject
* obj1
= 0 ;
29676 char *kwnames
[] = {
29677 (char *) "self",(char *) "id", NULL
29680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29683 arg2
= (int) SWIG_AsInt(obj1
);
29684 if (PyErr_Occurred()) SWIG_fail
;
29686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29687 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29689 wxPyEndAllowThreads(__tstate
);
29690 if (PyErr_Occurred()) SWIG_fail
;
29693 resultobj
= wxPyMake_wxObject(result
);
29701 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29702 PyObject
*resultobj
;
29703 wxMenu
*arg1
= (wxMenu
*) 0 ;
29704 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29705 wxMenuItem
*result
;
29706 PyObject
* obj0
= 0 ;
29707 PyObject
* obj1
= 0 ;
29708 char *kwnames
[] = {
29709 (char *) "self",(char *) "item", NULL
29712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29719 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29721 wxPyEndAllowThreads(__tstate
);
29722 if (PyErr_Occurred()) SWIG_fail
;
29725 resultobj
= wxPyMake_wxObject(result
);
29733 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29734 PyObject
*resultobj
;
29735 wxMenu
*arg1
= (wxMenu
*) 0 ;
29738 PyObject
* obj0
= 0 ;
29739 PyObject
* obj1
= 0 ;
29740 char *kwnames
[] = {
29741 (char *) "self",(char *) "id", NULL
29744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29747 arg2
= (int) SWIG_AsInt(obj1
);
29748 if (PyErr_Occurred()) SWIG_fail
;
29750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29751 result
= (bool)(arg1
)->Delete(arg2
);
29753 wxPyEndAllowThreads(__tstate
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29765 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29766 PyObject
*resultobj
;
29767 wxMenu
*arg1
= (wxMenu
*) 0 ;
29768 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29770 PyObject
* obj0
= 0 ;
29771 PyObject
* obj1
= 0 ;
29772 char *kwnames
[] = {
29773 (char *) "self",(char *) "item", NULL
29776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29783 result
= (bool)(arg1
)->Delete(arg2
);
29785 wxPyEndAllowThreads(__tstate
);
29786 if (PyErr_Occurred()) SWIG_fail
;
29789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29797 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29798 PyObject
*resultobj
;
29799 wxMenu
*arg1
= (wxMenu
*) 0 ;
29800 PyObject
* obj0
= 0 ;
29801 char *kwnames
[] = {
29802 (char *) "self", NULL
29805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29810 wxMenu_Destroy(arg1
);
29812 wxPyEndAllowThreads(__tstate
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29815 Py_INCREF(Py_None
); resultobj
= Py_None
;
29822 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29823 PyObject
*resultobj
;
29824 wxMenu
*arg1
= (wxMenu
*) 0 ;
29827 PyObject
* obj0
= 0 ;
29828 PyObject
* obj1
= 0 ;
29829 char *kwnames
[] = {
29830 (char *) "self",(char *) "id", NULL
29833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29836 arg2
= (int) SWIG_AsInt(obj1
);
29837 if (PyErr_Occurred()) SWIG_fail
;
29839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29840 result
= (bool)(arg1
)->Destroy(arg2
);
29842 wxPyEndAllowThreads(__tstate
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29854 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29855 PyObject
*resultobj
;
29856 wxMenu
*arg1
= (wxMenu
*) 0 ;
29857 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29859 PyObject
* obj0
= 0 ;
29860 PyObject
* obj1
= 0 ;
29861 char *kwnames
[] = {
29862 (char *) "self",(char *) "item", NULL
29865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29872 result
= (bool)(arg1
)->Destroy(arg2
);
29874 wxPyEndAllowThreads(__tstate
);
29875 if (PyErr_Occurred()) SWIG_fail
;
29878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29886 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29887 PyObject
*resultobj
;
29888 wxMenu
*arg1
= (wxMenu
*) 0 ;
29890 PyObject
* obj0
= 0 ;
29891 char *kwnames
[] = {
29892 (char *) "self", NULL
29895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29900 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29902 wxPyEndAllowThreads(__tstate
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29905 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29912 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29913 PyObject
*resultobj
;
29914 wxMenu
*arg1
= (wxMenu
*) 0 ;
29916 PyObject
* obj0
= 0 ;
29917 char *kwnames
[] = {
29918 (char *) "self", NULL
29921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29926 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29928 wxPyEndAllowThreads(__tstate
);
29929 if (PyErr_Occurred()) SWIG_fail
;
29931 resultobj
= result
;
29938 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29939 PyObject
*resultobj
;
29940 wxMenu
*arg1
= (wxMenu
*) 0 ;
29941 wxString
*arg2
= 0 ;
29943 bool temp2
= False
;
29944 PyObject
* obj0
= 0 ;
29945 PyObject
* obj1
= 0 ;
29946 char *kwnames
[] = {
29947 (char *) "self",(char *) "item", NULL
29950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29954 arg2
= wxString_in_helper(obj1
);
29955 if (arg2
== NULL
) SWIG_fail
;
29959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29960 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29962 wxPyEndAllowThreads(__tstate
);
29963 if (PyErr_Occurred()) SWIG_fail
;
29965 resultobj
= SWIG_FromInt((int)result
);
29980 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29981 PyObject
*resultobj
;
29982 wxMenu
*arg1
= (wxMenu
*) 0 ;
29984 wxMenuItem
*result
;
29985 PyObject
* obj0
= 0 ;
29986 PyObject
* obj1
= 0 ;
29987 char *kwnames
[] = {
29988 (char *) "self",(char *) "id", NULL
29991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29994 arg2
= (int) SWIG_AsInt(obj1
);
29995 if (PyErr_Occurred()) SWIG_fail
;
29997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29998 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30000 wxPyEndAllowThreads(__tstate
);
30001 if (PyErr_Occurred()) SWIG_fail
;
30004 resultobj
= wxPyMake_wxObject(result
);
30012 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30013 PyObject
*resultobj
;
30014 wxMenu
*arg1
= (wxMenu
*) 0 ;
30016 wxMenuItem
*result
;
30017 PyObject
* obj0
= 0 ;
30018 PyObject
* obj1
= 0 ;
30019 char *kwnames
[] = {
30020 (char *) "self",(char *) "position", NULL
30023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30026 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30027 if (PyErr_Occurred()) SWIG_fail
;
30029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30030 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30032 wxPyEndAllowThreads(__tstate
);
30033 if (PyErr_Occurred()) SWIG_fail
;
30036 resultobj
= wxPyMake_wxObject(result
);
30044 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30045 PyObject
*resultobj
;
30046 wxMenu
*arg1
= (wxMenu
*) 0 ;
30049 PyObject
* obj0
= 0 ;
30050 PyObject
* obj1
= 0 ;
30051 PyObject
* obj2
= 0 ;
30052 char *kwnames
[] = {
30053 (char *) "self",(char *) "id",(char *) "enable", NULL
30056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30059 arg2
= (int) SWIG_AsInt(obj1
);
30060 if (PyErr_Occurred()) SWIG_fail
;
30061 arg3
= (bool) SWIG_AsBool(obj2
);
30062 if (PyErr_Occurred()) SWIG_fail
;
30064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 (arg1
)->Enable(arg2
,arg3
);
30067 wxPyEndAllowThreads(__tstate
);
30068 if (PyErr_Occurred()) SWIG_fail
;
30070 Py_INCREF(Py_None
); resultobj
= Py_None
;
30077 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30078 PyObject
*resultobj
;
30079 wxMenu
*arg1
= (wxMenu
*) 0 ;
30082 PyObject
* obj0
= 0 ;
30083 PyObject
* obj1
= 0 ;
30084 char *kwnames
[] = {
30085 (char *) "self",(char *) "id", NULL
30088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30091 arg2
= (int) SWIG_AsInt(obj1
);
30092 if (PyErr_Occurred()) SWIG_fail
;
30094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30095 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30097 wxPyEndAllowThreads(__tstate
);
30098 if (PyErr_Occurred()) SWIG_fail
;
30101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30109 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30110 PyObject
*resultobj
;
30111 wxMenu
*arg1
= (wxMenu
*) 0 ;
30114 PyObject
* obj0
= 0 ;
30115 PyObject
* obj1
= 0 ;
30116 PyObject
* obj2
= 0 ;
30117 char *kwnames
[] = {
30118 (char *) "self",(char *) "id",(char *) "check", NULL
30121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",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
;
30126 arg3
= (bool) SWIG_AsBool(obj2
);
30127 if (PyErr_Occurred()) SWIG_fail
;
30129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30130 (arg1
)->Check(arg2
,arg3
);
30132 wxPyEndAllowThreads(__tstate
);
30133 if (PyErr_Occurred()) SWIG_fail
;
30135 Py_INCREF(Py_None
); resultobj
= Py_None
;
30142 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30143 PyObject
*resultobj
;
30144 wxMenu
*arg1
= (wxMenu
*) 0 ;
30147 PyObject
* obj0
= 0 ;
30148 PyObject
* obj1
= 0 ;
30149 char *kwnames
[] = {
30150 (char *) "self",(char *) "id", NULL
30153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30156 arg2
= (int) SWIG_AsInt(obj1
);
30157 if (PyErr_Occurred()) SWIG_fail
;
30159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30160 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30162 wxPyEndAllowThreads(__tstate
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30174 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30175 PyObject
*resultobj
;
30176 wxMenu
*arg1
= (wxMenu
*) 0 ;
30178 wxString
*arg3
= 0 ;
30179 bool temp3
= False
;
30180 PyObject
* obj0
= 0 ;
30181 PyObject
* obj1
= 0 ;
30182 PyObject
* obj2
= 0 ;
30183 char *kwnames
[] = {
30184 (char *) "self",(char *) "id",(char *) "label", NULL
30187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30190 arg2
= (int) SWIG_AsInt(obj1
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30193 arg3
= wxString_in_helper(obj2
);
30194 if (arg3
== NULL
) SWIG_fail
;
30198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30199 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30201 wxPyEndAllowThreads(__tstate
);
30202 if (PyErr_Occurred()) SWIG_fail
;
30204 Py_INCREF(Py_None
); resultobj
= Py_None
;
30219 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30220 PyObject
*resultobj
;
30221 wxMenu
*arg1
= (wxMenu
*) 0 ;
30224 PyObject
* obj0
= 0 ;
30225 PyObject
* obj1
= 0 ;
30226 char *kwnames
[] = {
30227 (char *) "self",(char *) "id", NULL
30230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30233 arg2
= (int) SWIG_AsInt(obj1
);
30234 if (PyErr_Occurred()) SWIG_fail
;
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30239 wxPyEndAllowThreads(__tstate
);
30240 if (PyErr_Occurred()) SWIG_fail
;
30244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30255 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30256 PyObject
*resultobj
;
30257 wxMenu
*arg1
= (wxMenu
*) 0 ;
30259 wxString
*arg3
= 0 ;
30260 bool temp3
= False
;
30261 PyObject
* obj0
= 0 ;
30262 PyObject
* obj1
= 0 ;
30263 PyObject
* obj2
= 0 ;
30264 char *kwnames
[] = {
30265 (char *) "self",(char *) "id",(char *) "helpString", NULL
30268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30271 arg2
= (int) SWIG_AsInt(obj1
);
30272 if (PyErr_Occurred()) SWIG_fail
;
30274 arg3
= wxString_in_helper(obj2
);
30275 if (arg3
== NULL
) SWIG_fail
;
30279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30280 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30282 wxPyEndAllowThreads(__tstate
);
30283 if (PyErr_Occurred()) SWIG_fail
;
30285 Py_INCREF(Py_None
); resultobj
= Py_None
;
30300 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30301 PyObject
*resultobj
;
30302 wxMenu
*arg1
= (wxMenu
*) 0 ;
30305 PyObject
* obj0
= 0 ;
30306 PyObject
* obj1
= 0 ;
30307 char *kwnames
[] = {
30308 (char *) "self",(char *) "id", NULL
30311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30314 arg2
= (int) SWIG_AsInt(obj1
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30318 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30320 wxPyEndAllowThreads(__tstate
);
30321 if (PyErr_Occurred()) SWIG_fail
;
30325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30336 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30337 PyObject
*resultobj
;
30338 wxMenu
*arg1
= (wxMenu
*) 0 ;
30339 wxString
*arg2
= 0 ;
30340 bool temp2
= False
;
30341 PyObject
* obj0
= 0 ;
30342 PyObject
* obj1
= 0 ;
30343 char *kwnames
[] = {
30344 (char *) "self",(char *) "title", NULL
30347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30351 arg2
= wxString_in_helper(obj1
);
30352 if (arg2
== NULL
) SWIG_fail
;
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 (arg1
)->SetTitle((wxString
const &)*arg2
);
30359 wxPyEndAllowThreads(__tstate
);
30360 if (PyErr_Occurred()) SWIG_fail
;
30362 Py_INCREF(Py_None
); resultobj
= Py_None
;
30377 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30378 PyObject
*resultobj
;
30379 wxMenu
*arg1
= (wxMenu
*) 0 ;
30381 PyObject
* obj0
= 0 ;
30382 char *kwnames
[] = {
30383 (char *) "self", NULL
30386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30391 result
= ((wxMenu
const *)arg1
)->GetTitle();
30393 wxPyEndAllowThreads(__tstate
);
30394 if (PyErr_Occurred()) SWIG_fail
;
30398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30409 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30410 PyObject
*resultobj
;
30411 wxMenu
*arg1
= (wxMenu
*) 0 ;
30412 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30413 PyObject
* obj0
= 0 ;
30414 PyObject
* obj1
= 0 ;
30415 char *kwnames
[] = {
30416 (char *) "self",(char *) "handler", NULL
30419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30426 (arg1
)->SetEventHandler(arg2
);
30428 wxPyEndAllowThreads(__tstate
);
30429 if (PyErr_Occurred()) SWIG_fail
;
30431 Py_INCREF(Py_None
); resultobj
= Py_None
;
30438 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30439 PyObject
*resultobj
;
30440 wxMenu
*arg1
= (wxMenu
*) 0 ;
30441 wxEvtHandler
*result
;
30442 PyObject
* obj0
= 0 ;
30443 char *kwnames
[] = {
30444 (char *) "self", NULL
30447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30452 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30454 wxPyEndAllowThreads(__tstate
);
30455 if (PyErr_Occurred()) SWIG_fail
;
30458 resultobj
= wxPyMake_wxObject(result
);
30466 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30467 PyObject
*resultobj
;
30468 wxMenu
*arg1
= (wxMenu
*) 0 ;
30469 wxWindow
*arg2
= (wxWindow
*) 0 ;
30470 PyObject
* obj0
= 0 ;
30471 PyObject
* obj1
= 0 ;
30472 char *kwnames
[] = {
30473 (char *) "self",(char *) "win", NULL
30476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30483 (arg1
)->SetInvokingWindow(arg2
);
30485 wxPyEndAllowThreads(__tstate
);
30486 if (PyErr_Occurred()) SWIG_fail
;
30488 Py_INCREF(Py_None
); resultobj
= Py_None
;
30495 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
;
30497 wxMenu
*arg1
= (wxMenu
*) 0 ;
30499 PyObject
* obj0
= 0 ;
30500 char *kwnames
[] = {
30501 (char *) "self", NULL
30504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30509 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30511 wxPyEndAllowThreads(__tstate
);
30512 if (PyErr_Occurred()) SWIG_fail
;
30515 resultobj
= wxPyMake_wxObject(result
);
30523 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30524 PyObject
*resultobj
;
30525 wxMenu
*arg1
= (wxMenu
*) 0 ;
30527 PyObject
* obj0
= 0 ;
30528 char *kwnames
[] = {
30529 (char *) "self", NULL
30532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30537 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30539 wxPyEndAllowThreads(__tstate
);
30540 if (PyErr_Occurred()) SWIG_fail
;
30542 resultobj
= SWIG_FromLong((long)result
);
30549 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30550 PyObject
*resultobj
;
30551 wxMenu
*arg1
= (wxMenu
*) 0 ;
30552 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30553 PyObject
* obj0
= 0 ;
30554 PyObject
* obj1
= 0 ;
30555 char *kwnames
[] = {
30556 (char *) "self",(char *) "source", NULL
30559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30568 (arg1
)->UpdateUI(arg2
);
30570 wxPyEndAllowThreads(__tstate
);
30571 if (PyErr_Occurred()) SWIG_fail
;
30573 Py_INCREF(Py_None
); resultobj
= Py_None
;
30580 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30581 PyObject
*resultobj
;
30582 wxMenu
*arg1
= (wxMenu
*) 0 ;
30584 PyObject
* obj0
= 0 ;
30585 char *kwnames
[] = {
30586 (char *) "self", NULL
30589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30594 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30596 wxPyEndAllowThreads(__tstate
);
30597 if (PyErr_Occurred()) SWIG_fail
;
30600 resultobj
= wxPyMake_wxObject(result
);
30608 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30609 PyObject
*resultobj
;
30610 wxMenu
*arg1
= (wxMenu
*) 0 ;
30611 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30612 PyObject
* obj0
= 0 ;
30613 PyObject
* obj1
= 0 ;
30614 char *kwnames
[] = {
30615 (char *) "self",(char *) "menubar", NULL
30618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30625 (arg1
)->Attach(arg2
);
30627 wxPyEndAllowThreads(__tstate
);
30628 if (PyErr_Occurred()) SWIG_fail
;
30630 Py_INCREF(Py_None
); resultobj
= Py_None
;
30637 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30638 PyObject
*resultobj
;
30639 wxMenu
*arg1
= (wxMenu
*) 0 ;
30640 PyObject
* obj0
= 0 ;
30641 char *kwnames
[] = {
30642 (char *) "self", NULL
30645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30652 wxPyEndAllowThreads(__tstate
);
30653 if (PyErr_Occurred()) SWIG_fail
;
30655 Py_INCREF(Py_None
); resultobj
= Py_None
;
30662 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30663 PyObject
*resultobj
;
30664 wxMenu
*arg1
= (wxMenu
*) 0 ;
30666 PyObject
* obj0
= 0 ;
30667 char *kwnames
[] = {
30668 (char *) "self", NULL
30671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30676 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30678 wxPyEndAllowThreads(__tstate
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30690 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
;
30692 wxMenu
*arg1
= (wxMenu
*) 0 ;
30693 wxMenu
*arg2
= (wxMenu
*) 0 ;
30694 PyObject
* obj0
= 0 ;
30695 PyObject
* obj1
= 0 ;
30696 char *kwnames
[] = {
30697 (char *) "self",(char *) "parent", NULL
30700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30707 (arg1
)->SetParent(arg2
);
30709 wxPyEndAllowThreads(__tstate
);
30710 if (PyErr_Occurred()) SWIG_fail
;
30712 Py_INCREF(Py_None
); resultobj
= Py_None
;
30719 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30720 PyObject
*resultobj
;
30721 wxMenu
*arg1
= (wxMenu
*) 0 ;
30723 PyObject
* obj0
= 0 ;
30724 char *kwnames
[] = {
30725 (char *) "self", NULL
30728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30733 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30735 wxPyEndAllowThreads(__tstate
);
30736 if (PyErr_Occurred()) SWIG_fail
;
30739 resultobj
= wxPyMake_wxObject(result
);
30747 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30750 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30752 return Py_BuildValue((char *)"");
30754 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30755 PyObject
*resultobj
;
30756 long arg1
= (long) 0 ;
30758 PyObject
* obj0
= 0 ;
30759 char *kwnames
[] = {
30760 (char *) "style", NULL
30763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30765 arg1
= (long) SWIG_AsLong(obj0
);
30766 if (PyErr_Occurred()) SWIG_fail
;
30769 if (!wxPyCheckForApp()) SWIG_fail
;
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30773 wxPyEndAllowThreads(__tstate
);
30774 if (PyErr_Occurred()) SWIG_fail
;
30777 resultobj
= wxPyMake_wxObject(result
);
30785 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30786 PyObject
*resultobj
;
30787 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30788 wxMenu
*arg2
= (wxMenu
*) 0 ;
30789 wxString
*arg3
= 0 ;
30791 bool temp3
= False
;
30792 PyObject
* obj0
= 0 ;
30793 PyObject
* obj1
= 0 ;
30794 PyObject
* obj2
= 0 ;
30795 char *kwnames
[] = {
30796 (char *) "self",(char *) "menu",(char *) "title", NULL
30799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30805 arg3
= wxString_in_helper(obj2
);
30806 if (arg3
== NULL
) SWIG_fail
;
30810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30811 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30813 wxPyEndAllowThreads(__tstate
);
30814 if (PyErr_Occurred()) SWIG_fail
;
30817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30833 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30834 PyObject
*resultobj
;
30835 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30837 wxMenu
*arg3
= (wxMenu
*) 0 ;
30838 wxString
*arg4
= 0 ;
30840 bool temp4
= False
;
30841 PyObject
* obj0
= 0 ;
30842 PyObject
* obj1
= 0 ;
30843 PyObject
* obj2
= 0 ;
30844 PyObject
* obj3
= 0 ;
30845 char *kwnames
[] = {
30846 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30852 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30853 if (PyErr_Occurred()) SWIG_fail
;
30854 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30857 arg4
= wxString_in_helper(obj3
);
30858 if (arg4
== NULL
) SWIG_fail
;
30862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30863 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30865 wxPyEndAllowThreads(__tstate
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30885 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30886 PyObject
*resultobj
;
30887 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30889 PyObject
* obj0
= 0 ;
30890 char *kwnames
[] = {
30891 (char *) "self", NULL
30894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30899 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30901 wxPyEndAllowThreads(__tstate
);
30902 if (PyErr_Occurred()) SWIG_fail
;
30904 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30911 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30912 PyObject
*resultobj
;
30913 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30916 PyObject
* obj0
= 0 ;
30917 PyObject
* obj1
= 0 ;
30918 char *kwnames
[] = {
30919 (char *) "self",(char *) "pos", NULL
30922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30925 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30929 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30931 wxPyEndAllowThreads(__tstate
);
30932 if (PyErr_Occurred()) SWIG_fail
;
30935 resultobj
= wxPyMake_wxObject(result
);
30943 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30944 PyObject
*resultobj
;
30945 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30947 wxMenu
*arg3
= (wxMenu
*) 0 ;
30948 wxString
*arg4
= 0 ;
30950 bool temp4
= False
;
30951 PyObject
* obj0
= 0 ;
30952 PyObject
* obj1
= 0 ;
30953 PyObject
* obj2
= 0 ;
30954 PyObject
* obj3
= 0 ;
30955 char *kwnames
[] = {
30956 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30962 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30963 if (PyErr_Occurred()) SWIG_fail
;
30964 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30967 arg4
= wxString_in_helper(obj3
);
30968 if (arg4
== NULL
) SWIG_fail
;
30972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30973 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30975 wxPyEndAllowThreads(__tstate
);
30976 if (PyErr_Occurred()) SWIG_fail
;
30979 resultobj
= wxPyMake_wxObject(result
);
30995 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30996 PyObject
*resultobj
;
30997 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31000 PyObject
* obj0
= 0 ;
31001 PyObject
* obj1
= 0 ;
31002 char *kwnames
[] = {
31003 (char *) "self",(char *) "pos", NULL
31006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31009 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31013 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31015 wxPyEndAllowThreads(__tstate
);
31016 if (PyErr_Occurred()) SWIG_fail
;
31019 resultobj
= wxPyMake_wxObject(result
);
31027 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31028 PyObject
*resultobj
;
31029 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31032 PyObject
* obj0
= 0 ;
31033 PyObject
* obj1
= 0 ;
31034 PyObject
* obj2
= 0 ;
31035 char *kwnames
[] = {
31036 (char *) "self",(char *) "pos",(char *) "enable", NULL
31039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31042 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31043 if (PyErr_Occurred()) SWIG_fail
;
31044 arg3
= (bool) SWIG_AsBool(obj2
);
31045 if (PyErr_Occurred()) SWIG_fail
;
31047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31048 (arg1
)->EnableTop(arg2
,arg3
);
31050 wxPyEndAllowThreads(__tstate
);
31051 if (PyErr_Occurred()) SWIG_fail
;
31053 Py_INCREF(Py_None
); resultobj
= Py_None
;
31060 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31061 PyObject
*resultobj
;
31062 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31065 PyObject
* obj0
= 0 ;
31066 PyObject
* obj1
= 0 ;
31067 char *kwnames
[] = {
31068 (char *) "self",(char *) "pos", NULL
31071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31074 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31075 if (PyErr_Occurred()) SWIG_fail
;
31077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31078 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31080 wxPyEndAllowThreads(__tstate
);
31081 if (PyErr_Occurred()) SWIG_fail
;
31084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31092 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31093 PyObject
*resultobj
;
31094 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31096 wxString
*arg3
= 0 ;
31097 bool temp3
= False
;
31098 PyObject
* obj0
= 0 ;
31099 PyObject
* obj1
= 0 ;
31100 PyObject
* obj2
= 0 ;
31101 char *kwnames
[] = {
31102 (char *) "self",(char *) "pos",(char *) "label", NULL
31105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31108 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31109 if (PyErr_Occurred()) SWIG_fail
;
31111 arg3
= wxString_in_helper(obj2
);
31112 if (arg3
== NULL
) SWIG_fail
;
31116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31117 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31119 wxPyEndAllowThreads(__tstate
);
31120 if (PyErr_Occurred()) SWIG_fail
;
31122 Py_INCREF(Py_None
); resultobj
= Py_None
;
31137 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31138 PyObject
*resultobj
;
31139 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31142 PyObject
* obj0
= 0 ;
31143 PyObject
* obj1
= 0 ;
31144 char *kwnames
[] = {
31145 (char *) "self",(char *) "pos", NULL
31148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31151 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31152 if (PyErr_Occurred()) SWIG_fail
;
31154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31155 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31157 wxPyEndAllowThreads(__tstate
);
31158 if (PyErr_Occurred()) SWIG_fail
;
31162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31173 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31174 PyObject
*resultobj
;
31175 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31176 wxString
*arg2
= 0 ;
31177 wxString
*arg3
= 0 ;
31179 bool temp2
= False
;
31180 bool temp3
= False
;
31181 PyObject
* obj0
= 0 ;
31182 PyObject
* obj1
= 0 ;
31183 PyObject
* obj2
= 0 ;
31184 char *kwnames
[] = {
31185 (char *) "self",(char *) "menu",(char *) "item", NULL
31188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31192 arg2
= wxString_in_helper(obj1
);
31193 if (arg2
== NULL
) SWIG_fail
;
31197 arg3
= wxString_in_helper(obj2
);
31198 if (arg3
== NULL
) SWIG_fail
;
31202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31203 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31205 wxPyEndAllowThreads(__tstate
);
31206 if (PyErr_Occurred()) SWIG_fail
;
31208 resultobj
= SWIG_FromInt((int)result
);
31231 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31232 PyObject
*resultobj
;
31233 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31235 wxMenuItem
*result
;
31236 PyObject
* obj0
= 0 ;
31237 PyObject
* obj1
= 0 ;
31238 char *kwnames
[] = {
31239 (char *) "self",(char *) "id", NULL
31242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31245 arg2
= (int) SWIG_AsInt(obj1
);
31246 if (PyErr_Occurred()) SWIG_fail
;
31248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31249 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31251 wxPyEndAllowThreads(__tstate
);
31252 if (PyErr_Occurred()) SWIG_fail
;
31255 resultobj
= wxPyMake_wxObject(result
);
31263 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31264 PyObject
*resultobj
;
31265 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31266 wxString
*arg2
= 0 ;
31268 bool temp2
= False
;
31269 PyObject
* obj0
= 0 ;
31270 PyObject
* obj1
= 0 ;
31271 char *kwnames
[] = {
31272 (char *) "self",(char *) "title", NULL
31275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31279 arg2
= wxString_in_helper(obj1
);
31280 if (arg2
== NULL
) SWIG_fail
;
31284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31285 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31287 wxPyEndAllowThreads(__tstate
);
31288 if (PyErr_Occurred()) SWIG_fail
;
31290 resultobj
= SWIG_FromInt((int)result
);
31305 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31306 PyObject
*resultobj
;
31307 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31310 PyObject
* obj0
= 0 ;
31311 PyObject
* obj1
= 0 ;
31312 PyObject
* obj2
= 0 ;
31313 char *kwnames
[] = {
31314 (char *) "self",(char *) "id",(char *) "enable", NULL
31317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31320 arg2
= (int) SWIG_AsInt(obj1
);
31321 if (PyErr_Occurred()) SWIG_fail
;
31322 arg3
= (bool) SWIG_AsBool(obj2
);
31323 if (PyErr_Occurred()) SWIG_fail
;
31325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31326 (arg1
)->Enable(arg2
,arg3
);
31328 wxPyEndAllowThreads(__tstate
);
31329 if (PyErr_Occurred()) SWIG_fail
;
31331 Py_INCREF(Py_None
); resultobj
= Py_None
;
31338 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31339 PyObject
*resultobj
;
31340 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31343 PyObject
* obj0
= 0 ;
31344 PyObject
* obj1
= 0 ;
31345 PyObject
* obj2
= 0 ;
31346 char *kwnames
[] = {
31347 (char *) "self",(char *) "id",(char *) "check", NULL
31350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31353 arg2
= (int) SWIG_AsInt(obj1
);
31354 if (PyErr_Occurred()) SWIG_fail
;
31355 arg3
= (bool) SWIG_AsBool(obj2
);
31356 if (PyErr_Occurred()) SWIG_fail
;
31358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 (arg1
)->Check(arg2
,arg3
);
31361 wxPyEndAllowThreads(__tstate
);
31362 if (PyErr_Occurred()) SWIG_fail
;
31364 Py_INCREF(Py_None
); resultobj
= Py_None
;
31371 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31372 PyObject
*resultobj
;
31373 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31376 PyObject
* obj0
= 0 ;
31377 PyObject
* obj1
= 0 ;
31378 char *kwnames
[] = {
31379 (char *) "self",(char *) "id", NULL
31382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31385 arg2
= (int) SWIG_AsInt(obj1
);
31386 if (PyErr_Occurred()) SWIG_fail
;
31388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31389 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31391 wxPyEndAllowThreads(__tstate
);
31392 if (PyErr_Occurred()) SWIG_fail
;
31395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31403 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31404 PyObject
*resultobj
;
31405 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31408 PyObject
* obj0
= 0 ;
31409 PyObject
* obj1
= 0 ;
31410 char *kwnames
[] = {
31411 (char *) "self",(char *) "id", NULL
31414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31417 arg2
= (int) SWIG_AsInt(obj1
);
31418 if (PyErr_Occurred()) SWIG_fail
;
31420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31421 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31423 wxPyEndAllowThreads(__tstate
);
31424 if (PyErr_Occurred()) SWIG_fail
;
31427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31435 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31436 PyObject
*resultobj
;
31437 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31439 wxString
*arg3
= 0 ;
31440 bool temp3
= False
;
31441 PyObject
* obj0
= 0 ;
31442 PyObject
* obj1
= 0 ;
31443 PyObject
* obj2
= 0 ;
31444 char *kwnames
[] = {
31445 (char *) "self",(char *) "id",(char *) "label", NULL
31448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31451 arg2
= (int) SWIG_AsInt(obj1
);
31452 if (PyErr_Occurred()) SWIG_fail
;
31454 arg3
= wxString_in_helper(obj2
);
31455 if (arg3
== NULL
) SWIG_fail
;
31459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31460 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31462 wxPyEndAllowThreads(__tstate
);
31463 if (PyErr_Occurred()) SWIG_fail
;
31465 Py_INCREF(Py_None
); resultobj
= Py_None
;
31480 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31481 PyObject
*resultobj
;
31482 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31485 PyObject
* obj0
= 0 ;
31486 PyObject
* obj1
= 0 ;
31487 char *kwnames
[] = {
31488 (char *) "self",(char *) "id", NULL
31491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31494 arg2
= (int) SWIG_AsInt(obj1
);
31495 if (PyErr_Occurred()) SWIG_fail
;
31497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31498 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31500 wxPyEndAllowThreads(__tstate
);
31501 if (PyErr_Occurred()) SWIG_fail
;
31505 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31507 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31516 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31517 PyObject
*resultobj
;
31518 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31520 wxString
*arg3
= 0 ;
31521 bool temp3
= False
;
31522 PyObject
* obj0
= 0 ;
31523 PyObject
* obj1
= 0 ;
31524 PyObject
* obj2
= 0 ;
31525 char *kwnames
[] = {
31526 (char *) "self",(char *) "id",(char *) "helpString", NULL
31529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31532 arg2
= (int) SWIG_AsInt(obj1
);
31533 if (PyErr_Occurred()) SWIG_fail
;
31535 arg3
= wxString_in_helper(obj2
);
31536 if (arg3
== NULL
) SWIG_fail
;
31540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31541 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31543 wxPyEndAllowThreads(__tstate
);
31544 if (PyErr_Occurred()) SWIG_fail
;
31546 Py_INCREF(Py_None
); resultobj
= Py_None
;
31561 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31562 PyObject
*resultobj
;
31563 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31566 PyObject
* obj0
= 0 ;
31567 PyObject
* obj1
= 0 ;
31568 char *kwnames
[] = {
31569 (char *) "self",(char *) "id", NULL
31572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31575 arg2
= (int) SWIG_AsInt(obj1
);
31576 if (PyErr_Occurred()) SWIG_fail
;
31578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31579 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31581 wxPyEndAllowThreads(__tstate
);
31582 if (PyErr_Occurred()) SWIG_fail
;
31586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31597 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31598 PyObject
*resultobj
;
31599 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31601 PyObject
* obj0
= 0 ;
31602 char *kwnames
[] = {
31603 (char *) "self", NULL
31606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31611 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31613 wxPyEndAllowThreads(__tstate
);
31614 if (PyErr_Occurred()) SWIG_fail
;
31617 resultobj
= wxPyMake_wxObject(result
);
31625 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31626 PyObject
*resultobj
;
31627 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31629 PyObject
* obj0
= 0 ;
31630 char *kwnames
[] = {
31631 (char *) "self", NULL
31634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31639 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31641 wxPyEndAllowThreads(__tstate
);
31642 if (PyErr_Occurred()) SWIG_fail
;
31645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31653 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31654 PyObject
*resultobj
;
31655 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31656 wxFrame
*arg2
= (wxFrame
*) 0 ;
31657 PyObject
* obj0
= 0 ;
31658 PyObject
* obj1
= 0 ;
31659 char *kwnames
[] = {
31660 (char *) "self",(char *) "frame", NULL
31663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31670 (arg1
)->Attach(arg2
);
31672 wxPyEndAllowThreads(__tstate
);
31673 if (PyErr_Occurred()) SWIG_fail
;
31675 Py_INCREF(Py_None
); resultobj
= Py_None
;
31682 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31683 PyObject
*resultobj
;
31684 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31685 PyObject
* obj0
= 0 ;
31686 char *kwnames
[] = {
31687 (char *) "self", NULL
31690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31697 wxPyEndAllowThreads(__tstate
);
31698 if (PyErr_Occurred()) SWIG_fail
;
31700 Py_INCREF(Py_None
); resultobj
= Py_None
;
31707 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31710 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31712 return Py_BuildValue((char *)"");
31714 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31715 PyObject
*resultobj
;
31716 wxMenu
*arg1
= (wxMenu
*) NULL
;
31717 int arg2
= (int) wxID_ANY
;
31718 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31719 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31720 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31721 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31722 int arg5
= (int) wxITEM_NORMAL
;
31723 wxMenu
*arg6
= (wxMenu
*) NULL
;
31724 wxMenuItem
*result
;
31725 bool temp3
= False
;
31726 bool temp4
= False
;
31727 PyObject
* obj0
= 0 ;
31728 PyObject
* obj1
= 0 ;
31729 PyObject
* obj2
= 0 ;
31730 PyObject
* obj3
= 0 ;
31731 PyObject
* obj4
= 0 ;
31732 PyObject
* obj5
= 0 ;
31733 char *kwnames
[] = {
31734 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31743 arg2
= (int) SWIG_AsInt(obj1
);
31744 if (PyErr_Occurred()) SWIG_fail
;
31748 arg3
= wxString_in_helper(obj2
);
31749 if (arg3
== NULL
) SWIG_fail
;
31755 arg4
= wxString_in_helper(obj3
);
31756 if (arg4
== NULL
) SWIG_fail
;
31761 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31762 if (PyErr_Occurred()) SWIG_fail
;
31765 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31770 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31772 wxPyEndAllowThreads(__tstate
);
31773 if (PyErr_Occurred()) SWIG_fail
;
31776 resultobj
= wxPyMake_wxObject(result
);
31800 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31801 PyObject
*resultobj
;
31802 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31804 PyObject
* obj0
= 0 ;
31805 char *kwnames
[] = {
31806 (char *) "self", NULL
31809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31814 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31816 wxPyEndAllowThreads(__tstate
);
31817 if (PyErr_Occurred()) SWIG_fail
;
31820 resultobj
= wxPyMake_wxObject(result
);
31828 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31829 PyObject
*resultobj
;
31830 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31831 wxMenu
*arg2
= (wxMenu
*) 0 ;
31832 PyObject
* obj0
= 0 ;
31833 PyObject
* obj1
= 0 ;
31834 char *kwnames
[] = {
31835 (char *) "self",(char *) "menu", NULL
31838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31845 (arg1
)->SetMenu(arg2
);
31847 wxPyEndAllowThreads(__tstate
);
31848 if (PyErr_Occurred()) SWIG_fail
;
31850 Py_INCREF(Py_None
); resultobj
= Py_None
;
31857 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31858 PyObject
*resultobj
;
31859 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31861 PyObject
* obj0
= 0 ;
31862 PyObject
* obj1
= 0 ;
31863 char *kwnames
[] = {
31864 (char *) "self",(char *) "id", NULL
31867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31870 arg2
= (int) SWIG_AsInt(obj1
);
31871 if (PyErr_Occurred()) SWIG_fail
;
31873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31874 (arg1
)->SetId(arg2
);
31876 wxPyEndAllowThreads(__tstate
);
31877 if (PyErr_Occurred()) SWIG_fail
;
31879 Py_INCREF(Py_None
); resultobj
= Py_None
;
31886 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31887 PyObject
*resultobj
;
31888 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31890 PyObject
* obj0
= 0 ;
31891 char *kwnames
[] = {
31892 (char *) "self", NULL
31895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31900 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31902 wxPyEndAllowThreads(__tstate
);
31903 if (PyErr_Occurred()) SWIG_fail
;
31905 resultobj
= SWIG_FromInt((int)result
);
31912 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31913 PyObject
*resultobj
;
31914 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31916 PyObject
* obj0
= 0 ;
31917 char *kwnames
[] = {
31918 (char *) "self", NULL
31921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31926 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31928 wxPyEndAllowThreads(__tstate
);
31929 if (PyErr_Occurred()) SWIG_fail
;
31932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31940 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31941 PyObject
*resultobj
;
31942 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31943 wxString
*arg2
= 0 ;
31944 bool temp2
= False
;
31945 PyObject
* obj0
= 0 ;
31946 PyObject
* obj1
= 0 ;
31947 char *kwnames
[] = {
31948 (char *) "self",(char *) "str", NULL
31951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31955 arg2
= wxString_in_helper(obj1
);
31956 if (arg2
== NULL
) SWIG_fail
;
31960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31961 (arg1
)->SetText((wxString
const &)*arg2
);
31963 wxPyEndAllowThreads(__tstate
);
31964 if (PyErr_Occurred()) SWIG_fail
;
31966 Py_INCREF(Py_None
); resultobj
= Py_None
;
31981 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31982 PyObject
*resultobj
;
31983 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31985 PyObject
* obj0
= 0 ;
31986 char *kwnames
[] = {
31987 (char *) "self", NULL
31990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31995 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32002 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32004 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32013 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32014 PyObject
*resultobj
;
32015 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32017 PyObject
* obj0
= 0 ;
32018 char *kwnames
[] = {
32019 (char *) "self", NULL
32022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32028 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32029 result
= (wxString
*) &_result_ref
;
32032 wxPyEndAllowThreads(__tstate
);
32033 if (PyErr_Occurred()) SWIG_fail
;
32037 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32039 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32048 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32049 PyObject
*resultobj
;
32050 wxString
*arg1
= 0 ;
32052 bool temp1
= False
;
32053 PyObject
* obj0
= 0 ;
32054 char *kwnames
[] = {
32055 (char *) "text", NULL
32058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32060 arg1
= wxString_in_helper(obj0
);
32061 if (arg1
== NULL
) SWIG_fail
;
32065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32066 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32068 wxPyEndAllowThreads(__tstate
);
32069 if (PyErr_Occurred()) SWIG_fail
;
32073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32092 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32093 PyObject
*resultobj
;
32094 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32096 PyObject
* obj0
= 0 ;
32097 char *kwnames
[] = {
32098 (char *) "self", NULL
32101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32106 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32108 wxPyEndAllowThreads(__tstate
);
32109 if (PyErr_Occurred()) SWIG_fail
;
32111 resultobj
= SWIG_FromInt((int)result
);
32118 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32119 PyObject
*resultobj
;
32120 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32122 PyObject
* obj0
= 0 ;
32123 PyObject
* obj1
= 0 ;
32124 char *kwnames
[] = {
32125 (char *) "self",(char *) "kind", NULL
32128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32131 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32132 if (PyErr_Occurred()) SWIG_fail
;
32134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32135 (arg1
)->SetKind((wxItemKind
)arg2
);
32137 wxPyEndAllowThreads(__tstate
);
32138 if (PyErr_Occurred()) SWIG_fail
;
32140 Py_INCREF(Py_None
); resultobj
= Py_None
;
32147 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32148 PyObject
*resultobj
;
32149 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32151 PyObject
* obj0
= 0 ;
32152 PyObject
* obj1
= 0 ;
32153 char *kwnames
[] = {
32154 (char *) "self",(char *) "checkable", NULL
32157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32160 arg2
= (bool) SWIG_AsBool(obj1
);
32161 if (PyErr_Occurred()) SWIG_fail
;
32163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32164 (arg1
)->SetCheckable(arg2
);
32166 wxPyEndAllowThreads(__tstate
);
32167 if (PyErr_Occurred()) SWIG_fail
;
32169 Py_INCREF(Py_None
); resultobj
= Py_None
;
32176 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32177 PyObject
*resultobj
;
32178 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32180 PyObject
* obj0
= 0 ;
32181 char *kwnames
[] = {
32182 (char *) "self", NULL
32185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32190 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32192 wxPyEndAllowThreads(__tstate
);
32193 if (PyErr_Occurred()) SWIG_fail
;
32196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32204 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32205 PyObject
*resultobj
;
32206 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32208 PyObject
* obj0
= 0 ;
32209 char *kwnames
[] = {
32210 (char *) "self", NULL
32213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32218 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32220 wxPyEndAllowThreads(__tstate
);
32221 if (PyErr_Occurred()) SWIG_fail
;
32224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32232 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32233 PyObject
*resultobj
;
32234 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32235 wxMenu
*arg2
= (wxMenu
*) 0 ;
32236 PyObject
* obj0
= 0 ;
32237 PyObject
* obj1
= 0 ;
32238 char *kwnames
[] = {
32239 (char *) "self",(char *) "menu", NULL
32242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32249 (arg1
)->SetSubMenu(arg2
);
32251 wxPyEndAllowThreads(__tstate
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32254 Py_INCREF(Py_None
); resultobj
= Py_None
;
32261 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32262 PyObject
*resultobj
;
32263 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32265 PyObject
* obj0
= 0 ;
32266 char *kwnames
[] = {
32267 (char *) "self", NULL
32270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32275 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32277 wxPyEndAllowThreads(__tstate
);
32278 if (PyErr_Occurred()) SWIG_fail
;
32281 resultobj
= wxPyMake_wxObject(result
);
32289 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32290 PyObject
*resultobj
;
32291 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32292 bool arg2
= (bool) True
;
32293 PyObject
* obj0
= 0 ;
32294 PyObject
* obj1
= 0 ;
32295 char *kwnames
[] = {
32296 (char *) "self",(char *) "enable", NULL
32299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32303 arg2
= (bool) SWIG_AsBool(obj1
);
32304 if (PyErr_Occurred()) SWIG_fail
;
32307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32308 (arg1
)->Enable(arg2
);
32310 wxPyEndAllowThreads(__tstate
);
32311 if (PyErr_Occurred()) SWIG_fail
;
32313 Py_INCREF(Py_None
); resultobj
= Py_None
;
32320 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32321 PyObject
*resultobj
;
32322 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32324 PyObject
* obj0
= 0 ;
32325 char *kwnames
[] = {
32326 (char *) "self", NULL
32329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32334 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32336 wxPyEndAllowThreads(__tstate
);
32337 if (PyErr_Occurred()) SWIG_fail
;
32340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32348 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32349 PyObject
*resultobj
;
32350 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32351 bool arg2
= (bool) True
;
32352 PyObject
* obj0
= 0 ;
32353 PyObject
* obj1
= 0 ;
32354 char *kwnames
[] = {
32355 (char *) "self",(char *) "check", NULL
32358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32362 arg2
= (bool) SWIG_AsBool(obj1
);
32363 if (PyErr_Occurred()) SWIG_fail
;
32366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32367 (arg1
)->Check(arg2
);
32369 wxPyEndAllowThreads(__tstate
);
32370 if (PyErr_Occurred()) SWIG_fail
;
32372 Py_INCREF(Py_None
); resultobj
= Py_None
;
32379 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32380 PyObject
*resultobj
;
32381 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32383 PyObject
* obj0
= 0 ;
32384 char *kwnames
[] = {
32385 (char *) "self", NULL
32388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32393 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32395 wxPyEndAllowThreads(__tstate
);
32396 if (PyErr_Occurred()) SWIG_fail
;
32399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32407 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32408 PyObject
*resultobj
;
32409 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32410 PyObject
* obj0
= 0 ;
32411 char *kwnames
[] = {
32412 (char *) "self", NULL
32415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",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();
32422 wxPyEndAllowThreads(__tstate
);
32423 if (PyErr_Occurred()) SWIG_fail
;
32425 Py_INCREF(Py_None
); resultobj
= Py_None
;
32432 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32433 PyObject
*resultobj
;
32434 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32435 wxString
*arg2
= 0 ;
32436 bool temp2
= False
;
32437 PyObject
* obj0
= 0 ;
32438 PyObject
* obj1
= 0 ;
32439 char *kwnames
[] = {
32440 (char *) "self",(char *) "str", NULL
32443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32447 arg2
= wxString_in_helper(obj1
);
32448 if (arg2
== NULL
) SWIG_fail
;
32452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32453 (arg1
)->SetHelp((wxString
const &)*arg2
);
32455 wxPyEndAllowThreads(__tstate
);
32456 if (PyErr_Occurred()) SWIG_fail
;
32458 Py_INCREF(Py_None
); resultobj
= Py_None
;
32473 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32474 PyObject
*resultobj
;
32475 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32477 PyObject
* obj0
= 0 ;
32478 char *kwnames
[] = {
32479 (char *) "self", NULL
32482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32488 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32489 result
= (wxString
*) &_result_ref
;
32492 wxPyEndAllowThreads(__tstate
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32497 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32499 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32508 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32509 PyObject
*resultobj
;
32510 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32511 wxAcceleratorEntry
*result
;
32512 PyObject
* obj0
= 0 ;
32513 char *kwnames
[] = {
32514 (char *) "self", NULL
32517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32522 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32524 wxPyEndAllowThreads(__tstate
);
32525 if (PyErr_Occurred()) SWIG_fail
;
32527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32534 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32535 PyObject
*resultobj
;
32536 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32537 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32538 PyObject
* obj0
= 0 ;
32539 PyObject
* obj1
= 0 ;
32540 char *kwnames
[] = {
32541 (char *) "self",(char *) "accel", NULL
32544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32551 (arg1
)->SetAccel(arg2
);
32553 wxPyEndAllowThreads(__tstate
);
32554 if (PyErr_Occurred()) SWIG_fail
;
32556 Py_INCREF(Py_None
); resultobj
= Py_None
;
32563 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32564 PyObject
*resultobj
;
32565 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32567 PyObject
* obj0
= 0 ;
32568 PyObject
* obj1
= 0 ;
32569 char *kwnames
[] = {
32570 (char *) "self",(char *) "font", NULL
32573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
32574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
32577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32579 if (arg2
== NULL
) {
32580 PyErr_SetString(PyExc_TypeError
,"null reference");
32584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32585 (arg1
)->SetFont((wxFont
const &)*arg2
);
32587 wxPyEndAllowThreads(__tstate
);
32588 if (PyErr_Occurred()) SWIG_fail
;
32590 Py_INCREF(Py_None
); resultobj
= Py_None
;
32597 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32598 PyObject
*resultobj
;
32599 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32601 PyObject
* obj0
= 0 ;
32602 char *kwnames
[] = {
32603 (char *) "self", NULL
32606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
32607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32611 result
= (arg1
)->GetFont();
32613 wxPyEndAllowThreads(__tstate
);
32614 if (PyErr_Occurred()) SWIG_fail
;
32617 wxFont
* resultptr
;
32618 resultptr
= new wxFont((wxFont
&) result
);
32619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
32627 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32628 PyObject
*resultobj
;
32629 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32630 wxColour
*arg2
= 0 ;
32632 PyObject
* obj0
= 0 ;
32633 PyObject
* obj1
= 0 ;
32634 char *kwnames
[] = {
32635 (char *) "self",(char *) "colText", NULL
32638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32643 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32647 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
32649 wxPyEndAllowThreads(__tstate
);
32650 if (PyErr_Occurred()) SWIG_fail
;
32652 Py_INCREF(Py_None
); resultobj
= Py_None
;
32659 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32660 PyObject
*resultobj
;
32661 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32663 PyObject
* obj0
= 0 ;
32664 char *kwnames
[] = {
32665 (char *) "self", NULL
32668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
32669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32673 result
= (arg1
)->GetTextColour();
32675 wxPyEndAllowThreads(__tstate
);
32676 if (PyErr_Occurred()) SWIG_fail
;
32679 wxColour
* resultptr
;
32680 resultptr
= new wxColour((wxColour
&) result
);
32681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32689 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32690 PyObject
*resultobj
;
32691 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32692 wxColour
*arg2
= 0 ;
32694 PyObject
* obj0
= 0 ;
32695 PyObject
* obj1
= 0 ;
32696 char *kwnames
[] = {
32697 (char *) "self",(char *) "colBack", NULL
32700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32705 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32709 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
32711 wxPyEndAllowThreads(__tstate
);
32712 if (PyErr_Occurred()) SWIG_fail
;
32714 Py_INCREF(Py_None
); resultobj
= Py_None
;
32721 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32722 PyObject
*resultobj
;
32723 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32725 PyObject
* obj0
= 0 ;
32726 char *kwnames
[] = {
32727 (char *) "self", NULL
32730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
32731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32735 result
= (arg1
)->GetBackgroundColour();
32737 wxPyEndAllowThreads(__tstate
);
32738 if (PyErr_Occurred()) SWIG_fail
;
32741 wxColour
* resultptr
;
32742 resultptr
= new wxColour((wxColour
&) result
);
32743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32751 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32752 PyObject
*resultobj
;
32753 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32754 wxBitmap
*arg2
= 0 ;
32755 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32756 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32757 PyObject
* obj0
= 0 ;
32758 PyObject
* obj1
= 0 ;
32759 PyObject
* obj2
= 0 ;
32760 char *kwnames
[] = {
32761 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
32764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32770 if (arg2
== NULL
) {
32771 PyErr_SetString(PyExc_TypeError
,"null reference");
32775 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
32776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32778 if (arg3
== NULL
) {
32779 PyErr_SetString(PyExc_TypeError
,"null reference");
32784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32785 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32787 wxPyEndAllowThreads(__tstate
);
32788 if (PyErr_Occurred()) SWIG_fail
;
32790 Py_INCREF(Py_None
); resultobj
= Py_None
;
32797 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32798 PyObject
*resultobj
;
32799 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32800 wxBitmap
*arg2
= 0 ;
32801 PyObject
* obj0
= 0 ;
32802 PyObject
* obj1
= 0 ;
32803 char *kwnames
[] = {
32804 (char *) "self",(char *) "bmpDisabled", NULL
32807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32813 if (arg2
== NULL
) {
32814 PyErr_SetString(PyExc_TypeError
,"null reference");
32818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32819 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
32821 wxPyEndAllowThreads(__tstate
);
32822 if (PyErr_Occurred()) SWIG_fail
;
32824 Py_INCREF(Py_None
); resultobj
= Py_None
;
32831 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32832 PyObject
*resultobj
;
32833 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32835 PyObject
* obj0
= 0 ;
32836 char *kwnames
[] = {
32837 (char *) "self", NULL
32840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
32841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32846 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
32847 result
= (wxBitmap
*) &_result_ref
;
32850 wxPyEndAllowThreads(__tstate
);
32851 if (PyErr_Occurred()) SWIG_fail
;
32854 wxBitmap
* resultptr
= new wxBitmap(*result
);
32855 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32863 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32864 PyObject
*resultobj
;
32865 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32867 PyObject
* obj0
= 0 ;
32868 PyObject
* obj1
= 0 ;
32869 char *kwnames
[] = {
32870 (char *) "self",(char *) "nWidth", NULL
32873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
32874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32876 arg2
= (int) SWIG_AsInt(obj1
);
32877 if (PyErr_Occurred()) SWIG_fail
;
32879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32880 (arg1
)->SetMarginWidth(arg2
);
32882 wxPyEndAllowThreads(__tstate
);
32883 if (PyErr_Occurred()) SWIG_fail
;
32885 Py_INCREF(Py_None
); resultobj
= Py_None
;
32892 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32893 PyObject
*resultobj
;
32894 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32896 PyObject
* obj0
= 0 ;
32897 char *kwnames
[] = {
32898 (char *) "self", NULL
32901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
32902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32906 result
= (int)(arg1
)->GetMarginWidth();
32908 wxPyEndAllowThreads(__tstate
);
32909 if (PyErr_Occurred()) SWIG_fail
;
32911 resultobj
= SWIG_FromInt((int)result
);
32918 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32919 PyObject
*resultobj
;
32921 char *kwnames
[] = {
32925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32928 result
= (int)wxMenuItem::GetDefaultMarginWidth();
32930 wxPyEndAllowThreads(__tstate
);
32931 if (PyErr_Occurred()) SWIG_fail
;
32933 resultobj
= SWIG_FromInt((int)result
);
32940 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32941 PyObject
*resultobj
;
32942 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32944 PyObject
* obj0
= 0 ;
32945 char *kwnames
[] = {
32946 (char *) "self", NULL
32949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32954 result
= (bool)(arg1
)->IsOwnerDrawn();
32956 wxPyEndAllowThreads(__tstate
);
32957 if (PyErr_Occurred()) SWIG_fail
;
32960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32968 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32969 PyObject
*resultobj
;
32970 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32971 bool arg2
= (bool) True
;
32972 PyObject
* obj0
= 0 ;
32973 PyObject
* obj1
= 0 ;
32974 char *kwnames
[] = {
32975 (char *) "self",(char *) "ownerDrawn", NULL
32978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
32979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32982 arg2
= (bool) SWIG_AsBool(obj1
);
32983 if (PyErr_Occurred()) SWIG_fail
;
32986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32987 (arg1
)->SetOwnerDrawn(arg2
);
32989 wxPyEndAllowThreads(__tstate
);
32990 if (PyErr_Occurred()) SWIG_fail
;
32992 Py_INCREF(Py_None
); resultobj
= Py_None
;
32999 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33000 PyObject
*resultobj
;
33001 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33002 PyObject
* obj0
= 0 ;
33003 char *kwnames
[] = {
33004 (char *) "self", NULL
33007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33012 (arg1
)->ResetOwnerDrawn();
33014 wxPyEndAllowThreads(__tstate
);
33015 if (PyErr_Occurred()) SWIG_fail
;
33017 Py_INCREF(Py_None
); resultobj
= Py_None
;
33024 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33025 PyObject
*resultobj
;
33026 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33027 wxBitmap
*arg2
= 0 ;
33028 PyObject
* obj0
= 0 ;
33029 PyObject
* obj1
= 0 ;
33030 char *kwnames
[] = {
33031 (char *) "self",(char *) "bitmap", NULL
33034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33040 if (arg2
== NULL
) {
33041 PyErr_SetString(PyExc_TypeError
,"null reference");
33045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33046 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33048 wxPyEndAllowThreads(__tstate
);
33049 if (PyErr_Occurred()) SWIG_fail
;
33051 Py_INCREF(Py_None
); resultobj
= Py_None
;
33058 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33059 PyObject
*resultobj
;
33060 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33062 PyObject
* obj0
= 0 ;
33063 char *kwnames
[] = {
33064 (char *) "self", NULL
33067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33073 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33074 result
= (wxBitmap
*) &_result_ref
;
33077 wxPyEndAllowThreads(__tstate
);
33078 if (PyErr_Occurred()) SWIG_fail
;
33081 wxBitmap
* resultptr
= new wxBitmap(*result
);
33082 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33090 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
33092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33093 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33095 return Py_BuildValue((char *)"");
33097 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
33098 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33103 static PyObject
*_wrap_ControlNameStr_get() {
33108 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33110 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33117 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33118 PyObject
*resultobj
;
33119 wxWindow
*arg1
= (wxWindow
*) 0 ;
33120 int arg2
= (int) -1 ;
33121 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33122 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33123 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33124 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33125 long arg5
= (long) 0 ;
33126 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33127 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33128 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33129 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33133 bool temp7
= False
;
33134 PyObject
* obj0
= 0 ;
33135 PyObject
* obj1
= 0 ;
33136 PyObject
* obj2
= 0 ;
33137 PyObject
* obj3
= 0 ;
33138 PyObject
* obj4
= 0 ;
33139 PyObject
* obj5
= 0 ;
33140 PyObject
* obj6
= 0 ;
33141 char *kwnames
[] = {
33142 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33149 arg2
= (int) SWIG_AsInt(obj1
);
33150 if (PyErr_Occurred()) SWIG_fail
;
33155 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33161 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33165 arg5
= (long) SWIG_AsLong(obj4
);
33166 if (PyErr_Occurred()) SWIG_fail
;
33169 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33172 if (arg6
== NULL
) {
33173 PyErr_SetString(PyExc_TypeError
,"null reference");
33179 arg7
= wxString_in_helper(obj6
);
33180 if (arg7
== NULL
) SWIG_fail
;
33185 if (!wxPyCheckForApp()) SWIG_fail
;
33186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33187 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33189 wxPyEndAllowThreads(__tstate
);
33190 if (PyErr_Occurred()) SWIG_fail
;
33193 resultobj
= wxPyMake_wxObject(result
);
33209 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33210 PyObject
*resultobj
;
33212 char *kwnames
[] = {
33216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33218 if (!wxPyCheckForApp()) SWIG_fail
;
33219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33220 result
= (wxControl
*)new wxControl();
33222 wxPyEndAllowThreads(__tstate
);
33223 if (PyErr_Occurred()) SWIG_fail
;
33226 resultobj
= wxPyMake_wxObject(result
);
33234 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33235 PyObject
*resultobj
;
33236 wxControl
*arg1
= (wxControl
*) 0 ;
33237 wxWindow
*arg2
= (wxWindow
*) 0 ;
33238 int arg3
= (int) -1 ;
33239 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33240 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33241 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33242 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33243 long arg6
= (long) 0 ;
33244 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33245 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33246 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33247 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33251 bool temp8
= False
;
33252 PyObject
* obj0
= 0 ;
33253 PyObject
* obj1
= 0 ;
33254 PyObject
* obj2
= 0 ;
33255 PyObject
* obj3
= 0 ;
33256 PyObject
* obj4
= 0 ;
33257 PyObject
* obj5
= 0 ;
33258 PyObject
* obj6
= 0 ;
33259 PyObject
* obj7
= 0 ;
33260 char *kwnames
[] = {
33261 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33270 arg3
= (int) SWIG_AsInt(obj2
);
33271 if (PyErr_Occurred()) SWIG_fail
;
33276 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33282 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33286 arg6
= (long) SWIG_AsLong(obj5
);
33287 if (PyErr_Occurred()) SWIG_fail
;
33290 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33291 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33293 if (arg7
== NULL
) {
33294 PyErr_SetString(PyExc_TypeError
,"null reference");
33300 arg8
= wxString_in_helper(obj7
);
33301 if (arg8
== NULL
) SWIG_fail
;
33306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33307 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33309 wxPyEndAllowThreads(__tstate
);
33310 if (PyErr_Occurred()) SWIG_fail
;
33313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33329 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33330 PyObject
*resultobj
;
33331 wxControl
*arg1
= (wxControl
*) 0 ;
33332 wxCommandEvent
*arg2
= 0 ;
33333 PyObject
* obj0
= 0 ;
33334 PyObject
* obj1
= 0 ;
33335 char *kwnames
[] = {
33336 (char *) "self",(char *) "event", NULL
33339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33345 if (arg2
== NULL
) {
33346 PyErr_SetString(PyExc_TypeError
,"null reference");
33350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33351 (arg1
)->Command(*arg2
);
33353 wxPyEndAllowThreads(__tstate
);
33354 if (PyErr_Occurred()) SWIG_fail
;
33356 Py_INCREF(Py_None
); resultobj
= Py_None
;
33363 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33364 PyObject
*resultobj
;
33365 wxControl
*arg1
= (wxControl
*) 0 ;
33367 PyObject
* obj0
= 0 ;
33368 char *kwnames
[] = {
33369 (char *) "self", NULL
33372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33377 result
= (arg1
)->GetLabel();
33379 wxPyEndAllowThreads(__tstate
);
33380 if (PyErr_Occurred()) SWIG_fail
;
33384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33395 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33396 PyObject
*resultobj
;
33397 wxControl
*arg1
= (wxControl
*) 0 ;
33398 wxString
*arg2
= 0 ;
33399 bool temp2
= False
;
33400 PyObject
* obj0
= 0 ;
33401 PyObject
* obj1
= 0 ;
33402 char *kwnames
[] = {
33403 (char *) "self",(char *) "label", NULL
33406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33410 arg2
= wxString_in_helper(obj1
);
33411 if (arg2
== NULL
) SWIG_fail
;
33415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33416 (arg1
)->SetLabel((wxString
const &)*arg2
);
33418 wxPyEndAllowThreads(__tstate
);
33419 if (PyErr_Occurred()) SWIG_fail
;
33421 Py_INCREF(Py_None
); resultobj
= Py_None
;
33436 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33437 PyObject
*resultobj
;
33438 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33439 wxVisualAttributes result
;
33440 PyObject
* obj0
= 0 ;
33441 char *kwnames
[] = {
33442 (char *) "variant", NULL
33445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33447 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33448 if (PyErr_Occurred()) SWIG_fail
;
33451 if (!wxPyCheckForApp()) SWIG_fail
;
33452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33453 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33455 wxPyEndAllowThreads(__tstate
);
33456 if (PyErr_Occurred()) SWIG_fail
;
33459 wxVisualAttributes
* resultptr
;
33460 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33469 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33472 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33474 return Py_BuildValue((char *)"");
33476 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33477 PyObject
*resultobj
;
33478 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33479 wxString
*arg2
= 0 ;
33480 PyObject
*arg3
= (PyObject
*) NULL
;
33482 bool temp2
= False
;
33483 PyObject
* obj0
= 0 ;
33484 PyObject
* obj1
= 0 ;
33485 PyObject
* obj2
= 0 ;
33486 char *kwnames
[] = {
33487 (char *) "self",(char *) "item",(char *) "clientData", NULL
33490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33494 arg2
= wxString_in_helper(obj1
);
33495 if (arg2
== NULL
) SWIG_fail
;
33502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33503 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33505 wxPyEndAllowThreads(__tstate
);
33506 if (PyErr_Occurred()) SWIG_fail
;
33508 resultobj
= SWIG_FromInt((int)result
);
33523 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33524 PyObject
*resultobj
;
33525 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33526 wxArrayString
*arg2
= 0 ;
33527 bool temp2
= False
;
33528 PyObject
* obj0
= 0 ;
33529 PyObject
* obj1
= 0 ;
33530 char *kwnames
[] = {
33531 (char *) "self",(char *) "strings", NULL
33534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33538 if (! PySequence_Check(obj1
)) {
33539 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33542 arg2
= new wxArrayString
;
33544 int i
, len
=PySequence_Length(obj1
);
33545 for (i
=0; i
<len
; i
++) {
33546 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33548 PyObject
* str
= PyObject_Unicode(item
);
33550 PyObject
* str
= PyObject_Str(item
);
33552 if (PyErr_Occurred()) SWIG_fail
;
33553 arg2
->Add(Py2wxString(str
));
33559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33560 (arg1
)->Append((wxArrayString
const &)*arg2
);
33562 wxPyEndAllowThreads(__tstate
);
33563 if (PyErr_Occurred()) SWIG_fail
;
33565 Py_INCREF(Py_None
); resultobj
= Py_None
;
33567 if (temp2
) delete arg2
;
33572 if (temp2
) delete arg2
;
33578 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33579 PyObject
*resultobj
;
33580 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33581 wxString
*arg2
= 0 ;
33583 PyObject
*arg4
= (PyObject
*) NULL
;
33585 bool temp2
= False
;
33586 PyObject
* obj0
= 0 ;
33587 PyObject
* obj1
= 0 ;
33588 PyObject
* obj2
= 0 ;
33589 PyObject
* obj3
= 0 ;
33590 char *kwnames
[] = {
33591 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33598 arg2
= wxString_in_helper(obj1
);
33599 if (arg2
== NULL
) SWIG_fail
;
33602 arg3
= (int) SWIG_AsInt(obj2
);
33603 if (PyErr_Occurred()) SWIG_fail
;
33608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33609 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33611 wxPyEndAllowThreads(__tstate
);
33612 if (PyErr_Occurred()) SWIG_fail
;
33614 resultobj
= SWIG_FromInt((int)result
);
33629 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33630 PyObject
*resultobj
;
33631 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33632 PyObject
* obj0
= 0 ;
33633 char *kwnames
[] = {
33634 (char *) "self", NULL
33637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33644 wxPyEndAllowThreads(__tstate
);
33645 if (PyErr_Occurred()) SWIG_fail
;
33647 Py_INCREF(Py_None
); resultobj
= Py_None
;
33654 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33655 PyObject
*resultobj
;
33656 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33658 PyObject
* obj0
= 0 ;
33659 PyObject
* obj1
= 0 ;
33660 char *kwnames
[] = {
33661 (char *) "self",(char *) "n", NULL
33664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33667 arg2
= (int) SWIG_AsInt(obj1
);
33668 if (PyErr_Occurred()) SWIG_fail
;
33670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33671 (arg1
)->Delete(arg2
);
33673 wxPyEndAllowThreads(__tstate
);
33674 if (PyErr_Occurred()) SWIG_fail
;
33676 Py_INCREF(Py_None
); resultobj
= Py_None
;
33683 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33684 PyObject
*resultobj
;
33685 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33687 PyObject
* obj0
= 0 ;
33688 char *kwnames
[] = {
33689 (char *) "self", NULL
33692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33697 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33699 wxPyEndAllowThreads(__tstate
);
33700 if (PyErr_Occurred()) SWIG_fail
;
33702 resultobj
= SWIG_FromInt((int)result
);
33709 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33710 PyObject
*resultobj
;
33711 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33713 PyObject
* obj0
= 0 ;
33714 char *kwnames
[] = {
33715 (char *) "self", NULL
33718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33723 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33725 wxPyEndAllowThreads(__tstate
);
33726 if (PyErr_Occurred()) SWIG_fail
;
33729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33737 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33738 PyObject
*resultobj
;
33739 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33742 PyObject
* obj0
= 0 ;
33743 PyObject
* obj1
= 0 ;
33744 char *kwnames
[] = {
33745 (char *) "self",(char *) "n", NULL
33748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33751 arg2
= (int) SWIG_AsInt(obj1
);
33752 if (PyErr_Occurred()) SWIG_fail
;
33754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33755 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33757 wxPyEndAllowThreads(__tstate
);
33758 if (PyErr_Occurred()) SWIG_fail
;
33762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33773 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33774 PyObject
*resultobj
;
33775 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33776 wxArrayString result
;
33777 PyObject
* obj0
= 0 ;
33778 char *kwnames
[] = {
33779 (char *) "self", NULL
33782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33787 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33789 wxPyEndAllowThreads(__tstate
);
33790 if (PyErr_Occurred()) SWIG_fail
;
33793 resultobj
= wxArrayString2PyList_helper(result
);
33801 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33802 PyObject
*resultobj
;
33803 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33805 wxString
*arg3
= 0 ;
33806 bool temp3
= False
;
33807 PyObject
* obj0
= 0 ;
33808 PyObject
* obj1
= 0 ;
33809 PyObject
* obj2
= 0 ;
33810 char *kwnames
[] = {
33811 (char *) "self",(char *) "n",(char *) "s", NULL
33814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33817 arg2
= (int) SWIG_AsInt(obj1
);
33818 if (PyErr_Occurred()) SWIG_fail
;
33820 arg3
= wxString_in_helper(obj2
);
33821 if (arg3
== NULL
) SWIG_fail
;
33825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33826 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33828 wxPyEndAllowThreads(__tstate
);
33829 if (PyErr_Occurred()) SWIG_fail
;
33831 Py_INCREF(Py_None
); resultobj
= Py_None
;
33846 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33847 PyObject
*resultobj
;
33848 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33849 wxString
*arg2
= 0 ;
33851 bool temp2
= False
;
33852 PyObject
* obj0
= 0 ;
33853 PyObject
* obj1
= 0 ;
33854 char *kwnames
[] = {
33855 (char *) "self",(char *) "s", NULL
33858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33862 arg2
= wxString_in_helper(obj1
);
33863 if (arg2
== NULL
) SWIG_fail
;
33867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33868 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33870 wxPyEndAllowThreads(__tstate
);
33871 if (PyErr_Occurred()) SWIG_fail
;
33873 resultobj
= SWIG_FromInt((int)result
);
33888 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33889 PyObject
*resultobj
;
33890 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33892 PyObject
* obj0
= 0 ;
33893 PyObject
* obj1
= 0 ;
33894 char *kwnames
[] = {
33895 (char *) "self",(char *) "n", NULL
33898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33901 arg2
= (int) SWIG_AsInt(obj1
);
33902 if (PyErr_Occurred()) SWIG_fail
;
33904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33905 (arg1
)->Select(arg2
);
33907 wxPyEndAllowThreads(__tstate
);
33908 if (PyErr_Occurred()) SWIG_fail
;
33910 Py_INCREF(Py_None
); resultobj
= Py_None
;
33917 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33918 PyObject
*resultobj
;
33919 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33921 PyObject
* obj0
= 0 ;
33922 char *kwnames
[] = {
33923 (char *) "self", NULL
33926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33931 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33933 wxPyEndAllowThreads(__tstate
);
33934 if (PyErr_Occurred()) SWIG_fail
;
33936 resultobj
= SWIG_FromInt((int)result
);
33943 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33944 PyObject
*resultobj
;
33945 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33947 PyObject
* obj0
= 0 ;
33948 char *kwnames
[] = {
33949 (char *) "self", NULL
33952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33957 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33959 wxPyEndAllowThreads(__tstate
);
33960 if (PyErr_Occurred()) SWIG_fail
;
33964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33975 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33976 PyObject
*resultobj
;
33977 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33980 PyObject
* obj0
= 0 ;
33981 PyObject
* obj1
= 0 ;
33982 char *kwnames
[] = {
33983 (char *) "self",(char *) "n", NULL
33986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33989 arg2
= (int) SWIG_AsInt(obj1
);
33990 if (PyErr_Occurred()) SWIG_fail
;
33992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33993 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33995 wxPyEndAllowThreads(__tstate
);
33996 if (PyErr_Occurred()) SWIG_fail
;
33998 resultobj
= result
;
34005 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34006 PyObject
*resultobj
;
34007 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34009 PyObject
*arg3
= (PyObject
*) 0 ;
34010 PyObject
* obj0
= 0 ;
34011 PyObject
* obj1
= 0 ;
34012 PyObject
* obj2
= 0 ;
34013 char *kwnames
[] = {
34014 (char *) "self",(char *) "n",(char *) "clientData", NULL
34017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34020 arg2
= (int) SWIG_AsInt(obj1
);
34021 if (PyErr_Occurred()) SWIG_fail
;
34024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34025 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34027 wxPyEndAllowThreads(__tstate
);
34028 if (PyErr_Occurred()) SWIG_fail
;
34030 Py_INCREF(Py_None
); resultobj
= Py_None
;
34037 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
34039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34040 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34042 return Py_BuildValue((char *)"");
34044 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
34046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34047 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34049 return Py_BuildValue((char *)"");
34051 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34052 PyObject
*resultobj
;
34053 wxSizerItem
*result
;
34054 char *kwnames
[] = {
34058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34061 result
= (wxSizerItem
*)new wxSizerItem();
34063 wxPyEndAllowThreads(__tstate
);
34064 if (PyErr_Occurred()) SWIG_fail
;
34066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34073 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34074 PyObject
*resultobj
;
34075 wxWindow
*arg1
= (wxWindow
*) 0 ;
34079 PyObject
*arg5
= (PyObject
*) NULL
;
34080 wxSizerItem
*result
;
34081 PyObject
* obj0
= 0 ;
34082 PyObject
* obj1
= 0 ;
34083 PyObject
* obj2
= 0 ;
34084 PyObject
* obj3
= 0 ;
34085 PyObject
* obj4
= 0 ;
34086 char *kwnames
[] = {
34087 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34093 arg2
= (int) SWIG_AsInt(obj1
);
34094 if (PyErr_Occurred()) SWIG_fail
;
34095 arg3
= (int) SWIG_AsInt(obj2
);
34096 if (PyErr_Occurred()) SWIG_fail
;
34097 arg4
= (int) SWIG_AsInt(obj3
);
34098 if (PyErr_Occurred()) SWIG_fail
;
34103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34104 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34106 wxPyEndAllowThreads(__tstate
);
34107 if (PyErr_Occurred()) SWIG_fail
;
34109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34116 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34117 PyObject
*resultobj
;
34123 PyObject
*arg6
= (PyObject
*) NULL
;
34124 wxSizerItem
*result
;
34125 PyObject
* obj0
= 0 ;
34126 PyObject
* obj1
= 0 ;
34127 PyObject
* obj2
= 0 ;
34128 PyObject
* obj3
= 0 ;
34129 PyObject
* obj4
= 0 ;
34130 PyObject
* obj5
= 0 ;
34131 char *kwnames
[] = {
34132 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34136 arg1
= (int) SWIG_AsInt(obj0
);
34137 if (PyErr_Occurred()) SWIG_fail
;
34138 arg2
= (int) SWIG_AsInt(obj1
);
34139 if (PyErr_Occurred()) SWIG_fail
;
34140 arg3
= (int) SWIG_AsInt(obj2
);
34141 if (PyErr_Occurred()) SWIG_fail
;
34142 arg4
= (int) SWIG_AsInt(obj3
);
34143 if (PyErr_Occurred()) SWIG_fail
;
34144 arg5
= (int) SWIG_AsInt(obj4
);
34145 if (PyErr_Occurred()) SWIG_fail
;
34150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34151 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34153 wxPyEndAllowThreads(__tstate
);
34154 if (PyErr_Occurred()) SWIG_fail
;
34156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34163 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34164 PyObject
*resultobj
;
34165 wxSizer
*arg1
= (wxSizer
*) 0 ;
34169 PyObject
*arg5
= (PyObject
*) NULL
;
34170 wxSizerItem
*result
;
34171 PyObject
* obj0
= 0 ;
34172 PyObject
* obj1
= 0 ;
34173 PyObject
* obj2
= 0 ;
34174 PyObject
* obj3
= 0 ;
34175 PyObject
* obj4
= 0 ;
34176 char *kwnames
[] = {
34177 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34183 arg2
= (int) SWIG_AsInt(obj1
);
34184 if (PyErr_Occurred()) SWIG_fail
;
34185 arg3
= (int) SWIG_AsInt(obj2
);
34186 if (PyErr_Occurred()) SWIG_fail
;
34187 arg4
= (int) SWIG_AsInt(obj3
);
34188 if (PyErr_Occurred()) SWIG_fail
;
34193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34194 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34196 wxPyEndAllowThreads(__tstate
);
34197 if (PyErr_Occurred()) SWIG_fail
;
34199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34206 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34207 PyObject
*resultobj
;
34208 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34209 PyObject
* obj0
= 0 ;
34210 char *kwnames
[] = {
34211 (char *) "self", NULL
34214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34219 (arg1
)->DeleteWindows();
34221 wxPyEndAllowThreads(__tstate
);
34222 if (PyErr_Occurred()) SWIG_fail
;
34224 Py_INCREF(Py_None
); resultobj
= Py_None
;
34231 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34232 PyObject
*resultobj
;
34233 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34234 PyObject
* obj0
= 0 ;
34235 char *kwnames
[] = {
34236 (char *) "self", NULL
34239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34244 (arg1
)->DetachSizer();
34246 wxPyEndAllowThreads(__tstate
);
34247 if (PyErr_Occurred()) SWIG_fail
;
34249 Py_INCREF(Py_None
); resultobj
= Py_None
;
34256 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34257 PyObject
*resultobj
;
34258 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34260 PyObject
* obj0
= 0 ;
34261 char *kwnames
[] = {
34262 (char *) "self", NULL
34265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34270 result
= (arg1
)->GetSize();
34272 wxPyEndAllowThreads(__tstate
);
34273 if (PyErr_Occurred()) SWIG_fail
;
34276 wxSize
* resultptr
;
34277 resultptr
= new wxSize((wxSize
&) result
);
34278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34286 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34287 PyObject
*resultobj
;
34288 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34290 PyObject
* obj0
= 0 ;
34291 char *kwnames
[] = {
34292 (char *) "self", NULL
34295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34300 result
= (arg1
)->CalcMin();
34302 wxPyEndAllowThreads(__tstate
);
34303 if (PyErr_Occurred()) SWIG_fail
;
34306 wxSize
* resultptr
;
34307 resultptr
= new wxSize((wxSize
&) result
);
34308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34316 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34317 PyObject
*resultobj
;
34318 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34323 PyObject
* obj0
= 0 ;
34324 PyObject
* obj1
= 0 ;
34325 PyObject
* obj2
= 0 ;
34326 char *kwnames
[] = {
34327 (char *) "self",(char *) "pos",(char *) "size", NULL
34330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34333 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34334 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34336 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34337 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34341 (arg1
)->SetDimension(arg2
,arg3
);
34343 wxPyEndAllowThreads(__tstate
);
34344 if (PyErr_Occurred()) SWIG_fail
;
34346 Py_INCREF(Py_None
); resultobj
= Py_None
;
34353 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34354 PyObject
*resultobj
;
34355 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34357 PyObject
* obj0
= 0 ;
34358 char *kwnames
[] = {
34359 (char *) "self", NULL
34362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34367 result
= (arg1
)->GetMinSize();
34369 wxPyEndAllowThreads(__tstate
);
34370 if (PyErr_Occurred()) SWIG_fail
;
34373 wxSize
* resultptr
;
34374 resultptr
= new wxSize((wxSize
&) result
);
34375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34383 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34384 PyObject
*resultobj
;
34385 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34388 PyObject
* obj0
= 0 ;
34389 PyObject
* obj1
= 0 ;
34390 PyObject
* obj2
= 0 ;
34391 char *kwnames
[] = {
34392 (char *) "self",(char *) "x",(char *) "y", NULL
34395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34398 arg2
= (int) SWIG_AsInt(obj1
);
34399 if (PyErr_Occurred()) SWIG_fail
;
34400 arg3
= (int) SWIG_AsInt(obj2
);
34401 if (PyErr_Occurred()) SWIG_fail
;
34403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34404 (arg1
)->SetInitSize(arg2
,arg3
);
34406 wxPyEndAllowThreads(__tstate
);
34407 if (PyErr_Occurred()) SWIG_fail
;
34409 Py_INCREF(Py_None
); resultobj
= Py_None
;
34416 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34417 PyObject
*resultobj
;
34418 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34421 PyObject
* obj0
= 0 ;
34422 PyObject
* obj1
= 0 ;
34423 PyObject
* obj2
= 0 ;
34424 char *kwnames
[] = {
34425 (char *) "self",(char *) "width",(char *) "height", NULL
34428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34431 arg2
= (int) SWIG_AsInt(obj1
);
34432 if (PyErr_Occurred()) SWIG_fail
;
34433 arg3
= (int) SWIG_AsInt(obj2
);
34434 if (PyErr_Occurred()) SWIG_fail
;
34436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34437 (arg1
)->SetRatio(arg2
,arg3
);
34439 wxPyEndAllowThreads(__tstate
);
34440 if (PyErr_Occurred()) SWIG_fail
;
34442 Py_INCREF(Py_None
); resultobj
= Py_None
;
34449 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34450 PyObject
*resultobj
;
34451 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34454 PyObject
* obj0
= 0 ;
34455 PyObject
* obj1
= 0 ;
34456 char *kwnames
[] = {
34457 (char *) "self",(char *) "size", NULL
34460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34463 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34464 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34468 (arg1
)->SetRatio(arg2
);
34470 wxPyEndAllowThreads(__tstate
);
34471 if (PyErr_Occurred()) SWIG_fail
;
34473 Py_INCREF(Py_None
); resultobj
= Py_None
;
34480 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34481 PyObject
*resultobj
;
34482 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34484 PyObject
* obj0
= 0 ;
34485 PyObject
* obj1
= 0 ;
34486 char *kwnames
[] = {
34487 (char *) "self",(char *) "ratio", NULL
34490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34493 arg2
= (float) SWIG_AsFloat(obj1
);
34494 if (PyErr_Occurred()) SWIG_fail
;
34496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34497 (arg1
)->SetRatio(arg2
);
34499 wxPyEndAllowThreads(__tstate
);
34500 if (PyErr_Occurred()) SWIG_fail
;
34502 Py_INCREF(Py_None
); resultobj
= Py_None
;
34509 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34510 PyObject
*resultobj
;
34511 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34513 PyObject
* obj0
= 0 ;
34514 char *kwnames
[] = {
34515 (char *) "self", NULL
34518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34523 result
= (float)(arg1
)->GetRatio();
34525 wxPyEndAllowThreads(__tstate
);
34526 if (PyErr_Occurred()) SWIG_fail
;
34528 resultobj
= SWIG_FromFloat((float)result
);
34535 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34536 PyObject
*resultobj
;
34537 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34539 PyObject
* obj0
= 0 ;
34540 char *kwnames
[] = {
34541 (char *) "self", NULL
34544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34549 result
= (bool)(arg1
)->IsWindow();
34551 wxPyEndAllowThreads(__tstate
);
34552 if (PyErr_Occurred()) SWIG_fail
;
34555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34563 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34564 PyObject
*resultobj
;
34565 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34567 PyObject
* obj0
= 0 ;
34568 char *kwnames
[] = {
34569 (char *) "self", NULL
34572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34577 result
= (bool)(arg1
)->IsSizer();
34579 wxPyEndAllowThreads(__tstate
);
34580 if (PyErr_Occurred()) SWIG_fail
;
34583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34591 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34592 PyObject
*resultobj
;
34593 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34595 PyObject
* obj0
= 0 ;
34596 char *kwnames
[] = {
34597 (char *) "self", NULL
34600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34605 result
= (bool)(arg1
)->IsSpacer();
34607 wxPyEndAllowThreads(__tstate
);
34608 if (PyErr_Occurred()) SWIG_fail
;
34611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34619 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34620 PyObject
*resultobj
;
34621 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34623 PyObject
* obj0
= 0 ;
34624 PyObject
* obj1
= 0 ;
34625 char *kwnames
[] = {
34626 (char *) "self",(char *) "proportion", NULL
34629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34632 arg2
= (int) SWIG_AsInt(obj1
);
34633 if (PyErr_Occurred()) SWIG_fail
;
34635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34636 (arg1
)->SetProportion(arg2
);
34638 wxPyEndAllowThreads(__tstate
);
34639 if (PyErr_Occurred()) SWIG_fail
;
34641 Py_INCREF(Py_None
); resultobj
= Py_None
;
34648 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34649 PyObject
*resultobj
;
34650 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34652 PyObject
* obj0
= 0 ;
34653 char *kwnames
[] = {
34654 (char *) "self", NULL
34657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34662 result
= (int)(arg1
)->GetProportion();
34664 wxPyEndAllowThreads(__tstate
);
34665 if (PyErr_Occurred()) SWIG_fail
;
34667 resultobj
= SWIG_FromInt((int)result
);
34674 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34675 PyObject
*resultobj
;
34676 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34678 PyObject
* obj0
= 0 ;
34679 PyObject
* obj1
= 0 ;
34680 char *kwnames
[] = {
34681 (char *) "self",(char *) "flag", NULL
34684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34687 arg2
= (int) SWIG_AsInt(obj1
);
34688 if (PyErr_Occurred()) SWIG_fail
;
34690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34691 (arg1
)->SetFlag(arg2
);
34693 wxPyEndAllowThreads(__tstate
);
34694 if (PyErr_Occurred()) SWIG_fail
;
34696 Py_INCREF(Py_None
); resultobj
= Py_None
;
34703 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34704 PyObject
*resultobj
;
34705 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34707 PyObject
* obj0
= 0 ;
34708 char *kwnames
[] = {
34709 (char *) "self", NULL
34712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34717 result
= (int)(arg1
)->GetFlag();
34719 wxPyEndAllowThreads(__tstate
);
34720 if (PyErr_Occurred()) SWIG_fail
;
34722 resultobj
= SWIG_FromInt((int)result
);
34729 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34730 PyObject
*resultobj
;
34731 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34733 PyObject
* obj0
= 0 ;
34734 PyObject
* obj1
= 0 ;
34735 char *kwnames
[] = {
34736 (char *) "self",(char *) "border", NULL
34739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34742 arg2
= (int) SWIG_AsInt(obj1
);
34743 if (PyErr_Occurred()) SWIG_fail
;
34745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34746 (arg1
)->SetBorder(arg2
);
34748 wxPyEndAllowThreads(__tstate
);
34749 if (PyErr_Occurred()) SWIG_fail
;
34751 Py_INCREF(Py_None
); resultobj
= Py_None
;
34758 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34759 PyObject
*resultobj
;
34760 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34762 PyObject
* obj0
= 0 ;
34763 char *kwnames
[] = {
34764 (char *) "self", NULL
34767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34772 result
= (int)(arg1
)->GetBorder();
34774 wxPyEndAllowThreads(__tstate
);
34775 if (PyErr_Occurred()) SWIG_fail
;
34777 resultobj
= SWIG_FromInt((int)result
);
34784 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34785 PyObject
*resultobj
;
34786 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34788 PyObject
* obj0
= 0 ;
34789 char *kwnames
[] = {
34790 (char *) "self", NULL
34793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34798 result
= (wxWindow
*)(arg1
)->GetWindow();
34800 wxPyEndAllowThreads(__tstate
);
34801 if (PyErr_Occurred()) SWIG_fail
;
34804 resultobj
= wxPyMake_wxObject(result
);
34812 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34813 PyObject
*resultobj
;
34814 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34815 wxWindow
*arg2
= (wxWindow
*) 0 ;
34816 PyObject
* obj0
= 0 ;
34817 PyObject
* obj1
= 0 ;
34818 char *kwnames
[] = {
34819 (char *) "self",(char *) "window", NULL
34822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34829 (arg1
)->SetWindow(arg2
);
34831 wxPyEndAllowThreads(__tstate
);
34832 if (PyErr_Occurred()) SWIG_fail
;
34834 Py_INCREF(Py_None
); resultobj
= Py_None
;
34841 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34842 PyObject
*resultobj
;
34843 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34845 PyObject
* obj0
= 0 ;
34846 char *kwnames
[] = {
34847 (char *) "self", NULL
34850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34855 result
= (wxSizer
*)(arg1
)->GetSizer();
34857 wxPyEndAllowThreads(__tstate
);
34858 if (PyErr_Occurred()) SWIG_fail
;
34861 resultobj
= wxPyMake_wxSizer(result
);
34869 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34870 PyObject
*resultobj
;
34871 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34872 wxSizer
*arg2
= (wxSizer
*) 0 ;
34873 PyObject
* obj0
= 0 ;
34874 PyObject
* obj1
= 0 ;
34875 char *kwnames
[] = {
34876 (char *) "self",(char *) "sizer", NULL
34879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34886 (arg1
)->SetSizer(arg2
);
34888 wxPyEndAllowThreads(__tstate
);
34889 if (PyErr_Occurred()) SWIG_fail
;
34891 Py_INCREF(Py_None
); resultobj
= Py_None
;
34898 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34899 PyObject
*resultobj
;
34900 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34902 PyObject
* obj0
= 0 ;
34903 char *kwnames
[] = {
34904 (char *) "self", NULL
34907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34913 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34914 result
= (wxSize
*) &_result_ref
;
34917 wxPyEndAllowThreads(__tstate
);
34918 if (PyErr_Occurred()) SWIG_fail
;
34920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34927 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34928 PyObject
*resultobj
;
34929 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34932 PyObject
* obj0
= 0 ;
34933 PyObject
* obj1
= 0 ;
34934 char *kwnames
[] = {
34935 (char *) "self",(char *) "size", NULL
34938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34943 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34947 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34949 wxPyEndAllowThreads(__tstate
);
34950 if (PyErr_Occurred()) SWIG_fail
;
34952 Py_INCREF(Py_None
); resultobj
= Py_None
;
34959 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34960 PyObject
*resultobj
;
34961 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34963 PyObject
* obj0
= 0 ;
34964 PyObject
* obj1
= 0 ;
34965 char *kwnames
[] = {
34966 (char *) "self",(char *) "show", NULL
34969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34972 arg2
= (bool) SWIG_AsBool(obj1
);
34973 if (PyErr_Occurred()) SWIG_fail
;
34975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34976 (arg1
)->Show(arg2
);
34978 wxPyEndAllowThreads(__tstate
);
34979 if (PyErr_Occurred()) SWIG_fail
;
34981 Py_INCREF(Py_None
); resultobj
= Py_None
;
34988 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34989 PyObject
*resultobj
;
34990 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34992 PyObject
* obj0
= 0 ;
34993 char *kwnames
[] = {
34994 (char *) "self", NULL
34997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35002 result
= (bool)(arg1
)->IsShown();
35004 wxPyEndAllowThreads(__tstate
);
35005 if (PyErr_Occurred()) SWIG_fail
;
35008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35016 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35017 PyObject
*resultobj
;
35018 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35020 PyObject
* obj0
= 0 ;
35021 char *kwnames
[] = {
35022 (char *) "self", NULL
35025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35030 result
= (arg1
)->GetPosition();
35032 wxPyEndAllowThreads(__tstate
);
35033 if (PyErr_Occurred()) SWIG_fail
;
35036 wxPoint
* resultptr
;
35037 resultptr
= new wxPoint((wxPoint
&) result
);
35038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35046 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35047 PyObject
*resultobj
;
35048 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35050 PyObject
* obj0
= 0 ;
35051 char *kwnames
[] = {
35052 (char *) "self", NULL
35055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35060 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35062 wxPyEndAllowThreads(__tstate
);
35063 if (PyErr_Occurred()) SWIG_fail
;
35065 resultobj
= result
;
35072 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
35074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35075 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35077 return Py_BuildValue((char *)"");
35079 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35080 PyObject
*resultobj
;
35081 wxSizer
*arg1
= (wxSizer
*) 0 ;
35082 PyObject
*arg2
= (PyObject
*) 0 ;
35083 PyObject
* obj0
= 0 ;
35084 PyObject
* obj1
= 0 ;
35085 char *kwnames
[] = {
35086 (char *) "self",(char *) "_self", NULL
35089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35095 wxSizer__setOORInfo(arg1
,arg2
);
35097 wxPyEndAllowThreads(__tstate
);
35098 if (PyErr_Occurred()) SWIG_fail
;
35100 Py_INCREF(Py_None
); resultobj
= Py_None
;
35107 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35108 PyObject
*resultobj
;
35109 wxSizer
*arg1
= (wxSizer
*) 0 ;
35110 PyObject
*arg2
= (PyObject
*) 0 ;
35111 int arg3
= (int) 0 ;
35112 int arg4
= (int) 0 ;
35113 int arg5
= (int) 0 ;
35114 PyObject
*arg6
= (PyObject
*) NULL
;
35115 PyObject
* obj0
= 0 ;
35116 PyObject
* obj1
= 0 ;
35117 PyObject
* obj2
= 0 ;
35118 PyObject
* obj3
= 0 ;
35119 PyObject
* obj4
= 0 ;
35120 PyObject
* obj5
= 0 ;
35121 char *kwnames
[] = {
35122 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35130 arg3
= (int) SWIG_AsInt(obj2
);
35131 if (PyErr_Occurred()) SWIG_fail
;
35134 arg4
= (int) SWIG_AsInt(obj3
);
35135 if (PyErr_Occurred()) SWIG_fail
;
35138 arg5
= (int) SWIG_AsInt(obj4
);
35139 if (PyErr_Occurred()) SWIG_fail
;
35145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35146 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35148 wxPyEndAllowThreads(__tstate
);
35149 if (PyErr_Occurred()) SWIG_fail
;
35151 Py_INCREF(Py_None
); resultobj
= Py_None
;
35158 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35159 PyObject
*resultobj
;
35160 wxSizer
*arg1
= (wxSizer
*) 0 ;
35162 PyObject
*arg3
= (PyObject
*) 0 ;
35163 int arg4
= (int) 0 ;
35164 int arg5
= (int) 0 ;
35165 int arg6
= (int) 0 ;
35166 PyObject
*arg7
= (PyObject
*) NULL
;
35167 PyObject
* obj0
= 0 ;
35168 PyObject
* obj1
= 0 ;
35169 PyObject
* obj2
= 0 ;
35170 PyObject
* obj3
= 0 ;
35171 PyObject
* obj4
= 0 ;
35172 PyObject
* obj5
= 0 ;
35173 PyObject
* obj6
= 0 ;
35174 char *kwnames
[] = {
35175 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35181 arg2
= (int) SWIG_AsInt(obj1
);
35182 if (PyErr_Occurred()) SWIG_fail
;
35185 arg4
= (int) SWIG_AsInt(obj3
);
35186 if (PyErr_Occurred()) SWIG_fail
;
35189 arg5
= (int) SWIG_AsInt(obj4
);
35190 if (PyErr_Occurred()) SWIG_fail
;
35193 arg6
= (int) SWIG_AsInt(obj5
);
35194 if (PyErr_Occurred()) SWIG_fail
;
35200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35201 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35203 wxPyEndAllowThreads(__tstate
);
35204 if (PyErr_Occurred()) SWIG_fail
;
35206 Py_INCREF(Py_None
); resultobj
= Py_None
;
35213 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35214 PyObject
*resultobj
;
35215 wxSizer
*arg1
= (wxSizer
*) 0 ;
35216 PyObject
*arg2
= (PyObject
*) 0 ;
35217 int arg3
= (int) 0 ;
35218 int arg4
= (int) 0 ;
35219 int arg5
= (int) 0 ;
35220 PyObject
*arg6
= (PyObject
*) NULL
;
35221 PyObject
* obj0
= 0 ;
35222 PyObject
* obj1
= 0 ;
35223 PyObject
* obj2
= 0 ;
35224 PyObject
* obj3
= 0 ;
35225 PyObject
* obj4
= 0 ;
35226 PyObject
* obj5
= 0 ;
35227 char *kwnames
[] = {
35228 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35236 arg3
= (int) SWIG_AsInt(obj2
);
35237 if (PyErr_Occurred()) SWIG_fail
;
35240 arg4
= (int) SWIG_AsInt(obj3
);
35241 if (PyErr_Occurred()) SWIG_fail
;
35244 arg5
= (int) SWIG_AsInt(obj4
);
35245 if (PyErr_Occurred()) SWIG_fail
;
35251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35252 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35254 wxPyEndAllowThreads(__tstate
);
35255 if (PyErr_Occurred()) SWIG_fail
;
35257 Py_INCREF(Py_None
); resultobj
= Py_None
;
35264 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35265 PyObject
*resultobj
;
35266 wxSizer
*arg1
= (wxSizer
*) 0 ;
35267 PyObject
*arg2
= (PyObject
*) 0 ;
35269 PyObject
* obj0
= 0 ;
35270 PyObject
* obj1
= 0 ;
35271 char *kwnames
[] = {
35272 (char *) "self",(char *) "item", NULL
35275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35281 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35283 wxPyEndAllowThreads(__tstate
);
35284 if (PyErr_Occurred()) SWIG_fail
;
35287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35295 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35296 PyObject
*resultobj
;
35297 wxSizer
*arg1
= (wxSizer
*) 0 ;
35298 PyObject
*arg2
= (PyObject
*) 0 ;
35300 PyObject
* obj0
= 0 ;
35301 PyObject
* obj1
= 0 ;
35302 char *kwnames
[] = {
35303 (char *) "self",(char *) "item", NULL
35306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35312 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35314 wxPyEndAllowThreads(__tstate
);
35315 if (PyErr_Occurred()) SWIG_fail
;
35318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35326 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35327 PyObject
*resultobj
;
35328 wxSizer
*arg1
= (wxSizer
*) 0 ;
35329 PyObject
*arg2
= (PyObject
*) 0 ;
35332 PyObject
* obj0
= 0 ;
35333 PyObject
* obj1
= 0 ;
35334 PyObject
* obj2
= 0 ;
35335 char *kwnames
[] = {
35336 (char *) "self",(char *) "item",(char *) "size", NULL
35339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35345 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35349 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35351 wxPyEndAllowThreads(__tstate
);
35352 if (PyErr_Occurred()) SWIG_fail
;
35354 Py_INCREF(Py_None
); resultobj
= Py_None
;
35361 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35362 PyObject
*resultobj
;
35363 wxSizer
*arg1
= (wxSizer
*) 0 ;
35364 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35365 PyObject
* obj0
= 0 ;
35366 PyObject
* obj1
= 0 ;
35367 char *kwnames
[] = {
35368 (char *) "self",(char *) "item", NULL
35371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35380 wxPyEndAllowThreads(__tstate
);
35381 if (PyErr_Occurred()) SWIG_fail
;
35383 Py_INCREF(Py_None
); resultobj
= Py_None
;
35390 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35391 PyObject
*resultobj
;
35392 wxSizer
*arg1
= (wxSizer
*) 0 ;
35394 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35395 PyObject
* obj0
= 0 ;
35396 PyObject
* obj1
= 0 ;
35397 PyObject
* obj2
= 0 ;
35398 char *kwnames
[] = {
35399 (char *) "self",(char *) "index",(char *) "item", NULL
35402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35405 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35406 if (PyErr_Occurred()) SWIG_fail
;
35407 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35411 (arg1
)->Insert(arg2
,arg3
);
35413 wxPyEndAllowThreads(__tstate
);
35414 if (PyErr_Occurred()) SWIG_fail
;
35416 Py_INCREF(Py_None
); resultobj
= Py_None
;
35423 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35424 PyObject
*resultobj
;
35425 wxSizer
*arg1
= (wxSizer
*) 0 ;
35426 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35427 PyObject
* obj0
= 0 ;
35428 PyObject
* obj1
= 0 ;
35429 char *kwnames
[] = {
35430 (char *) "self",(char *) "item", NULL
35433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35440 (arg1
)->Prepend(arg2
);
35442 wxPyEndAllowThreads(__tstate
);
35443 if (PyErr_Occurred()) SWIG_fail
;
35445 Py_INCREF(Py_None
); resultobj
= Py_None
;
35452 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35453 PyObject
*resultobj
;
35454 wxSizer
*arg1
= (wxSizer
*) 0 ;
35459 PyObject
* obj0
= 0 ;
35460 PyObject
* obj1
= 0 ;
35461 PyObject
* obj2
= 0 ;
35462 PyObject
* obj3
= 0 ;
35463 PyObject
* obj4
= 0 ;
35464 char *kwnames
[] = {
35465 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35471 arg2
= (int) SWIG_AsInt(obj1
);
35472 if (PyErr_Occurred()) SWIG_fail
;
35473 arg3
= (int) SWIG_AsInt(obj2
);
35474 if (PyErr_Occurred()) SWIG_fail
;
35475 arg4
= (int) SWIG_AsInt(obj3
);
35476 if (PyErr_Occurred()) SWIG_fail
;
35477 arg5
= (int) SWIG_AsInt(obj4
);
35478 if (PyErr_Occurred()) SWIG_fail
;
35480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35481 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35483 wxPyEndAllowThreads(__tstate
);
35484 if (PyErr_Occurred()) SWIG_fail
;
35486 Py_INCREF(Py_None
); resultobj
= Py_None
;
35493 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35494 PyObject
*resultobj
;
35495 wxSizer
*arg1
= (wxSizer
*) 0 ;
35498 PyObject
* obj0
= 0 ;
35499 PyObject
* obj1
= 0 ;
35500 char *kwnames
[] = {
35501 (char *) "self",(char *) "size", NULL
35504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35509 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35513 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35515 wxPyEndAllowThreads(__tstate
);
35516 if (PyErr_Occurred()) SWIG_fail
;
35518 Py_INCREF(Py_None
); resultobj
= Py_None
;
35525 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35526 PyObject
*resultobj
;
35527 wxSizer
*arg1
= (wxSizer
*) 0 ;
35529 PyObject
* obj0
= 0 ;
35530 char *kwnames
[] = {
35531 (char *) "self", NULL
35534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35539 result
= (arg1
)->GetSize();
35541 wxPyEndAllowThreads(__tstate
);
35542 if (PyErr_Occurred()) SWIG_fail
;
35545 wxSize
* resultptr
;
35546 resultptr
= new wxSize((wxSize
&) result
);
35547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35555 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35556 PyObject
*resultobj
;
35557 wxSizer
*arg1
= (wxSizer
*) 0 ;
35559 PyObject
* obj0
= 0 ;
35560 char *kwnames
[] = {
35561 (char *) "self", NULL
35564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35569 result
= (arg1
)->GetPosition();
35571 wxPyEndAllowThreads(__tstate
);
35572 if (PyErr_Occurred()) SWIG_fail
;
35575 wxPoint
* resultptr
;
35576 resultptr
= new wxPoint((wxPoint
&) result
);
35577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35585 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35586 PyObject
*resultobj
;
35587 wxSizer
*arg1
= (wxSizer
*) 0 ;
35589 PyObject
* obj0
= 0 ;
35590 char *kwnames
[] = {
35591 (char *) "self", NULL
35594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35599 result
= (arg1
)->GetMinSize();
35601 wxPyEndAllowThreads(__tstate
);
35602 if (PyErr_Occurred()) SWIG_fail
;
35605 wxSize
* resultptr
;
35606 resultptr
= new wxSize((wxSize
&) result
);
35607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35615 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35616 PyObject
*resultobj
;
35617 wxSizer
*arg1
= (wxSizer
*) 0 ;
35618 PyObject
* obj0
= 0 ;
35619 char *kwnames
[] = {
35620 (char *) "self", NULL
35623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35628 (arg1
)->RecalcSizes();
35630 wxPyEndAllowThreads(__tstate
);
35631 if (PyErr_Occurred()) SWIG_fail
;
35633 Py_INCREF(Py_None
); resultobj
= Py_None
;
35640 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35641 PyObject
*resultobj
;
35642 wxSizer
*arg1
= (wxSizer
*) 0 ;
35644 PyObject
* obj0
= 0 ;
35645 char *kwnames
[] = {
35646 (char *) "self", NULL
35649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35654 result
= (arg1
)->CalcMin();
35656 wxPyEndAllowThreads(__tstate
);
35657 if (PyErr_Occurred()) SWIG_fail
;
35660 wxSize
* resultptr
;
35661 resultptr
= new wxSize((wxSize
&) result
);
35662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35670 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35671 PyObject
*resultobj
;
35672 wxSizer
*arg1
= (wxSizer
*) 0 ;
35673 PyObject
* obj0
= 0 ;
35674 char *kwnames
[] = {
35675 (char *) "self", NULL
35678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35685 wxPyEndAllowThreads(__tstate
);
35686 if (PyErr_Occurred()) SWIG_fail
;
35688 Py_INCREF(Py_None
); resultobj
= Py_None
;
35695 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35696 PyObject
*resultobj
;
35697 wxSizer
*arg1
= (wxSizer
*) 0 ;
35698 wxWindow
*arg2
= (wxWindow
*) 0 ;
35700 PyObject
* obj0
= 0 ;
35701 PyObject
* obj1
= 0 ;
35702 char *kwnames
[] = {
35703 (char *) "self",(char *) "window", NULL
35706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35713 result
= (arg1
)->Fit(arg2
);
35715 wxPyEndAllowThreads(__tstate
);
35716 if (PyErr_Occurred()) SWIG_fail
;
35719 wxSize
* resultptr
;
35720 resultptr
= new wxSize((wxSize
&) result
);
35721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35729 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35730 PyObject
*resultobj
;
35731 wxSizer
*arg1
= (wxSizer
*) 0 ;
35732 wxWindow
*arg2
= (wxWindow
*) 0 ;
35733 PyObject
* obj0
= 0 ;
35734 PyObject
* obj1
= 0 ;
35735 char *kwnames
[] = {
35736 (char *) "self",(char *) "window", NULL
35739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35746 (arg1
)->FitInside(arg2
);
35748 wxPyEndAllowThreads(__tstate
);
35749 if (PyErr_Occurred()) SWIG_fail
;
35751 Py_INCREF(Py_None
); resultobj
= Py_None
;
35758 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35759 PyObject
*resultobj
;
35760 wxSizer
*arg1
= (wxSizer
*) 0 ;
35761 wxWindow
*arg2
= (wxWindow
*) 0 ;
35762 PyObject
* obj0
= 0 ;
35763 PyObject
* obj1
= 0 ;
35764 char *kwnames
[] = {
35765 (char *) "self",(char *) "window", NULL
35768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35775 (arg1
)->SetSizeHints(arg2
);
35777 wxPyEndAllowThreads(__tstate
);
35778 if (PyErr_Occurred()) SWIG_fail
;
35780 Py_INCREF(Py_None
); resultobj
= Py_None
;
35787 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35788 PyObject
*resultobj
;
35789 wxSizer
*arg1
= (wxSizer
*) 0 ;
35790 wxWindow
*arg2
= (wxWindow
*) 0 ;
35791 PyObject
* obj0
= 0 ;
35792 PyObject
* obj1
= 0 ;
35793 char *kwnames
[] = {
35794 (char *) "self",(char *) "window", NULL
35797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35804 (arg1
)->SetVirtualSizeHints(arg2
);
35806 wxPyEndAllowThreads(__tstate
);
35807 if (PyErr_Occurred()) SWIG_fail
;
35809 Py_INCREF(Py_None
); resultobj
= Py_None
;
35816 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35817 PyObject
*resultobj
;
35818 wxSizer
*arg1
= (wxSizer
*) 0 ;
35819 bool arg2
= (bool) False
;
35820 PyObject
* obj0
= 0 ;
35821 PyObject
* obj1
= 0 ;
35822 char *kwnames
[] = {
35823 (char *) "self",(char *) "deleteWindows", NULL
35826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35830 arg2
= (bool) SWIG_AsBool(obj1
);
35831 if (PyErr_Occurred()) SWIG_fail
;
35834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35835 (arg1
)->Clear(arg2
);
35837 wxPyEndAllowThreads(__tstate
);
35838 if (PyErr_Occurred()) SWIG_fail
;
35840 Py_INCREF(Py_None
); resultobj
= Py_None
;
35847 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35848 PyObject
*resultobj
;
35849 wxSizer
*arg1
= (wxSizer
*) 0 ;
35850 PyObject
* obj0
= 0 ;
35851 char *kwnames
[] = {
35852 (char *) "self", NULL
35855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35860 (arg1
)->DeleteWindows();
35862 wxPyEndAllowThreads(__tstate
);
35863 if (PyErr_Occurred()) SWIG_fail
;
35865 Py_INCREF(Py_None
); resultobj
= Py_None
;
35872 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35873 PyObject
*resultobj
;
35874 wxSizer
*arg1
= (wxSizer
*) 0 ;
35876 PyObject
* obj0
= 0 ;
35877 char *kwnames
[] = {
35878 (char *) "self", NULL
35881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35886 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35888 wxPyEndAllowThreads(__tstate
);
35889 if (PyErr_Occurred()) SWIG_fail
;
35891 resultobj
= result
;
35898 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35899 PyObject
*resultobj
;
35900 wxSizer
*arg1
= (wxSizer
*) 0 ;
35901 PyObject
*arg2
= (PyObject
*) 0 ;
35902 bool arg3
= (bool) True
;
35903 PyObject
* obj0
= 0 ;
35904 PyObject
* obj1
= 0 ;
35905 PyObject
* obj2
= 0 ;
35906 char *kwnames
[] = {
35907 (char *) "self",(char *) "item",(char *) "show", NULL
35910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35915 arg3
= (bool) SWIG_AsBool(obj2
);
35916 if (PyErr_Occurred()) SWIG_fail
;
35919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35920 wxSizer_Show(arg1
,arg2
,arg3
);
35922 wxPyEndAllowThreads(__tstate
);
35923 if (PyErr_Occurred()) SWIG_fail
;
35925 Py_INCREF(Py_None
); resultobj
= Py_None
;
35932 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35933 PyObject
*resultobj
;
35934 wxSizer
*arg1
= (wxSizer
*) 0 ;
35935 PyObject
*arg2
= (PyObject
*) 0 ;
35937 PyObject
* obj0
= 0 ;
35938 PyObject
* obj1
= 0 ;
35939 char *kwnames
[] = {
35940 (char *) "self",(char *) "item", NULL
35943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35949 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35951 wxPyEndAllowThreads(__tstate
);
35952 if (PyErr_Occurred()) SWIG_fail
;
35955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35963 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35964 PyObject
*resultobj
;
35965 wxSizer
*arg1
= (wxSizer
*) 0 ;
35967 PyObject
* obj0
= 0 ;
35968 PyObject
* obj1
= 0 ;
35969 char *kwnames
[] = {
35970 (char *) "self",(char *) "show", NULL
35973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35976 arg2
= (bool) SWIG_AsBool(obj1
);
35977 if (PyErr_Occurred()) SWIG_fail
;
35979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35980 (arg1
)->ShowItems(arg2
);
35982 wxPyEndAllowThreads(__tstate
);
35983 if (PyErr_Occurred()) SWIG_fail
;
35985 Py_INCREF(Py_None
); resultobj
= Py_None
;
35992 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35995 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35997 return Py_BuildValue((char *)"");
35999 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36000 PyObject
*resultobj
;
36002 char *kwnames
[] = {
36006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36009 result
= (wxPySizer
*)new wxPySizer();
36011 wxPyEndAllowThreads(__tstate
);
36012 if (PyErr_Occurred()) SWIG_fail
;
36014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36021 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36022 PyObject
*resultobj
;
36023 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36024 PyObject
*arg2
= (PyObject
*) 0 ;
36025 PyObject
*arg3
= (PyObject
*) 0 ;
36026 PyObject
* obj0
= 0 ;
36027 PyObject
* obj1
= 0 ;
36028 PyObject
* obj2
= 0 ;
36029 char *kwnames
[] = {
36030 (char *) "self",(char *) "self",(char *) "_class", NULL
36033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36040 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36042 wxPyEndAllowThreads(__tstate
);
36043 if (PyErr_Occurred()) SWIG_fail
;
36045 Py_INCREF(Py_None
); resultobj
= Py_None
;
36052 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
36054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36055 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36057 return Py_BuildValue((char *)"");
36059 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36060 PyObject
*resultobj
;
36061 int arg1
= (int) wxHORIZONTAL
;
36062 wxBoxSizer
*result
;
36063 PyObject
* obj0
= 0 ;
36064 char *kwnames
[] = {
36065 (char *) "orient", NULL
36068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36070 arg1
= (int) SWIG_AsInt(obj0
);
36071 if (PyErr_Occurred()) SWIG_fail
;
36074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36075 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36077 wxPyEndAllowThreads(__tstate
);
36078 if (PyErr_Occurred()) SWIG_fail
;
36080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36087 static PyObject
*_wrap_BoxSizer_GetOrientation(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_GetOrientation",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
= (int)(arg1
)->GetOrientation();
36103 wxPyEndAllowThreads(__tstate
);
36104 if (PyErr_Occurred()) SWIG_fail
;
36106 resultobj
= SWIG_FromInt((int)result
);
36113 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36114 PyObject
*resultobj
;
36115 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36117 PyObject
* obj0
= 0 ;
36118 PyObject
* obj1
= 0 ;
36119 char *kwnames
[] = {
36120 (char *) "self",(char *) "orient", NULL
36123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36126 arg2
= (int) SWIG_AsInt(obj1
);
36127 if (PyErr_Occurred()) SWIG_fail
;
36129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36130 (arg1
)->SetOrientation(arg2
);
36132 wxPyEndAllowThreads(__tstate
);
36133 if (PyErr_Occurred()) SWIG_fail
;
36135 Py_INCREF(Py_None
); resultobj
= Py_None
;
36142 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36145 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36147 return Py_BuildValue((char *)"");
36149 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36150 PyObject
*resultobj
;
36151 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36152 int arg2
= (int) wxHORIZONTAL
;
36153 wxStaticBoxSizer
*result
;
36154 PyObject
* obj0
= 0 ;
36155 PyObject
* obj1
= 0 ;
36156 char *kwnames
[] = {
36157 (char *) "box",(char *) "orient", NULL
36160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36164 arg2
= (int) SWIG_AsInt(obj1
);
36165 if (PyErr_Occurred()) SWIG_fail
;
36168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36169 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36171 wxPyEndAllowThreads(__tstate
);
36172 if (PyErr_Occurred()) SWIG_fail
;
36174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36181 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36182 PyObject
*resultobj
;
36183 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36184 wxStaticBox
*result
;
36185 PyObject
* obj0
= 0 ;
36186 char *kwnames
[] = {
36187 (char *) "self", NULL
36190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36195 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36197 wxPyEndAllowThreads(__tstate
);
36198 if (PyErr_Occurred()) SWIG_fail
;
36201 resultobj
= wxPyMake_wxObject(result
);
36209 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36212 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36214 return Py_BuildValue((char *)"");
36216 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36217 PyObject
*resultobj
;
36218 int arg1
= (int) 1 ;
36219 int arg2
= (int) 0 ;
36220 int arg3
= (int) 0 ;
36221 int arg4
= (int) 0 ;
36222 wxGridSizer
*result
;
36223 PyObject
* obj0
= 0 ;
36224 PyObject
* obj1
= 0 ;
36225 PyObject
* obj2
= 0 ;
36226 PyObject
* obj3
= 0 ;
36227 char *kwnames
[] = {
36228 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36233 arg1
= (int) SWIG_AsInt(obj0
);
36234 if (PyErr_Occurred()) SWIG_fail
;
36237 arg2
= (int) SWIG_AsInt(obj1
);
36238 if (PyErr_Occurred()) SWIG_fail
;
36241 arg3
= (int) SWIG_AsInt(obj2
);
36242 if (PyErr_Occurred()) SWIG_fail
;
36245 arg4
= (int) SWIG_AsInt(obj3
);
36246 if (PyErr_Occurred()) SWIG_fail
;
36249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36250 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36252 wxPyEndAllowThreads(__tstate
);
36253 if (PyErr_Occurred()) SWIG_fail
;
36255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36262 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36263 PyObject
*resultobj
;
36264 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36266 PyObject
* obj0
= 0 ;
36267 PyObject
* obj1
= 0 ;
36268 char *kwnames
[] = {
36269 (char *) "self",(char *) "cols", NULL
36272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36275 arg2
= (int) SWIG_AsInt(obj1
);
36276 if (PyErr_Occurred()) SWIG_fail
;
36278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36279 (arg1
)->SetCols(arg2
);
36281 wxPyEndAllowThreads(__tstate
);
36282 if (PyErr_Occurred()) SWIG_fail
;
36284 Py_INCREF(Py_None
); resultobj
= Py_None
;
36291 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36292 PyObject
*resultobj
;
36293 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36295 PyObject
* obj0
= 0 ;
36296 PyObject
* obj1
= 0 ;
36297 char *kwnames
[] = {
36298 (char *) "self",(char *) "rows", NULL
36301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36304 arg2
= (int) SWIG_AsInt(obj1
);
36305 if (PyErr_Occurred()) SWIG_fail
;
36307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36308 (arg1
)->SetRows(arg2
);
36310 wxPyEndAllowThreads(__tstate
);
36311 if (PyErr_Occurred()) SWIG_fail
;
36313 Py_INCREF(Py_None
); resultobj
= Py_None
;
36320 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36321 PyObject
*resultobj
;
36322 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36324 PyObject
* obj0
= 0 ;
36325 PyObject
* obj1
= 0 ;
36326 char *kwnames
[] = {
36327 (char *) "self",(char *) "gap", NULL
36330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36333 arg2
= (int) SWIG_AsInt(obj1
);
36334 if (PyErr_Occurred()) SWIG_fail
;
36336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36337 (arg1
)->SetVGap(arg2
);
36339 wxPyEndAllowThreads(__tstate
);
36340 if (PyErr_Occurred()) SWIG_fail
;
36342 Py_INCREF(Py_None
); resultobj
= Py_None
;
36349 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36350 PyObject
*resultobj
;
36351 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36353 PyObject
* obj0
= 0 ;
36354 PyObject
* obj1
= 0 ;
36355 char *kwnames
[] = {
36356 (char *) "self",(char *) "gap", NULL
36359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36362 arg2
= (int) SWIG_AsInt(obj1
);
36363 if (PyErr_Occurred()) SWIG_fail
;
36365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36366 (arg1
)->SetHGap(arg2
);
36368 wxPyEndAllowThreads(__tstate
);
36369 if (PyErr_Occurred()) SWIG_fail
;
36371 Py_INCREF(Py_None
); resultobj
= Py_None
;
36378 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36379 PyObject
*resultobj
;
36380 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36382 PyObject
* obj0
= 0 ;
36383 char *kwnames
[] = {
36384 (char *) "self", NULL
36387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36392 result
= (int)(arg1
)->GetCols();
36394 wxPyEndAllowThreads(__tstate
);
36395 if (PyErr_Occurred()) SWIG_fail
;
36397 resultobj
= SWIG_FromInt((int)result
);
36404 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36405 PyObject
*resultobj
;
36406 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36408 PyObject
* obj0
= 0 ;
36409 char *kwnames
[] = {
36410 (char *) "self", NULL
36413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36418 result
= (int)(arg1
)->GetRows();
36420 wxPyEndAllowThreads(__tstate
);
36421 if (PyErr_Occurred()) SWIG_fail
;
36423 resultobj
= SWIG_FromInt((int)result
);
36430 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36431 PyObject
*resultobj
;
36432 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36434 PyObject
* obj0
= 0 ;
36435 char *kwnames
[] = {
36436 (char *) "self", NULL
36439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36444 result
= (int)(arg1
)->GetVGap();
36446 wxPyEndAllowThreads(__tstate
);
36447 if (PyErr_Occurred()) SWIG_fail
;
36449 resultobj
= SWIG_FromInt((int)result
);
36456 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36457 PyObject
*resultobj
;
36458 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36460 PyObject
* obj0
= 0 ;
36461 char *kwnames
[] = {
36462 (char *) "self", NULL
36465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36470 result
= (int)(arg1
)->GetHGap();
36472 wxPyEndAllowThreads(__tstate
);
36473 if (PyErr_Occurred()) SWIG_fail
;
36475 resultobj
= SWIG_FromInt((int)result
);
36482 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36485 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36487 return Py_BuildValue((char *)"");
36489 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36490 PyObject
*resultobj
;
36491 int arg1
= (int) 1 ;
36492 int arg2
= (int) 0 ;
36493 int arg3
= (int) 0 ;
36494 int arg4
= (int) 0 ;
36495 wxFlexGridSizer
*result
;
36496 PyObject
* obj0
= 0 ;
36497 PyObject
* obj1
= 0 ;
36498 PyObject
* obj2
= 0 ;
36499 PyObject
* obj3
= 0 ;
36500 char *kwnames
[] = {
36501 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36506 arg1
= (int) SWIG_AsInt(obj0
);
36507 if (PyErr_Occurred()) SWIG_fail
;
36510 arg2
= (int) SWIG_AsInt(obj1
);
36511 if (PyErr_Occurred()) SWIG_fail
;
36514 arg3
= (int) SWIG_AsInt(obj2
);
36515 if (PyErr_Occurred()) SWIG_fail
;
36518 arg4
= (int) SWIG_AsInt(obj3
);
36519 if (PyErr_Occurred()) SWIG_fail
;
36522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36523 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36525 wxPyEndAllowThreads(__tstate
);
36526 if (PyErr_Occurred()) SWIG_fail
;
36528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36535 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36536 PyObject
*resultobj
;
36537 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36539 int arg3
= (int) 0 ;
36540 PyObject
* obj0
= 0 ;
36541 PyObject
* obj1
= 0 ;
36542 PyObject
* obj2
= 0 ;
36543 char *kwnames
[] = {
36544 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36550 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36551 if (PyErr_Occurred()) SWIG_fail
;
36553 arg3
= (int) SWIG_AsInt(obj2
);
36554 if (PyErr_Occurred()) SWIG_fail
;
36557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36558 (arg1
)->AddGrowableRow(arg2
,arg3
);
36560 wxPyEndAllowThreads(__tstate
);
36561 if (PyErr_Occurred()) SWIG_fail
;
36563 Py_INCREF(Py_None
); resultobj
= Py_None
;
36570 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36571 PyObject
*resultobj
;
36572 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36574 PyObject
* obj0
= 0 ;
36575 PyObject
* obj1
= 0 ;
36576 char *kwnames
[] = {
36577 (char *) "self",(char *) "idx", NULL
36580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36583 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36584 if (PyErr_Occurred()) SWIG_fail
;
36586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36587 (arg1
)->RemoveGrowableRow(arg2
);
36589 wxPyEndAllowThreads(__tstate
);
36590 if (PyErr_Occurred()) SWIG_fail
;
36592 Py_INCREF(Py_None
); resultobj
= Py_None
;
36599 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36600 PyObject
*resultobj
;
36601 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36603 int arg3
= (int) 0 ;
36604 PyObject
* obj0
= 0 ;
36605 PyObject
* obj1
= 0 ;
36606 PyObject
* obj2
= 0 ;
36607 char *kwnames
[] = {
36608 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36614 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36615 if (PyErr_Occurred()) SWIG_fail
;
36617 arg3
= (int) SWIG_AsInt(obj2
);
36618 if (PyErr_Occurred()) SWIG_fail
;
36621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36622 (arg1
)->AddGrowableCol(arg2
,arg3
);
36624 wxPyEndAllowThreads(__tstate
);
36625 if (PyErr_Occurred()) SWIG_fail
;
36627 Py_INCREF(Py_None
); resultobj
= Py_None
;
36634 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36635 PyObject
*resultobj
;
36636 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36638 PyObject
* obj0
= 0 ;
36639 PyObject
* obj1
= 0 ;
36640 char *kwnames
[] = {
36641 (char *) "self",(char *) "idx", NULL
36644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36647 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36648 if (PyErr_Occurred()) SWIG_fail
;
36650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36651 (arg1
)->RemoveGrowableCol(arg2
);
36653 wxPyEndAllowThreads(__tstate
);
36654 if (PyErr_Occurred()) SWIG_fail
;
36656 Py_INCREF(Py_None
); resultobj
= Py_None
;
36663 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36664 PyObject
*resultobj
;
36665 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36667 PyObject
* obj0
= 0 ;
36668 PyObject
* obj1
= 0 ;
36669 char *kwnames
[] = {
36670 (char *) "self",(char *) "direction", NULL
36673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36676 arg2
= (int) SWIG_AsInt(obj1
);
36677 if (PyErr_Occurred()) SWIG_fail
;
36679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36680 (arg1
)->SetFlexibleDirection(arg2
);
36682 wxPyEndAllowThreads(__tstate
);
36683 if (PyErr_Occurred()) SWIG_fail
;
36685 Py_INCREF(Py_None
); resultobj
= Py_None
;
36692 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36693 PyObject
*resultobj
;
36694 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36696 PyObject
* obj0
= 0 ;
36697 char *kwnames
[] = {
36698 (char *) "self", NULL
36701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36706 result
= (int)(arg1
)->GetFlexibleDirection();
36708 wxPyEndAllowThreads(__tstate
);
36709 if (PyErr_Occurred()) SWIG_fail
;
36711 resultobj
= SWIG_FromInt((int)result
);
36718 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36719 PyObject
*resultobj
;
36720 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36722 PyObject
* obj0
= 0 ;
36723 PyObject
* obj1
= 0 ;
36724 char *kwnames
[] = {
36725 (char *) "self",(char *) "mode", NULL
36728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36731 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36732 if (PyErr_Occurred()) SWIG_fail
;
36734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36735 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36737 wxPyEndAllowThreads(__tstate
);
36738 if (PyErr_Occurred()) SWIG_fail
;
36740 Py_INCREF(Py_None
); resultobj
= Py_None
;
36747 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36748 PyObject
*resultobj
;
36749 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36751 PyObject
* obj0
= 0 ;
36752 char *kwnames
[] = {
36753 (char *) "self", NULL
36756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36761 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36763 wxPyEndAllowThreads(__tstate
);
36764 if (PyErr_Occurred()) SWIG_fail
;
36766 resultobj
= SWIG_FromInt((int)result
);
36773 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36774 PyObject
*resultobj
;
36775 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36776 wxArrayInt
*result
;
36777 PyObject
* obj0
= 0 ;
36778 char *kwnames
[] = {
36779 (char *) "self", NULL
36782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36788 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36789 result
= (wxArrayInt
*) &_result_ref
;
36792 wxPyEndAllowThreads(__tstate
);
36793 if (PyErr_Occurred()) SWIG_fail
;
36796 resultobj
= PyList_New(0);
36798 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36799 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36800 PyList_Append(resultobj
, val
);
36810 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36811 PyObject
*resultobj
;
36812 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36813 wxArrayInt
*result
;
36814 PyObject
* obj0
= 0 ;
36815 char *kwnames
[] = {
36816 (char *) "self", NULL
36819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36825 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36826 result
= (wxArrayInt
*) &_result_ref
;
36829 wxPyEndAllowThreads(__tstate
);
36830 if (PyErr_Occurred()) SWIG_fail
;
36833 resultobj
= PyList_New(0);
36835 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36836 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36837 PyList_Append(resultobj
, val
);
36847 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36850 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36852 return Py_BuildValue((char *)"");
36854 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36855 PyObject
*resultobj
;
36856 int arg1
= (int) 0 ;
36857 int arg2
= (int) 0 ;
36858 wxGBPosition
*result
;
36859 PyObject
* obj0
= 0 ;
36860 PyObject
* obj1
= 0 ;
36861 char *kwnames
[] = {
36862 (char *) "row",(char *) "col", NULL
36865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36867 arg1
= (int) SWIG_AsInt(obj0
);
36868 if (PyErr_Occurred()) SWIG_fail
;
36871 arg2
= (int) SWIG_AsInt(obj1
);
36872 if (PyErr_Occurred()) SWIG_fail
;
36875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36876 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36878 wxPyEndAllowThreads(__tstate
);
36879 if (PyErr_Occurred()) SWIG_fail
;
36881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36888 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36889 PyObject
*resultobj
;
36890 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36892 PyObject
* obj0
= 0 ;
36893 char *kwnames
[] = {
36894 (char *) "self", NULL
36897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36902 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36904 wxPyEndAllowThreads(__tstate
);
36905 if (PyErr_Occurred()) SWIG_fail
;
36907 resultobj
= SWIG_FromInt((int)result
);
36914 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36915 PyObject
*resultobj
;
36916 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36918 PyObject
* obj0
= 0 ;
36919 char *kwnames
[] = {
36920 (char *) "self", NULL
36923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36928 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36930 wxPyEndAllowThreads(__tstate
);
36931 if (PyErr_Occurred()) SWIG_fail
;
36933 resultobj
= SWIG_FromInt((int)result
);
36940 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36941 PyObject
*resultobj
;
36942 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36944 PyObject
* obj0
= 0 ;
36945 PyObject
* obj1
= 0 ;
36946 char *kwnames
[] = {
36947 (char *) "self",(char *) "row", NULL
36950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36953 arg2
= (int) SWIG_AsInt(obj1
);
36954 if (PyErr_Occurred()) SWIG_fail
;
36956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36957 (arg1
)->SetRow(arg2
);
36959 wxPyEndAllowThreads(__tstate
);
36960 if (PyErr_Occurred()) SWIG_fail
;
36962 Py_INCREF(Py_None
); resultobj
= Py_None
;
36969 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36970 PyObject
*resultobj
;
36971 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36973 PyObject
* obj0
= 0 ;
36974 PyObject
* obj1
= 0 ;
36975 char *kwnames
[] = {
36976 (char *) "self",(char *) "col", NULL
36979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36982 arg2
= (int) SWIG_AsInt(obj1
);
36983 if (PyErr_Occurred()) SWIG_fail
;
36985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36986 (arg1
)->SetCol(arg2
);
36988 wxPyEndAllowThreads(__tstate
);
36989 if (PyErr_Occurred()) SWIG_fail
;
36991 Py_INCREF(Py_None
); resultobj
= Py_None
;
36998 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36999 PyObject
*resultobj
;
37000 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37001 wxGBPosition
*arg2
= 0 ;
37003 wxGBPosition temp2
;
37004 PyObject
* obj0
= 0 ;
37005 PyObject
* obj1
= 0 ;
37006 char *kwnames
[] = {
37007 (char *) "self",(char *) "other", NULL
37010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37015 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37019 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37021 wxPyEndAllowThreads(__tstate
);
37022 if (PyErr_Occurred()) SWIG_fail
;
37025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37033 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37034 PyObject
*resultobj
;
37035 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37036 wxGBPosition
*arg2
= 0 ;
37038 wxGBPosition temp2
;
37039 PyObject
* obj0
= 0 ;
37040 PyObject
* obj1
= 0 ;
37041 char *kwnames
[] = {
37042 (char *) "self",(char *) "other", NULL
37045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37050 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37054 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37056 wxPyEndAllowThreads(__tstate
);
37057 if (PyErr_Occurred()) SWIG_fail
;
37060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37068 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37069 PyObject
*resultobj
;
37070 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37071 int arg2
= (int) 0 ;
37072 int arg3
= (int) 0 ;
37073 PyObject
* obj0
= 0 ;
37074 PyObject
* obj1
= 0 ;
37075 PyObject
* obj2
= 0 ;
37076 char *kwnames
[] = {
37077 (char *) "self",(char *) "row",(char *) "col", NULL
37080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37084 arg2
= (int) SWIG_AsInt(obj1
);
37085 if (PyErr_Occurred()) SWIG_fail
;
37088 arg3
= (int) SWIG_AsInt(obj2
);
37089 if (PyErr_Occurred()) SWIG_fail
;
37092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37093 wxGBPosition_Set(arg1
,arg2
,arg3
);
37095 wxPyEndAllowThreads(__tstate
);
37096 if (PyErr_Occurred()) SWIG_fail
;
37098 Py_INCREF(Py_None
); resultobj
= Py_None
;
37105 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37106 PyObject
*resultobj
;
37107 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37109 PyObject
* obj0
= 0 ;
37110 char *kwnames
[] = {
37111 (char *) "self", NULL
37114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37119 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37121 wxPyEndAllowThreads(__tstate
);
37122 if (PyErr_Occurred()) SWIG_fail
;
37124 resultobj
= result
;
37131 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
37133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37134 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37136 return Py_BuildValue((char *)"");
37138 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37139 PyObject
*resultobj
;
37140 int arg1
= (int) 1 ;
37141 int arg2
= (int) 1 ;
37143 PyObject
* obj0
= 0 ;
37144 PyObject
* obj1
= 0 ;
37145 char *kwnames
[] = {
37146 (char *) "rowspan",(char *) "colspan", NULL
37149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37151 arg1
= (int) SWIG_AsInt(obj0
);
37152 if (PyErr_Occurred()) SWIG_fail
;
37155 arg2
= (int) SWIG_AsInt(obj1
);
37156 if (PyErr_Occurred()) SWIG_fail
;
37159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37160 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37162 wxPyEndAllowThreads(__tstate
);
37163 if (PyErr_Occurred()) SWIG_fail
;
37165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37172 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37173 PyObject
*resultobj
;
37174 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37176 PyObject
* obj0
= 0 ;
37177 char *kwnames
[] = {
37178 (char *) "self", NULL
37181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37186 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37188 wxPyEndAllowThreads(__tstate
);
37189 if (PyErr_Occurred()) SWIG_fail
;
37191 resultobj
= SWIG_FromInt((int)result
);
37198 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37199 PyObject
*resultobj
;
37200 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37202 PyObject
* obj0
= 0 ;
37203 char *kwnames
[] = {
37204 (char *) "self", NULL
37207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37212 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37214 wxPyEndAllowThreads(__tstate
);
37215 if (PyErr_Occurred()) SWIG_fail
;
37217 resultobj
= SWIG_FromInt((int)result
);
37224 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37225 PyObject
*resultobj
;
37226 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37228 PyObject
* obj0
= 0 ;
37229 PyObject
* obj1
= 0 ;
37230 char *kwnames
[] = {
37231 (char *) "self",(char *) "rowspan", NULL
37234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37237 arg2
= (int) SWIG_AsInt(obj1
);
37238 if (PyErr_Occurred()) SWIG_fail
;
37240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37241 (arg1
)->SetRowspan(arg2
);
37243 wxPyEndAllowThreads(__tstate
);
37244 if (PyErr_Occurred()) SWIG_fail
;
37246 Py_INCREF(Py_None
); resultobj
= Py_None
;
37253 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37254 PyObject
*resultobj
;
37255 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37257 PyObject
* obj0
= 0 ;
37258 PyObject
* obj1
= 0 ;
37259 char *kwnames
[] = {
37260 (char *) "self",(char *) "colspan", NULL
37263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37266 arg2
= (int) SWIG_AsInt(obj1
);
37267 if (PyErr_Occurred()) SWIG_fail
;
37269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37270 (arg1
)->SetColspan(arg2
);
37272 wxPyEndAllowThreads(__tstate
);
37273 if (PyErr_Occurred()) SWIG_fail
;
37275 Py_INCREF(Py_None
); resultobj
= Py_None
;
37282 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37283 PyObject
*resultobj
;
37284 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37285 wxGBSpan
*arg2
= 0 ;
37288 PyObject
* obj0
= 0 ;
37289 PyObject
* obj1
= 0 ;
37290 char *kwnames
[] = {
37291 (char *) "self",(char *) "other", NULL
37294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37299 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37303 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37305 wxPyEndAllowThreads(__tstate
);
37306 if (PyErr_Occurred()) SWIG_fail
;
37309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37317 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37318 PyObject
*resultobj
;
37319 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37320 wxGBSpan
*arg2
= 0 ;
37323 PyObject
* obj0
= 0 ;
37324 PyObject
* obj1
= 0 ;
37325 char *kwnames
[] = {
37326 (char *) "self",(char *) "other", NULL
37329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37334 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37338 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37340 wxPyEndAllowThreads(__tstate
);
37341 if (PyErr_Occurred()) SWIG_fail
;
37344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37352 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37353 PyObject
*resultobj
;
37354 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37355 int arg2
= (int) 1 ;
37356 int arg3
= (int) 1 ;
37357 PyObject
* obj0
= 0 ;
37358 PyObject
* obj1
= 0 ;
37359 PyObject
* obj2
= 0 ;
37360 char *kwnames
[] = {
37361 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37368 arg2
= (int) SWIG_AsInt(obj1
);
37369 if (PyErr_Occurred()) SWIG_fail
;
37372 arg3
= (int) SWIG_AsInt(obj2
);
37373 if (PyErr_Occurred()) SWIG_fail
;
37376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37377 wxGBSpan_Set(arg1
,arg2
,arg3
);
37379 wxPyEndAllowThreads(__tstate
);
37380 if (PyErr_Occurred()) SWIG_fail
;
37382 Py_INCREF(Py_None
); resultobj
= Py_None
;
37389 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37390 PyObject
*resultobj
;
37391 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37393 PyObject
* obj0
= 0 ;
37394 char *kwnames
[] = {
37395 (char *) "self", NULL
37398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37403 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37405 wxPyEndAllowThreads(__tstate
);
37406 if (PyErr_Occurred()) SWIG_fail
;
37408 resultobj
= result
;
37415 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37418 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37420 return Py_BuildValue((char *)"");
37422 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37423 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37428 static PyObject
*_wrap_DefaultSpan_get() {
37431 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37436 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37437 PyObject
*resultobj
;
37438 wxGBSizerItem
*result
;
37439 char *kwnames
[] = {
37443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37446 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37448 wxPyEndAllowThreads(__tstate
);
37449 if (PyErr_Occurred()) SWIG_fail
;
37451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37458 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37459 PyObject
*resultobj
;
37460 wxWindow
*arg1
= (wxWindow
*) 0 ;
37461 wxGBPosition
*arg2
= 0 ;
37462 wxGBSpan
*arg3
= 0 ;
37465 PyObject
*arg6
= (PyObject
*) NULL
;
37466 wxGBSizerItem
*result
;
37467 wxGBPosition temp2
;
37469 PyObject
* obj0
= 0 ;
37470 PyObject
* obj1
= 0 ;
37471 PyObject
* obj2
= 0 ;
37472 PyObject
* obj3
= 0 ;
37473 PyObject
* obj4
= 0 ;
37474 PyObject
* obj5
= 0 ;
37475 char *kwnames
[] = {
37476 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37484 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37488 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37490 arg4
= (int) SWIG_AsInt(obj3
);
37491 if (PyErr_Occurred()) SWIG_fail
;
37492 arg5
= (int) SWIG_AsInt(obj4
);
37493 if (PyErr_Occurred()) SWIG_fail
;
37498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37499 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37501 wxPyEndAllowThreads(__tstate
);
37502 if (PyErr_Occurred()) SWIG_fail
;
37504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37511 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37512 PyObject
*resultobj
;
37513 wxSizer
*arg1
= (wxSizer
*) 0 ;
37514 wxGBPosition
*arg2
= 0 ;
37515 wxGBSpan
*arg3
= 0 ;
37518 PyObject
*arg6
= (PyObject
*) NULL
;
37519 wxGBSizerItem
*result
;
37520 wxGBPosition temp2
;
37522 PyObject
* obj0
= 0 ;
37523 PyObject
* obj1
= 0 ;
37524 PyObject
* obj2
= 0 ;
37525 PyObject
* obj3
= 0 ;
37526 PyObject
* obj4
= 0 ;
37527 PyObject
* obj5
= 0 ;
37528 char *kwnames
[] = {
37529 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37537 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37541 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37543 arg4
= (int) SWIG_AsInt(obj3
);
37544 if (PyErr_Occurred()) SWIG_fail
;
37545 arg5
= (int) SWIG_AsInt(obj4
);
37546 if (PyErr_Occurred()) SWIG_fail
;
37551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37552 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37554 wxPyEndAllowThreads(__tstate
);
37555 if (PyErr_Occurred()) SWIG_fail
;
37557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37564 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37565 PyObject
*resultobj
;
37568 wxGBPosition
*arg3
= 0 ;
37569 wxGBSpan
*arg4
= 0 ;
37572 PyObject
*arg7
= (PyObject
*) NULL
;
37573 wxGBSizerItem
*result
;
37574 wxGBPosition temp3
;
37576 PyObject
* obj0
= 0 ;
37577 PyObject
* obj1
= 0 ;
37578 PyObject
* obj2
= 0 ;
37579 PyObject
* obj3
= 0 ;
37580 PyObject
* obj4
= 0 ;
37581 PyObject
* obj5
= 0 ;
37582 PyObject
* obj6
= 0 ;
37583 char *kwnames
[] = {
37584 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37588 arg1
= (int) SWIG_AsInt(obj0
);
37589 if (PyErr_Occurred()) SWIG_fail
;
37590 arg2
= (int) SWIG_AsInt(obj1
);
37591 if (PyErr_Occurred()) SWIG_fail
;
37594 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37598 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37600 arg5
= (int) SWIG_AsInt(obj4
);
37601 if (PyErr_Occurred()) SWIG_fail
;
37602 arg6
= (int) SWIG_AsInt(obj5
);
37603 if (PyErr_Occurred()) SWIG_fail
;
37608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37609 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37611 wxPyEndAllowThreads(__tstate
);
37612 if (PyErr_Occurred()) SWIG_fail
;
37614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37621 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37622 PyObject
*resultobj
;
37623 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37624 wxGBPosition result
;
37625 PyObject
* obj0
= 0 ;
37626 char *kwnames
[] = {
37627 (char *) "self", NULL
37630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37635 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37637 wxPyEndAllowThreads(__tstate
);
37638 if (PyErr_Occurred()) SWIG_fail
;
37641 wxGBPosition
* resultptr
;
37642 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37651 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37652 PyObject
*resultobj
;
37653 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37655 PyObject
* obj0
= 0 ;
37656 char *kwnames
[] = {
37657 (char *) "self", NULL
37660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37665 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37667 wxPyEndAllowThreads(__tstate
);
37668 if (PyErr_Occurred()) SWIG_fail
;
37671 wxGBSpan
* resultptr
;
37672 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37681 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37682 PyObject
*resultobj
;
37683 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37684 wxGBPosition
*arg2
= 0 ;
37686 wxGBPosition temp2
;
37687 PyObject
* obj0
= 0 ;
37688 PyObject
* obj1
= 0 ;
37689 char *kwnames
[] = {
37690 (char *) "self",(char *) "pos", NULL
37693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37698 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37702 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37704 wxPyEndAllowThreads(__tstate
);
37705 if (PyErr_Occurred()) SWIG_fail
;
37708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37716 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37717 PyObject
*resultobj
;
37718 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37719 wxGBSpan
*arg2
= 0 ;
37722 PyObject
* obj0
= 0 ;
37723 PyObject
* obj1
= 0 ;
37724 char *kwnames
[] = {
37725 (char *) "self",(char *) "span", NULL
37728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37733 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37737 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37739 wxPyEndAllowThreads(__tstate
);
37740 if (PyErr_Occurred()) SWIG_fail
;
37743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37751 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37752 PyObject
*resultobj
;
37753 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37754 wxGBSizerItem
*arg2
= 0 ;
37756 PyObject
* obj0
= 0 ;
37757 PyObject
* obj1
= 0 ;
37758 char *kwnames
[] = {
37759 (char *) "self",(char *) "other", NULL
37762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
37763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37768 if (arg2
== NULL
) {
37769 PyErr_SetString(PyExc_TypeError
,"null reference");
37773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37774 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37776 wxPyEndAllowThreads(__tstate
);
37777 if (PyErr_Occurred()) SWIG_fail
;
37780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37788 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37789 PyObject
*resultobj
;
37790 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37791 wxGBPosition
*arg2
= 0 ;
37792 wxGBSpan
*arg3
= 0 ;
37794 wxGBPosition temp2
;
37796 PyObject
* obj0
= 0 ;
37797 PyObject
* obj1
= 0 ;
37798 PyObject
* obj2
= 0 ;
37799 char *kwnames
[] = {
37800 (char *) "self",(char *) "pos",(char *) "span", NULL
37803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37808 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37812 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37816 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37818 wxPyEndAllowThreads(__tstate
);
37819 if (PyErr_Occurred()) SWIG_fail
;
37822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37830 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37831 PyObject
*resultobj
;
37832 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37833 wxGBPosition result
;
37834 PyObject
* obj0
= 0 ;
37835 char *kwnames
[] = {
37836 (char *) "self", NULL
37839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
37840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37844 result
= wxGBSizerItem_GetEndPos(arg1
);
37846 wxPyEndAllowThreads(__tstate
);
37847 if (PyErr_Occurred()) SWIG_fail
;
37850 wxGBPosition
* resultptr
;
37851 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37860 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37861 PyObject
*resultobj
;
37862 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37863 wxGridBagSizer
*result
;
37864 PyObject
* obj0
= 0 ;
37865 char *kwnames
[] = {
37866 (char *) "self", NULL
37869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37874 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37876 wxPyEndAllowThreads(__tstate
);
37877 if (PyErr_Occurred()) SWIG_fail
;
37879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37886 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37887 PyObject
*resultobj
;
37888 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37889 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37890 PyObject
* obj0
= 0 ;
37891 PyObject
* obj1
= 0 ;
37892 char *kwnames
[] = {
37893 (char *) "self",(char *) "sizer", NULL
37896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&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_wxGridBagSizer
,
37900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37903 (arg1
)->SetGBSizer(arg2
);
37905 wxPyEndAllowThreads(__tstate
);
37906 if (PyErr_Occurred()) SWIG_fail
;
37908 Py_INCREF(Py_None
); resultobj
= Py_None
;
37915 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
37917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37918 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37920 return Py_BuildValue((char *)"");
37922 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37923 PyObject
*resultobj
;
37924 int arg1
= (int) 0 ;
37925 int arg2
= (int) 0 ;
37926 wxGridBagSizer
*result
;
37927 PyObject
* obj0
= 0 ;
37928 PyObject
* obj1
= 0 ;
37929 char *kwnames
[] = {
37930 (char *) "vgap",(char *) "hgap", NULL
37933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37935 arg1
= (int) SWIG_AsInt(obj0
);
37936 if (PyErr_Occurred()) SWIG_fail
;
37939 arg2
= (int) SWIG_AsInt(obj1
);
37940 if (PyErr_Occurred()) SWIG_fail
;
37943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37944 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37946 wxPyEndAllowThreads(__tstate
);
37947 if (PyErr_Occurred()) SWIG_fail
;
37949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37956 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37957 PyObject
*resultobj
;
37958 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37959 PyObject
*arg2
= (PyObject
*) 0 ;
37960 wxGBPosition
*arg3
= 0 ;
37961 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37962 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37963 int arg5
= (int) 0 ;
37964 int arg6
= (int) 0 ;
37965 PyObject
*arg7
= (PyObject
*) NULL
;
37967 wxGBPosition temp3
;
37969 PyObject
* obj0
= 0 ;
37970 PyObject
* obj1
= 0 ;
37971 PyObject
* obj2
= 0 ;
37972 PyObject
* obj3
= 0 ;
37973 PyObject
* obj4
= 0 ;
37974 PyObject
* obj5
= 0 ;
37975 PyObject
* obj6
= 0 ;
37976 char *kwnames
[] = {
37977 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37986 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37991 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37995 arg5
= (int) SWIG_AsInt(obj4
);
37996 if (PyErr_Occurred()) SWIG_fail
;
37999 arg6
= (int) SWIG_AsInt(obj5
);
38000 if (PyErr_Occurred()) SWIG_fail
;
38006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38007 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38009 wxPyEndAllowThreads(__tstate
);
38010 if (PyErr_Occurred()) SWIG_fail
;
38013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38021 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38022 PyObject
*resultobj
;
38023 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38024 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38026 PyObject
* obj0
= 0 ;
38027 PyObject
* obj1
= 0 ;
38028 char *kwnames
[] = {
38029 (char *) "self",(char *) "item", NULL
38032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38039 result
= (bool)(arg1
)->Add(arg2
);
38041 wxPyEndAllowThreads(__tstate
);
38042 if (PyErr_Occurred()) SWIG_fail
;
38045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38053 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38054 PyObject
*resultobj
;
38055 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38057 PyObject
* obj0
= 0 ;
38058 char *kwnames
[] = {
38059 (char *) "self", NULL
38062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38067 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38069 wxPyEndAllowThreads(__tstate
);
38070 if (PyErr_Occurred()) SWIG_fail
;
38073 wxSize
* resultptr
;
38074 resultptr
= new wxSize((wxSize
&) result
);
38075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38083 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38084 PyObject
*resultobj
;
38085 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38088 PyObject
* obj0
= 0 ;
38089 PyObject
* obj1
= 0 ;
38090 char *kwnames
[] = {
38091 (char *) "self",(char *) "sz", NULL
38094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38099 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38103 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38105 wxPyEndAllowThreads(__tstate
);
38106 if (PyErr_Occurred()) SWIG_fail
;
38108 Py_INCREF(Py_None
); resultobj
= Py_None
;
38115 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38116 PyObject
*resultobj
;
38117 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38118 wxWindow
*arg2
= (wxWindow
*) 0 ;
38119 wxGBPosition result
;
38120 PyObject
* obj0
= 0 ;
38121 PyObject
* obj1
= 0 ;
38123 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38130 result
= (arg1
)->GetItemPosition(arg2
);
38132 wxPyEndAllowThreads(__tstate
);
38133 if (PyErr_Occurred()) SWIG_fail
;
38136 wxGBPosition
* resultptr
;
38137 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38146 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38147 PyObject
*resultobj
;
38148 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38149 wxSizer
*arg2
= (wxSizer
*) 0 ;
38150 wxGBPosition result
;
38151 PyObject
* obj0
= 0 ;
38152 PyObject
* obj1
= 0 ;
38154 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38161 result
= (arg1
)->GetItemPosition(arg2
);
38163 wxPyEndAllowThreads(__tstate
);
38164 if (PyErr_Occurred()) SWIG_fail
;
38167 wxGBPosition
* resultptr
;
38168 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38177 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38178 PyObject
*resultobj
;
38179 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38181 wxGBPosition result
;
38182 PyObject
* obj0
= 0 ;
38183 PyObject
* obj1
= 0 ;
38185 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38188 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38189 if (PyErr_Occurred()) SWIG_fail
;
38191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38192 result
= (arg1
)->GetItemPosition(arg2
);
38194 wxPyEndAllowThreads(__tstate
);
38195 if (PyErr_Occurred()) SWIG_fail
;
38198 wxGBPosition
* resultptr
;
38199 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38208 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38213 argc
= PyObject_Length(args
);
38214 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38215 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38221 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38231 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38239 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38247 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38257 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38265 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38273 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38281 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38283 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38288 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38293 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38294 PyObject
*resultobj
;
38295 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38296 wxWindow
*arg2
= (wxWindow
*) 0 ;
38297 wxGBPosition
*arg3
= 0 ;
38299 wxGBPosition temp3
;
38300 PyObject
* obj0
= 0 ;
38301 PyObject
* obj1
= 0 ;
38302 PyObject
* obj2
= 0 ;
38304 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38311 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38315 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38317 wxPyEndAllowThreads(__tstate
);
38318 if (PyErr_Occurred()) SWIG_fail
;
38321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38329 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38330 PyObject
*resultobj
;
38331 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38332 wxSizer
*arg2
= (wxSizer
*) 0 ;
38333 wxGBPosition
*arg3
= 0 ;
38335 wxGBPosition temp3
;
38336 PyObject
* obj0
= 0 ;
38337 PyObject
* obj1
= 0 ;
38338 PyObject
* obj2
= 0 ;
38340 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38347 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38351 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38353 wxPyEndAllowThreads(__tstate
);
38354 if (PyErr_Occurred()) SWIG_fail
;
38357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38365 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38366 PyObject
*resultobj
;
38367 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38369 wxGBPosition
*arg3
= 0 ;
38371 wxGBPosition temp3
;
38372 PyObject
* obj0
= 0 ;
38373 PyObject
* obj1
= 0 ;
38374 PyObject
* obj2
= 0 ;
38376 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38379 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38380 if (PyErr_Occurred()) SWIG_fail
;
38383 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38387 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38389 wxPyEndAllowThreads(__tstate
);
38390 if (PyErr_Occurred()) SWIG_fail
;
38393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38401 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38406 argc
= PyObject_Length(args
);
38407 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38408 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38414 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38424 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38433 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38436 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38445 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38455 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38464 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38467 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38476 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38484 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38487 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38490 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38496 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38501 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38502 PyObject
*resultobj
;
38503 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38504 wxWindow
*arg2
= (wxWindow
*) 0 ;
38506 PyObject
* obj0
= 0 ;
38507 PyObject
* obj1
= 0 ;
38509 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38516 result
= (arg1
)->GetItemSpan(arg2
);
38518 wxPyEndAllowThreads(__tstate
);
38519 if (PyErr_Occurred()) SWIG_fail
;
38522 wxGBSpan
* resultptr
;
38523 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38532 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38533 PyObject
*resultobj
;
38534 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38535 wxSizer
*arg2
= (wxSizer
*) 0 ;
38537 PyObject
* obj0
= 0 ;
38538 PyObject
* obj1
= 0 ;
38540 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38547 result
= (arg1
)->GetItemSpan(arg2
);
38549 wxPyEndAllowThreads(__tstate
);
38550 if (PyErr_Occurred()) SWIG_fail
;
38553 wxGBSpan
* resultptr
;
38554 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38563 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38564 PyObject
*resultobj
;
38565 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38568 PyObject
* obj0
= 0 ;
38569 PyObject
* obj1
= 0 ;
38571 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38574 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38575 if (PyErr_Occurred()) SWIG_fail
;
38577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38578 result
= (arg1
)->GetItemSpan(arg2
);
38580 wxPyEndAllowThreads(__tstate
);
38581 if (PyErr_Occurred()) SWIG_fail
;
38584 wxGBSpan
* resultptr
;
38585 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38594 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38599 argc
= PyObject_Length(args
);
38600 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38601 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38607 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38617 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38625 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38633 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38643 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38651 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38659 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38667 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38669 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38674 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38679 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38680 PyObject
*resultobj
;
38681 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38682 wxWindow
*arg2
= (wxWindow
*) 0 ;
38683 wxGBSpan
*arg3
= 0 ;
38686 PyObject
* obj0
= 0 ;
38687 PyObject
* obj1
= 0 ;
38688 PyObject
* obj2
= 0 ;
38690 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38697 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38701 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38703 wxPyEndAllowThreads(__tstate
);
38704 if (PyErr_Occurred()) SWIG_fail
;
38707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38715 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38716 PyObject
*resultobj
;
38717 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38718 wxSizer
*arg2
= (wxSizer
*) 0 ;
38719 wxGBSpan
*arg3
= 0 ;
38722 PyObject
* obj0
= 0 ;
38723 PyObject
* obj1
= 0 ;
38724 PyObject
* obj2
= 0 ;
38726 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38733 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38737 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38739 wxPyEndAllowThreads(__tstate
);
38740 if (PyErr_Occurred()) SWIG_fail
;
38743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38751 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38752 PyObject
*resultobj
;
38753 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38755 wxGBSpan
*arg3
= 0 ;
38758 PyObject
* obj0
= 0 ;
38759 PyObject
* obj1
= 0 ;
38760 PyObject
* obj2
= 0 ;
38762 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38765 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38766 if (PyErr_Occurred()) SWIG_fail
;
38769 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38773 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38775 wxPyEndAllowThreads(__tstate
);
38776 if (PyErr_Occurred()) SWIG_fail
;
38779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38787 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38792 argc
= PyObject_Length(args
);
38793 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38794 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38800 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38810 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38819 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38822 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38831 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38841 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38850 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38853 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38862 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38870 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38873 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38876 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38882 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38887 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
38888 PyObject
*resultobj
;
38889 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38890 wxWindow
*arg2
= (wxWindow
*) 0 ;
38891 wxGBSizerItem
*result
;
38892 PyObject
* obj0
= 0 ;
38893 PyObject
* obj1
= 0 ;
38895 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38902 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38904 wxPyEndAllowThreads(__tstate
);
38905 if (PyErr_Occurred()) SWIG_fail
;
38907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38914 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
38915 PyObject
*resultobj
;
38916 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38917 wxSizer
*arg2
= (wxSizer
*) 0 ;
38918 wxGBSizerItem
*result
;
38919 PyObject
* obj0
= 0 ;
38920 PyObject
* obj1
= 0 ;
38922 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38929 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38931 wxPyEndAllowThreads(__tstate
);
38932 if (PyErr_Occurred()) SWIG_fail
;
38934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38941 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38946 argc
= PyObject_Length(args
);
38947 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38948 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38954 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38964 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38972 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
38980 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38990 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38998 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39003 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39008 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39009 PyObject
*resultobj
;
39010 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39011 wxGBPosition
*arg2
= 0 ;
39012 wxGBSizerItem
*result
;
39013 wxGBPosition temp2
;
39014 PyObject
* obj0
= 0 ;
39015 PyObject
* obj1
= 0 ;
39016 char *kwnames
[] = {
39017 (char *) "self",(char *) "pos", NULL
39020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39025 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39029 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39031 wxPyEndAllowThreads(__tstate
);
39032 if (PyErr_Occurred()) SWIG_fail
;
39034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39041 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39042 PyObject
*resultobj
;
39043 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39044 wxPoint
*arg2
= 0 ;
39045 wxGBSizerItem
*result
;
39047 PyObject
* obj0
= 0 ;
39048 PyObject
* obj1
= 0 ;
39049 char *kwnames
[] = {
39050 (char *) "self",(char *) "pt", NULL
39053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39058 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39062 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39064 wxPyEndAllowThreads(__tstate
);
39065 if (PyErr_Occurred()) SWIG_fail
;
39067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39074 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39075 PyObject
*resultobj
;
39076 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39077 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39078 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39080 PyObject
* obj0
= 0 ;
39081 PyObject
* obj1
= 0 ;
39082 PyObject
* obj2
= 0 ;
39083 char *kwnames
[] = {
39084 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39093 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39098 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39100 wxPyEndAllowThreads(__tstate
);
39101 if (PyErr_Occurred()) SWIG_fail
;
39104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39112 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39113 PyObject
*resultobj
;
39114 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39115 wxGBPosition
*arg2
= 0 ;
39116 wxGBSpan
*arg3
= 0 ;
39117 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39119 wxGBPosition temp2
;
39121 PyObject
* obj0
= 0 ;
39122 PyObject
* obj1
= 0 ;
39123 PyObject
* obj2
= 0 ;
39124 PyObject
* obj3
= 0 ;
39125 char *kwnames
[] = {
39126 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39134 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39138 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39141 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39146 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39148 wxPyEndAllowThreads(__tstate
);
39149 if (PyErr_Occurred()) SWIG_fail
;
39152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39160 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39163 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39165 return Py_BuildValue((char *)"");
39167 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39168 PyObject
*resultobj
;
39169 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39171 wxWindow
*arg3
= (wxWindow
*) 0 ;
39173 int arg5
= (int) 0 ;
39174 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39175 PyObject
* obj0
= 0 ;
39176 PyObject
* obj1
= 0 ;
39177 PyObject
* obj2
= 0 ;
39178 PyObject
* obj3
= 0 ;
39179 PyObject
* obj4
= 0 ;
39180 PyObject
* obj5
= 0 ;
39181 char *kwnames
[] = {
39182 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39188 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39189 if (PyErr_Occurred()) SWIG_fail
;
39190 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39192 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39193 if (PyErr_Occurred()) SWIG_fail
;
39195 arg5
= (int) SWIG_AsInt(obj4
);
39196 if (PyErr_Occurred()) SWIG_fail
;
39199 arg6
= (int) SWIG_AsInt(obj5
);
39200 if (PyErr_Occurred()) SWIG_fail
;
39203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39204 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39206 wxPyEndAllowThreads(__tstate
);
39207 if (PyErr_Occurred()) SWIG_fail
;
39209 Py_INCREF(Py_None
); resultobj
= Py_None
;
39216 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39217 PyObject
*resultobj
;
39218 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39219 wxWindow
*arg2
= (wxWindow
*) 0 ;
39220 int arg3
= (int) 0 ;
39221 PyObject
* obj0
= 0 ;
39222 PyObject
* obj1
= 0 ;
39223 PyObject
* obj2
= 0 ;
39224 char *kwnames
[] = {
39225 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39234 arg3
= (int) SWIG_AsInt(obj2
);
39235 if (PyErr_Occurred()) SWIG_fail
;
39238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39239 (arg1
)->LeftOf(arg2
,arg3
);
39241 wxPyEndAllowThreads(__tstate
);
39242 if (PyErr_Occurred()) SWIG_fail
;
39244 Py_INCREF(Py_None
); resultobj
= Py_None
;
39251 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39252 PyObject
*resultobj
;
39253 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39254 wxWindow
*arg2
= (wxWindow
*) 0 ;
39255 int arg3
= (int) 0 ;
39256 PyObject
* obj0
= 0 ;
39257 PyObject
* obj1
= 0 ;
39258 PyObject
* obj2
= 0 ;
39259 char *kwnames
[] = {
39260 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39269 arg3
= (int) SWIG_AsInt(obj2
);
39270 if (PyErr_Occurred()) SWIG_fail
;
39273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39274 (arg1
)->RightOf(arg2
,arg3
);
39276 wxPyEndAllowThreads(__tstate
);
39277 if (PyErr_Occurred()) SWIG_fail
;
39279 Py_INCREF(Py_None
); resultobj
= Py_None
;
39286 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39287 PyObject
*resultobj
;
39288 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39289 wxWindow
*arg2
= (wxWindow
*) 0 ;
39290 int arg3
= (int) 0 ;
39291 PyObject
* obj0
= 0 ;
39292 PyObject
* obj1
= 0 ;
39293 PyObject
* obj2
= 0 ;
39294 char *kwnames
[] = {
39295 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39304 arg3
= (int) SWIG_AsInt(obj2
);
39305 if (PyErr_Occurred()) SWIG_fail
;
39308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39309 (arg1
)->Above(arg2
,arg3
);
39311 wxPyEndAllowThreads(__tstate
);
39312 if (PyErr_Occurred()) SWIG_fail
;
39314 Py_INCREF(Py_None
); resultobj
= Py_None
;
39321 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39322 PyObject
*resultobj
;
39323 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39324 wxWindow
*arg2
= (wxWindow
*) 0 ;
39325 int arg3
= (int) 0 ;
39326 PyObject
* obj0
= 0 ;
39327 PyObject
* obj1
= 0 ;
39328 PyObject
* obj2
= 0 ;
39329 char *kwnames
[] = {
39330 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39339 arg3
= (int) SWIG_AsInt(obj2
);
39340 if (PyErr_Occurred()) SWIG_fail
;
39343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39344 (arg1
)->Below(arg2
,arg3
);
39346 wxPyEndAllowThreads(__tstate
);
39347 if (PyErr_Occurred()) SWIG_fail
;
39349 Py_INCREF(Py_None
); resultobj
= Py_None
;
39356 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39357 PyObject
*resultobj
;
39358 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39359 wxWindow
*arg2
= (wxWindow
*) 0 ;
39361 int arg4
= (int) 0 ;
39362 PyObject
* obj0
= 0 ;
39363 PyObject
* obj1
= 0 ;
39364 PyObject
* obj2
= 0 ;
39365 PyObject
* obj3
= 0 ;
39366 char *kwnames
[] = {
39367 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39375 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39376 if (PyErr_Occurred()) SWIG_fail
;
39378 arg4
= (int) SWIG_AsInt(obj3
);
39379 if (PyErr_Occurred()) SWIG_fail
;
39382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39383 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39385 wxPyEndAllowThreads(__tstate
);
39386 if (PyErr_Occurred()) SWIG_fail
;
39388 Py_INCREF(Py_None
); resultobj
= Py_None
;
39395 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39396 PyObject
*resultobj
;
39397 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39398 wxWindow
*arg2
= (wxWindow
*) 0 ;
39401 PyObject
* obj0
= 0 ;
39402 PyObject
* obj1
= 0 ;
39403 PyObject
* obj2
= 0 ;
39404 PyObject
* obj3
= 0 ;
39405 char *kwnames
[] = {
39406 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39414 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39415 if (PyErr_Occurred()) SWIG_fail
;
39416 arg4
= (int) SWIG_AsInt(obj3
);
39417 if (PyErr_Occurred()) SWIG_fail
;
39419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39420 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39422 wxPyEndAllowThreads(__tstate
);
39423 if (PyErr_Occurred()) SWIG_fail
;
39425 Py_INCREF(Py_None
); resultobj
= Py_None
;
39432 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39433 PyObject
*resultobj
;
39434 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39436 PyObject
* obj0
= 0 ;
39437 PyObject
* obj1
= 0 ;
39438 char *kwnames
[] = {
39439 (char *) "self",(char *) "val", NULL
39442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39445 arg2
= (int) SWIG_AsInt(obj1
);
39446 if (PyErr_Occurred()) SWIG_fail
;
39448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39449 (arg1
)->Absolute(arg2
);
39451 wxPyEndAllowThreads(__tstate
);
39452 if (PyErr_Occurred()) SWIG_fail
;
39454 Py_INCREF(Py_None
); resultobj
= Py_None
;
39461 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39462 PyObject
*resultobj
;
39463 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39464 PyObject
* obj0
= 0 ;
39465 char *kwnames
[] = {
39466 (char *) "self", NULL
39469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39474 (arg1
)->Unconstrained();
39476 wxPyEndAllowThreads(__tstate
);
39477 if (PyErr_Occurred()) SWIG_fail
;
39479 Py_INCREF(Py_None
); resultobj
= Py_None
;
39486 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39487 PyObject
*resultobj
;
39488 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39489 PyObject
* obj0
= 0 ;
39490 char *kwnames
[] = {
39491 (char *) "self", NULL
39494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39501 wxPyEndAllowThreads(__tstate
);
39502 if (PyErr_Occurred()) SWIG_fail
;
39504 Py_INCREF(Py_None
); resultobj
= Py_None
;
39511 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39512 PyObject
*resultobj
;
39513 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39515 PyObject
* obj0
= 0 ;
39516 char *kwnames
[] = {
39517 (char *) "self", NULL
39520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39525 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39527 wxPyEndAllowThreads(__tstate
);
39528 if (PyErr_Occurred()) SWIG_fail
;
39531 resultobj
= wxPyMake_wxObject(result
);
39539 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39540 PyObject
*resultobj
;
39541 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39543 PyObject
* obj0
= 0 ;
39544 char *kwnames
[] = {
39545 (char *) "self", NULL
39548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39553 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39555 wxPyEndAllowThreads(__tstate
);
39556 if (PyErr_Occurred()) SWIG_fail
;
39558 resultobj
= SWIG_FromInt((int)result
);
39565 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39566 PyObject
*resultobj
;
39567 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39569 PyObject
* obj0
= 0 ;
39570 PyObject
* obj1
= 0 ;
39571 char *kwnames
[] = {
39572 (char *) "self",(char *) "which", NULL
39575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39578 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39579 if (PyErr_Occurred()) SWIG_fail
;
39581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39582 (arg1
)->SetEdge((wxEdge
)arg2
);
39584 wxPyEndAllowThreads(__tstate
);
39585 if (PyErr_Occurred()) SWIG_fail
;
39587 Py_INCREF(Py_None
); resultobj
= Py_None
;
39594 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39595 PyObject
*resultobj
;
39596 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39598 PyObject
* obj0
= 0 ;
39599 PyObject
* obj1
= 0 ;
39600 char *kwnames
[] = {
39601 (char *) "self",(char *) "v", NULL
39604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39607 arg2
= (int) SWIG_AsInt(obj1
);
39608 if (PyErr_Occurred()) SWIG_fail
;
39610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39611 (arg1
)->SetValue(arg2
);
39613 wxPyEndAllowThreads(__tstate
);
39614 if (PyErr_Occurred()) SWIG_fail
;
39616 Py_INCREF(Py_None
); resultobj
= Py_None
;
39623 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39624 PyObject
*resultobj
;
39625 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39627 PyObject
* obj0
= 0 ;
39628 char *kwnames
[] = {
39629 (char *) "self", NULL
39632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39637 result
= (int)(arg1
)->GetMargin();
39639 wxPyEndAllowThreads(__tstate
);
39640 if (PyErr_Occurred()) SWIG_fail
;
39642 resultobj
= SWIG_FromInt((int)result
);
39649 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39650 PyObject
*resultobj
;
39651 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39653 PyObject
* obj0
= 0 ;
39654 PyObject
* obj1
= 0 ;
39655 char *kwnames
[] = {
39656 (char *) "self",(char *) "m", NULL
39659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39662 arg2
= (int) SWIG_AsInt(obj1
);
39663 if (PyErr_Occurred()) SWIG_fail
;
39665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39666 (arg1
)->SetMargin(arg2
);
39668 wxPyEndAllowThreads(__tstate
);
39669 if (PyErr_Occurred()) SWIG_fail
;
39671 Py_INCREF(Py_None
); resultobj
= Py_None
;
39678 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39679 PyObject
*resultobj
;
39680 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39682 PyObject
* obj0
= 0 ;
39683 char *kwnames
[] = {
39684 (char *) "self", NULL
39687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39692 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39694 wxPyEndAllowThreads(__tstate
);
39695 if (PyErr_Occurred()) SWIG_fail
;
39697 resultobj
= SWIG_FromInt((int)result
);
39704 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39705 PyObject
*resultobj
;
39706 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39708 PyObject
* obj0
= 0 ;
39709 char *kwnames
[] = {
39710 (char *) "self", NULL
39713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39718 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39720 wxPyEndAllowThreads(__tstate
);
39721 if (PyErr_Occurred()) SWIG_fail
;
39723 resultobj
= SWIG_FromInt((int)result
);
39730 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39731 PyObject
*resultobj
;
39732 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39734 PyObject
* obj0
= 0 ;
39735 char *kwnames
[] = {
39736 (char *) "self", NULL
39739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39744 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39746 wxPyEndAllowThreads(__tstate
);
39747 if (PyErr_Occurred()) SWIG_fail
;
39749 resultobj
= SWIG_FromInt((int)result
);
39756 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39757 PyObject
*resultobj
;
39758 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39760 PyObject
* obj0
= 0 ;
39761 char *kwnames
[] = {
39762 (char *) "self", NULL
39765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39770 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39772 wxPyEndAllowThreads(__tstate
);
39773 if (PyErr_Occurred()) SWIG_fail
;
39776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39784 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39785 PyObject
*resultobj
;
39786 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39788 PyObject
* obj0
= 0 ;
39789 PyObject
* obj1
= 0 ;
39790 char *kwnames
[] = {
39791 (char *) "self",(char *) "d", NULL
39794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39797 arg2
= (bool) SWIG_AsBool(obj1
);
39798 if (PyErr_Occurred()) SWIG_fail
;
39800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39801 (arg1
)->SetDone(arg2
);
39803 wxPyEndAllowThreads(__tstate
);
39804 if (PyErr_Occurred()) SWIG_fail
;
39806 Py_INCREF(Py_None
); resultobj
= Py_None
;
39813 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39814 PyObject
*resultobj
;
39815 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39817 PyObject
* obj0
= 0 ;
39818 char *kwnames
[] = {
39819 (char *) "self", NULL
39822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39827 result
= (int)(arg1
)->GetRelationship();
39829 wxPyEndAllowThreads(__tstate
);
39830 if (PyErr_Occurred()) SWIG_fail
;
39832 resultobj
= SWIG_FromInt((int)result
);
39839 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39840 PyObject
*resultobj
;
39841 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39843 PyObject
* obj0
= 0 ;
39844 PyObject
* obj1
= 0 ;
39845 char *kwnames
[] = {
39846 (char *) "self",(char *) "r", NULL
39849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39852 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39853 if (PyErr_Occurred()) SWIG_fail
;
39855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39856 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39858 wxPyEndAllowThreads(__tstate
);
39859 if (PyErr_Occurred()) SWIG_fail
;
39861 Py_INCREF(Py_None
); resultobj
= Py_None
;
39868 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39869 PyObject
*resultobj
;
39870 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39871 wxWindow
*arg2
= (wxWindow
*) 0 ;
39873 PyObject
* obj0
= 0 ;
39874 PyObject
* obj1
= 0 ;
39875 char *kwnames
[] = {
39876 (char *) "self",(char *) "otherW", NULL
39879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39886 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39888 wxPyEndAllowThreads(__tstate
);
39889 if (PyErr_Occurred()) SWIG_fail
;
39892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39900 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39901 PyObject
*resultobj
;
39902 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39903 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39904 wxWindow
*arg3
= (wxWindow
*) 0 ;
39906 PyObject
* obj0
= 0 ;
39907 PyObject
* obj1
= 0 ;
39908 PyObject
* obj2
= 0 ;
39909 char *kwnames
[] = {
39910 (char *) "self",(char *) "constraints",(char *) "win", NULL
39913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39918 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39922 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39924 wxPyEndAllowThreads(__tstate
);
39925 if (PyErr_Occurred()) SWIG_fail
;
39928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39936 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39937 PyObject
*resultobj
;
39938 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39940 wxWindow
*arg3
= (wxWindow
*) 0 ;
39941 wxWindow
*arg4
= (wxWindow
*) 0 ;
39943 PyObject
* obj0
= 0 ;
39944 PyObject
* obj1
= 0 ;
39945 PyObject
* obj2
= 0 ;
39946 PyObject
* obj3
= 0 ;
39947 char *kwnames
[] = {
39948 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39954 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39955 if (PyErr_Occurred()) SWIG_fail
;
39956 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39958 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39962 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39964 wxPyEndAllowThreads(__tstate
);
39965 if (PyErr_Occurred()) SWIG_fail
;
39967 resultobj
= SWIG_FromInt((int)result
);
39974 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
39976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39977 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
39979 return Py_BuildValue((char *)"");
39981 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39982 PyObject
*resultobj
;
39983 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39984 wxIndividualLayoutConstraint
*result
;
39985 PyObject
* obj0
= 0 ;
39986 char *kwnames
[] = {
39987 (char *) "self", NULL
39990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
39991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39993 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
39995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40002 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40003 PyObject
*resultobj
;
40004 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40005 wxIndividualLayoutConstraint
*result
;
40006 PyObject
* obj0
= 0 ;
40007 char *kwnames
[] = {
40008 (char *) "self", NULL
40011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40014 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40023 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40024 PyObject
*resultobj
;
40025 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40026 wxIndividualLayoutConstraint
*result
;
40027 PyObject
* obj0
= 0 ;
40028 char *kwnames
[] = {
40029 (char *) "self", NULL
40032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40035 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40044 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40045 PyObject
*resultobj
;
40046 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40047 wxIndividualLayoutConstraint
*result
;
40048 PyObject
* obj0
= 0 ;
40049 char *kwnames
[] = {
40050 (char *) "self", NULL
40053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40056 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40065 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40066 PyObject
*resultobj
;
40067 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40068 wxIndividualLayoutConstraint
*result
;
40069 PyObject
* obj0
= 0 ;
40070 char *kwnames
[] = {
40071 (char *) "self", NULL
40074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40077 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40086 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40087 PyObject
*resultobj
;
40088 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40089 wxIndividualLayoutConstraint
*result
;
40090 PyObject
* obj0
= 0 ;
40091 char *kwnames
[] = {
40092 (char *) "self", NULL
40095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40098 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40107 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40108 PyObject
*resultobj
;
40109 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40110 wxIndividualLayoutConstraint
*result
;
40111 PyObject
* obj0
= 0 ;
40112 char *kwnames
[] = {
40113 (char *) "self", NULL
40116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40119 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40128 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40129 PyObject
*resultobj
;
40130 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40131 wxIndividualLayoutConstraint
*result
;
40132 PyObject
* obj0
= 0 ;
40133 char *kwnames
[] = {
40134 (char *) "self", NULL
40137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40140 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40149 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40150 PyObject
*resultobj
;
40151 wxLayoutConstraints
*result
;
40152 char *kwnames
[] = {
40156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40159 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40161 wxPyEndAllowThreads(__tstate
);
40162 if (PyErr_Occurred()) SWIG_fail
;
40164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40171 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40172 PyObject
*resultobj
;
40173 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40174 wxWindow
*arg2
= (wxWindow
*) 0 ;
40175 int *arg3
= (int *) 0 ;
40178 PyObject
* obj0
= 0 ;
40179 PyObject
* obj1
= 0 ;
40180 char *kwnames
[] = {
40181 (char *) "self",(char *) "win", NULL
40185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40192 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40194 wxPyEndAllowThreads(__tstate
);
40195 if (PyErr_Occurred()) SWIG_fail
;
40198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40201 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40202 resultobj
= t_output_helper(resultobj
,o
);
40210 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40211 PyObject
*resultobj
;
40212 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40214 PyObject
* obj0
= 0 ;
40215 char *kwnames
[] = {
40216 (char *) "self", NULL
40219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40224 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40226 wxPyEndAllowThreads(__tstate
);
40227 if (PyErr_Occurred()) SWIG_fail
;
40230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40238 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40241 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40243 return Py_BuildValue((char *)"");
40245 static PyMethodDef SwigMethods
[] = {
40246 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40247 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40248 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40249 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40250 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40251 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40252 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40253 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40254 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40255 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40256 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40257 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40258 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40259 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40260 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40261 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40262 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40263 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40264 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40265 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40266 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40267 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40268 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40269 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40270 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40271 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40272 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40273 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40274 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40275 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40276 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40277 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40278 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40280 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40281 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40282 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40283 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40284 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40285 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40286 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40288 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40289 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40290 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40291 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40292 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40293 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40294 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40295 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40296 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40297 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40298 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40299 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40300 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40301 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40302 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40303 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40304 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40305 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40306 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40307 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40308 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40309 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40311 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40312 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40313 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40314 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40315 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40317 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40319 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40320 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40322 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40323 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40324 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40325 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40326 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40327 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40328 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40329 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40330 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40331 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40332 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40333 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40334 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40335 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40336 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40337 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40339 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40340 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40341 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40342 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40343 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40344 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40345 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40346 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40347 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40348 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40349 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40351 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40354 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40355 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40356 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40357 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40358 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40359 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40361 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40363 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40364 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40365 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40366 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40367 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40368 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40369 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40370 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40373 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40374 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40375 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40376 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40377 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40378 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40379 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40380 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40381 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40382 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40383 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40385 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40387 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40389 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40391 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40393 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40394 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40395 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40396 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40397 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40398 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40399 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40400 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40402 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40404 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40406 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40407 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40408 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40409 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40410 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40412 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40413 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40414 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40415 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40416 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40417 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40418 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40419 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40420 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40421 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40422 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40423 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40424 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40425 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40426 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40427 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40428 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40429 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40430 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40431 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40432 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40433 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40434 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40435 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40436 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40437 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40438 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40439 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40441 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40442 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40443 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40445 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40446 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40447 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40448 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40449 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40450 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40451 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40452 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40453 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40454 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40455 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40456 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40457 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40459 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40460 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40461 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40462 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40463 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40464 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40465 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40466 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40467 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40468 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40469 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40470 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40471 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40472 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40473 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40474 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40475 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40476 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40477 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40478 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40479 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40480 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40481 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40482 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40483 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40485 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40487 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40492 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40493 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40495 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40496 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40498 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40499 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40501 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40503 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40504 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40505 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40510 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40513 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40517 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40518 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40520 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40521 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40522 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40523 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40524 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40525 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40530 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40531 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40537 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40539 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40541 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40542 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40543 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40545 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40547 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40549 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40551 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40553 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40554 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40555 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40557 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40559 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40572 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40573 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40579 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40582 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40588 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40591 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40592 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40594 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40597 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40609 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40614 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40620 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40626 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40628 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40688 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40695 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40730 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40740 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40750 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40752 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40754 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40757 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40761 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40764 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40767 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
40769 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
40774 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
40782 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
40786 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
40789 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
40791 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
40795 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
40812 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
40814 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
40817 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
40819 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
40823 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
40827 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
40835 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
40838 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
40841 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
40845 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
40852 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
40857 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
40862 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
40906 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
40921 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
40925 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
40935 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
40984 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
40985 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction
) _wrap_Window_SetDefaultBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction
) _wrap_Window_SetDefaultForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"Window_SetDefaultFont", (PyCFunction
) _wrap_Window_SetDefaultFont
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41092 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41132 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41146 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41149 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41204 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41231 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41275 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41283 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41300 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41301 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41336 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41358 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41365 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41368 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41369 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41372 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41375 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41385 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41388 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41393 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41397 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41405 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41406 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41407 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41408 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41409 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41410 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41411 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41412 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41413 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41414 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41415 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41416 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41417 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41418 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41419 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41420 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41421 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41422 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41423 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41424 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41425 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
41426 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
},
41427 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41428 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41429 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41430 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41431 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41432 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41433 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41434 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41435 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41436 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41437 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41438 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41439 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41440 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41441 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41442 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41443 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
},
41444 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
},
41445 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41446 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41447 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41448 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41449 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41450 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41451 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41452 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41453 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41454 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41455 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41456 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41457 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41458 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41459 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41460 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41461 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41462 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41463 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41464 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41465 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41466 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41467 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41468 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41469 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41470 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41471 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41472 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41473 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41474 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41475 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41476 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41477 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41478 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41479 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41480 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41481 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41482 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41483 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41484 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41489 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41491 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41492 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41494 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41495 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41497 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41498 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41500 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41501 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41503 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41504 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41506 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41507 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41509 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41510 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41512 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41513 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41515 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41516 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41518 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41519 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41521 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41522 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41524 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41525 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41527 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41528 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41530 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41531 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41533 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41534 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41536 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41537 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41539 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41540 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41542 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41543 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41545 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41546 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41548 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41549 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41551 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41552 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41554 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41555 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41557 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41558 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41560 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41561 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41563 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41564 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41566 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41567 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41569 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41570 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41572 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41573 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41575 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41576 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41578 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41579 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41581 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41582 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41584 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41585 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41587 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41588 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41590 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41591 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41593 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41594 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41596 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41597 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41599 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41600 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41602 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41603 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41605 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41606 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41608 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41609 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41611 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41612 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41614 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41615 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41617 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41618 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41620 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41621 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41623 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41624 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41626 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41627 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41629 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41630 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41632 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41633 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41635 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41636 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41638 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41639 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41641 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41642 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41644 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41645 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41647 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41648 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41650 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41651 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41653 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41654 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41656 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41657 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41659 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41660 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41662 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41663 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41665 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41666 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41668 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41669 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41671 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41672 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41674 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41675 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41677 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41678 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41680 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41681 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41683 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41684 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41686 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41687 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41689 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41690 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41692 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41693 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41695 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41696 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41698 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41699 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41701 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41702 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41704 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41705 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41707 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41708 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41710 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41711 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41713 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41714 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41716 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41717 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41719 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41720 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41722 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41723 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41725 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41726 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41728 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41729 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41731 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41732 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41734 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41735 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41737 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41738 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41740 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41741 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41743 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41744 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41746 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41749 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41750 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41752 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41753 return (void *)((wxObject
*) ((wxSizer
*) x
));
41755 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41756 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41758 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41759 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41761 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41762 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41764 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41765 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41767 static void *_p_wxImageTo_p_wxObject(void *x
) {
41768 return (void *)((wxObject
*) ((wxImage
*) x
));
41770 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41771 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41773 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41774 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41776 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41777 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41779 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41780 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41782 static void *_p_wxControlTo_p_wxObject(void *x
) {
41783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41785 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41786 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41788 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41789 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41791 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41792 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41794 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41795 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41797 static void *_p_wxEventTo_p_wxObject(void *x
) {
41798 return (void *)((wxObject
*) ((wxEvent
*) x
));
41800 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41801 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41803 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41804 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41806 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41807 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41809 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41810 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41812 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41813 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41815 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41816 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41818 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41819 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41821 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41822 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41824 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41827 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41828 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41830 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41831 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41833 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41834 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41836 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41837 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41839 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41840 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41842 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41843 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41845 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41846 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41848 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41849 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41851 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41852 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41854 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41855 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41857 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41858 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41860 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41861 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41863 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41864 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41866 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41867 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41869 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41870 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41872 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41873 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41875 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41876 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41878 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41879 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41881 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41882 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41884 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41885 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41887 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41888 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41890 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41891 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41893 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41894 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41896 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41897 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41899 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41900 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41902 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41903 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41905 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41906 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41908 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41909 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41911 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41912 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41914 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41915 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41917 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41918 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41920 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41921 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41923 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41924 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41926 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41927 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41929 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41930 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41932 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41933 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41935 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41936 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41938 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41939 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41941 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41942 return (void *)((wxWindow
*) ((wxControl
*) x
));
41944 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41945 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41947 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41948 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41950 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41951 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41953 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41954 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41956 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41957 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41959 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41960 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41962 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41963 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41965 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41966 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41968 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41969 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41971 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41972 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41974 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
41975 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
41977 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}};
41978 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}};
41979 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}};
41980 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}};
41981 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}};
41982 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}};
41983 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}};
41984 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}};
41985 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}};
41986 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}};
41987 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}};
41988 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}};
41989 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}};
41990 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}};
41991 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}};
41992 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}};
41993 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}};
41994 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}};
41995 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}};
41996 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}};
41997 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}};
41998 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}};
41999 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}};
42000 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}};
42001 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}};
42002 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}};
42003 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}};
42004 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}};
42005 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}};
42006 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}};
42007 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}};
42008 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}};
42009 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}};
42010 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}};
42011 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}};
42012 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}};
42013 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}};
42014 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}};
42015 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}};
42016 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}};
42017 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}};
42018 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}};
42019 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}};
42020 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}};
42021 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}};
42022 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}};
42023 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}};
42024 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}};
42025 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}};
42026 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}};
42027 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}};
42028 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}};
42029 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}};
42030 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}};
42031 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}};
42032 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}};
42033 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}};
42034 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}};
42035 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}};
42036 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}};
42037 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}};
42038 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}};
42039 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}};
42040 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}};
42041 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}};
42042 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}};
42043 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}};
42044 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}};
42045 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}};
42046 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}};
42047 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}};
42048 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}};
42049 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}};
42050 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}};
42051 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}};
42052 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}};
42053 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}};
42054 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}};
42055 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}};
42056 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}};
42057 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}};
42058 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}};
42059 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}};
42060 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}};
42061 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}};
42062 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}};
42063 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}};
42064 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}};
42065 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}};
42066 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}};
42067 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}};
42068 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}};
42069 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}};
42070 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}};
42071 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}};
42072 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}};
42073 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}};
42074 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}};
42075 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}};
42076 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}};
42077 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}};
42078 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}};
42079 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}};
42080 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}};
42081 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}};
42082 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}};
42083 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}};
42084 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}};
42085 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}};
42086 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}};
42087 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}};
42088 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}};
42089 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}};
42090 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}};
42091 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}};
42093 static swig_type_info
*swig_types_initial
[] = {
42094 _swigt__p_wxLayoutConstraints
,
42095 _swigt__p_wxRealPoint
,
42096 _swigt__p_wxSizerItem
,
42097 _swigt__p_wxGBSizerItem
,
42098 _swigt__p_wxScrollEvent
,
42099 _swigt__p_wxIndividualLayoutConstraint
,
42101 _swigt__p_wxBoxSizer
,
42102 _swigt__p_wxStaticBoxSizer
,
42103 _swigt__p_wxGridBagSizer
,
42104 _swigt__p_wxAcceleratorEntry
,
42105 _swigt__p_wxUpdateUIEvent
,
42108 _swigt__p_wxGridSizer
,
42109 _swigt__p_wxFlexGridSizer
,
42110 _swigt__p_wxInitDialogEvent
,
42111 _swigt__p_wxItemContainer
,
42112 _swigt__p_wxNcPaintEvent
,
42113 _swigt__p_wxPaintEvent
,
42114 _swigt__p_wxSysColourChangedEvent
,
42115 _swigt__p_wxMouseCaptureChangedEvent
,
42116 _swigt__p_wxDisplayChangedEvent
,
42117 _swigt__p_wxPaletteChangedEvent
,
42118 _swigt__p_wxControl
,
42120 _swigt__p_wxMenuBarBase
,
42121 _swigt__p_wxSetCursorEvent
,
42122 _swigt__p_wxFSFile
,
42124 _swigt__p_wxRegion
,
42125 _swigt__p_wxPoint2D
,
42129 _swigt__p_wxPySizer
,
42130 _swigt__p_wxVisualAttributes
,
42131 _swigt__p_wxNotifyEvent
,
42132 _swigt__p_wxPyEvent
,
42133 _swigt__p_wxPropagationDisabler
,
42134 _swigt__p_wxAppTraits
,
42135 _swigt__p_wxArrayString
,
42136 _swigt__p_wxShowEvent
,
42137 _swigt__p_wxToolTip
,
42138 _swigt__p_wxMaximizeEvent
,
42139 _swigt__p_wxIconizeEvent
,
42140 _swigt__p_wxActivateEvent
,
42141 _swigt__p_wxMoveEvent
,
42142 _swigt__p_wxSizeEvent
,
42143 _swigt__p_wxQueryNewPaletteEvent
,
42144 _swigt__p_wxWindowCreateEvent
,
42145 _swigt__p_wxIdleEvent
,
42146 _swigt__p_wxMenuItem
,
42147 _swigt__p_wxStaticBox
,
42149 _swigt__p_wxTIFFHandler
,
42150 _swigt__p_wxXPMHandler
,
42151 _swigt__p_wxPNMHandler
,
42152 _swigt__p_wxJPEGHandler
,
42153 _swigt__p_wxPCXHandler
,
42154 _swigt__p_wxGIFHandler
,
42155 _swigt__p_wxPNGHandler
,
42156 _swigt__p_wxANIHandler
,
42157 _swigt__p_wxMemoryFSHandler
,
42158 _swigt__p_wxEvtHandler
,
42159 _swigt__p_wxCURHandler
,
42160 _swigt__p_wxICOHandler
,
42161 _swigt__p_wxBMPHandler
,
42162 _swigt__p_wxImageHandler
,
42163 _swigt__p_wxFileSystemHandler
,
42164 _swigt__p_wxPyFileSystemHandler
,
42165 _swigt__p_wxInternetFSHandler
,
42166 _swigt__p_wxZipFSHandler
,
42168 _swigt__p_wxGBSpan
,
42169 _swigt__p_wxPropagateOnce
,
42170 _swigt__p_wxAcceleratorTable
,
42172 _swigt__p_wxGBPosition
,
42175 _swigt__p_wxScrollWinEvent
,
42176 _swigt__p_wxImageHistogram
,
42179 _swigt__p_wxCursor
,
42180 _swigt__p_wxObject
,
42181 _swigt__p_wxPyInputStream
,
42182 _swigt__p_wxOutputStream
,
42183 _swigt__p_wxInputStream
,
42184 _swigt__p_wxDateTime
,
42185 _swigt__p_wxKeyEvent
,
42186 _swigt__p_wxNavigationKeyEvent
,
42187 _swigt__p_wxWindowDestroyEvent
,
42188 _swigt__p_wxWindow
,
42189 _swigt__p_wxMenuBar
,
42190 _swigt__p_wxFileSystem
,
42191 _swigt__p_wxBitmap
,
42192 _swigt__p_wxMenuEvent
,
42193 _swigt__p_wxContextMenuEvent
,
42194 _swigt__p_unsigned_char
,
42195 _swigt__p_wxCloseEvent
,
42196 _swigt__p_wxEraseEvent
,
42197 _swigt__p_wxMouseEvent
,
42199 _swigt__p_wxCommandEvent
,
42200 _swigt__p_wxPyCommandEvent
,
42201 _swigt__p_wxPyDropTarget
,
42202 _swigt__p_wxChildFocusEvent
,
42203 _swigt__p_wxFocusEvent
,
42204 _swigt__p_wxDropFilesEvent
,
42205 _swigt__p_wxControlWithItems
,
42206 _swigt__p_wxColour
,
42207 _swigt__p_wxValidator
,
42208 _swigt__p_wxPyValidator
,
42213 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42215 static swig_const_info swig_const_table
[] = {
42225 SWIGEXPORT(void) SWIG_init(void) {
42226 static PyObject
*SWIG_globals
= 0;
42227 static int typeinit
= 0;
42230 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42231 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42232 d
= PyModule_GetDict(m
);
42235 for (i
= 0; swig_types_initial
[i
]; i
++) {
42236 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42240 SWIG_InstallConstants(d
,swig_const_table
);
42243 #ifndef wxPyUSE_EXPORT
42244 // Make our API structure a CObject so other modules can import it
42245 // from this module.
42246 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42247 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42251 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42252 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42253 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42254 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42255 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42256 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42257 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42258 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42259 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42260 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42261 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42262 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42263 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42264 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42265 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42266 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42267 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42268 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42269 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42270 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42271 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42272 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42273 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42274 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42275 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42276 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42277 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42278 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42279 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42280 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42281 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42282 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42283 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42284 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42285 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42286 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42287 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42288 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42289 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42290 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42291 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42292 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42293 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42294 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42295 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42296 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42297 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42298 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42299 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42300 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42301 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42302 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42303 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42304 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42305 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42306 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42307 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42308 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42309 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42310 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42311 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42312 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42313 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42314 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42315 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42316 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42317 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42318 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42319 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42320 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42321 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42322 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42323 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42324 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42325 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42326 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42327 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42328 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42329 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42330 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42331 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42332 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42333 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42334 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42335 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42336 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42337 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42338 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42339 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42340 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42341 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42342 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42343 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42344 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42345 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42346 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42347 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42348 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42349 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42350 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42351 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42352 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42353 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42354 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42355 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42356 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42357 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42358 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42359 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42360 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42361 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42362 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42363 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42364 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42365 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42366 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42367 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42368 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42369 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42370 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42371 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42372 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42373 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42374 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42375 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42376 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42377 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42378 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42379 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42380 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42381 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42382 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42383 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42384 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42385 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42386 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42387 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42388 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42389 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42390 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42391 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42392 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42393 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42394 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42395 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42396 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42397 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42398 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42399 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42400 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42401 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42402 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42403 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42404 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42405 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42406 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42407 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42408 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42409 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42410 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42411 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42412 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42413 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42414 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42415 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42416 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42417 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42418 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42419 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42420 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42421 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42422 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42423 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42424 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42425 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42426 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42427 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42428 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42429 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42430 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42431 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42432 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42433 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42434 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42435 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42436 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42437 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42438 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42439 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42440 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42441 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42442 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42443 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42444 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42445 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42446 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42447 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42448 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42449 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42450 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42451 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42452 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42453 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42454 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42455 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42456 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42457 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42458 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42459 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42460 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42461 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42462 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42463 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42464 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42465 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42466 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42467 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42468 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42469 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42470 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42471 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42472 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42473 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42474 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42475 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42476 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42477 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42478 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42479 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42480 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42481 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42482 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42483 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42484 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42485 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42486 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42487 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42488 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42489 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42490 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42491 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42492 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42493 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42494 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42495 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42496 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42497 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42498 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42499 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42500 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42501 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42502 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42503 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42504 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42505 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42506 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42507 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42508 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42509 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42510 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42511 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42512 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42513 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42514 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42515 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42516 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42517 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42518 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42519 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42520 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42521 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42522 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42523 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42524 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42525 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42526 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42527 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42528 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42529 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42530 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42531 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42532 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42533 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42534 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42535 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42536 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42537 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42538 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42539 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42540 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42541 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42542 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42543 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42544 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42545 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42546 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42547 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42548 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42549 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42550 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42551 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42552 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42553 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42554 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42555 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42556 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42557 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42558 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42559 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42560 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42561 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42562 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42563 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42564 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42565 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42566 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42567 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42568 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42569 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42570 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42571 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42572 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42573 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42574 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42575 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42576 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42577 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42578 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42579 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42580 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42581 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42582 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42583 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42584 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42585 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42586 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42587 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42588 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42589 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42590 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42591 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42592 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42593 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42594 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42595 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42596 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42597 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42598 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42599 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42600 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42601 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42602 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42603 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42604 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42605 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42606 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42607 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42608 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42609 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42610 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42611 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42612 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42613 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42614 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42615 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42616 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42617 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42618 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42619 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42620 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42621 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42622 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42623 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42624 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42625 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42626 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42627 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42628 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42629 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42630 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42631 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42632 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42633 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42634 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42635 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42636 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42637 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42638 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42639 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42640 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42641 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42642 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42643 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42644 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42645 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42646 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42647 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42648 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42649 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42650 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42651 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42652 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42653 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42654 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42655 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42656 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42657 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42658 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42659 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42660 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42661 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42662 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42663 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42664 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42665 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42666 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42667 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42668 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42669 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42670 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42671 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42672 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42673 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42674 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42675 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42676 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42677 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42678 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42679 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42680 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42681 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42682 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42683 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42684 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42685 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42686 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42687 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42688 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42689 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42690 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42691 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42692 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42693 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42694 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42695 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42696 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42697 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42698 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42699 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42700 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42701 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42702 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42703 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42704 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42705 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42706 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42707 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42708 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42709 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42710 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42711 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42712 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42713 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42714 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42715 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42716 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42717 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42718 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42719 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42720 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42721 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42722 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42723 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42724 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42725 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42726 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42727 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42728 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42729 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42730 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42731 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42732 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42733 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42734 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42735 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42736 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42737 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42738 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42739 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
42740 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
42741 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
42742 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
42743 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
42744 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42745 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42746 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42747 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42748 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
42749 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
42750 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
42751 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
42752 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
42753 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
42754 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42755 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42756 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
42757 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
42758 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
42759 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
42760 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
42761 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
42762 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
42763 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
42764 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
42765 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
42766 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42767 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42768 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
42769 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
42770 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
42771 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
42772 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
42773 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
42774 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
42775 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
42776 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
42777 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
42778 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
42779 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
42780 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
42781 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
42782 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
42783 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
42784 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
42785 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
42786 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
42787 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
42788 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
42789 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
42790 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
42791 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
42792 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
42793 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
42794 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
42795 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
42796 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
42797 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
42798 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
42799 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
42800 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
42801 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
42802 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
42803 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
42804 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
42805 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
42806 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
42807 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
42808 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
42809 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
42810 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
42811 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
42812 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
42813 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
42814 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
42815 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
42816 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
42817 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
42818 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
42819 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42820 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42821 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
42822 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
42823 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
42825 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42828 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42830 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42831 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42832 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42833 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42834 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42835 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42836 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
42837 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
42838 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
42839 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
42840 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
42841 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
42842 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
42843 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
42844 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
42845 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
42846 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
42847 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
42848 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
42849 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42850 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42851 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42852 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42853 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42854 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42855 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42856 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42857 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42858 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42859 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42860 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42861 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42862 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42863 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42864 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42865 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42866 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42867 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42868 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42869 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42870 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42871 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42872 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42873 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42874 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42875 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42876 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42877 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42878 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42879 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42880 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42881 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42882 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42883 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42884 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42885 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42886 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42887 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42888 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42889 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42890 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42891 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42892 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42893 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42894 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42895 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42896 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42897 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42898 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42899 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42900 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42901 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42902 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42903 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42904 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42905 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42906 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42907 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42908 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42909 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42910 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42911 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42912 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42913 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42914 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42915 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42916 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42917 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42918 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42919 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42920 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42921 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42922 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42923 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42924 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42925 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42926 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42927 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42928 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42929 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42930 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42931 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42932 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42933 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42934 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42935 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42936 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42937 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42938 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42939 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42940 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42941 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42942 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42943 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42944 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42945 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
42946 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
42947 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
42948 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
42949 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
42950 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
42951 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
42952 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
42953 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
42954 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
42955 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
42956 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
42957 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
42958 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
42959 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
42960 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
42961 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
42962 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
42963 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
42964 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
42965 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
42966 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
42967 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
42968 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
42969 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
42970 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
42971 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
42972 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
42973 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
42974 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
42975 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
42976 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
42977 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
42978 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
42979 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
42980 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
42981 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
42982 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
42983 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
42984 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
42985 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
42986 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
42987 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
42988 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
42989 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
42990 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
42991 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
42992 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
42993 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
42994 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
42995 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
42996 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
42997 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
42998 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
42999 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
43000 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
43001 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
43002 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
43003 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
43004 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
43005 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
43006 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
43007 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
43008 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
43009 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
43011 // Initialize threading, some globals and such
43015 // Although these are defined in __version__ they need to be here too so
43016 // that an assert can be done to ensure that the wxPython and the wxWindows
43018 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43019 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43020 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));