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_GetUnicodeKey(wxKeyEvent
*self
){
1275 return self
->GetUnicodeKey();
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();
1340 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1342 void wxApp_CleanUp() {
1347 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1351 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1352 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1353 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1354 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1355 wxWindowList
& list
= self
->GetChildren();
1356 return wxPy_ConvertList(&list
);
1358 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1360 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1365 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1372 long wxWindow_GetHandle(wxWindow
*self
){
1373 return wxPyGetWinHandle(self
);
1376 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1377 return wxWindow::FindWindowById(id
, parent
);
1380 wxWindow
* wxFindWindowByName( const wxString
& name
,
1381 const wxWindow
*parent
= NULL
) {
1382 return wxWindow::FindWindowByName(name
, parent
);
1385 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1386 const wxWindow
*parent
= NULL
) {
1387 return wxWindow::FindWindowByLabel(label
, parent
);
1392 #include <wx/msw/private.h> // to get wxGetWindowId
1396 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1398 WXHWND hWnd
= (WXHWND
)_hWnd
;
1399 long id
= wxGetWindowId(hWnd
);
1400 wxWindow
* win
= new wxWindow
;
1401 parent
->AddChild(win
);
1402 win
->SetEventHandler(win
);
1405 win
->SubclassWin(hWnd
);
1406 win
->AdoptAttributesFromHWND();
1407 win
->SetupColours();
1410 wxPyRaiseNotImplemented();
1416 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1417 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1418 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1420 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1422 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1423 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1424 wxMenuItemList
& list
= self
->GetMenuItems();
1425 return wxPy_ConvertList(&list
);
1427 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1428 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1429 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1431 wxPyClientData
* data
= new wxPyClientData(clientData
);
1432 return self
->Append(item
, data
);
1434 return self
->Append(item
);
1436 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1438 wxPyClientData
* data
= new wxPyClientData(clientData
);
1439 return self
->Insert(item
, pos
, data
);
1441 return self
->Insert(item
, pos
);
1443 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1444 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1446 Py_INCREF(data
->m_obj
);
1453 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1454 wxPyClientData
* data
= new wxPyClientData(clientData
);
1455 self
->SetClientObject(n
, data
);
1459 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1460 wxPyUserData
* data
= NULL
;
1462 bool blocked
= wxPyBeginBlockThreads();
1463 data
= new wxPyUserData(userData
);
1464 wxPyEndBlockThreads(blocked
);
1466 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1468 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1469 wxPyUserData
* data
= NULL
;
1471 bool blocked
= wxPyBeginBlockThreads();
1472 data
= new wxPyUserData(userData
);
1473 wxPyEndBlockThreads(blocked
);
1475 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1477 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1478 wxPyUserData
* data
= NULL
;
1480 bool blocked
= wxPyBeginBlockThreads();
1481 data
= new wxPyUserData(userData
);
1482 wxPyEndBlockThreads(blocked
);
1484 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1490 SWIG_FloatCast(double value
)
1493 if (!PyErr_Occurred()) {
1494 if (value
< FLT_MIN
) {
1496 PyString_FromFormat("value %g is less than float minimum %g",
1498 PyErr_SetObject(PyExc_OverflowError
, err
);
1500 } else if (value
> FLT_MAX
) {
1502 PyString_FromFormat("value %g is greater than float maximum %g",
1504 PyErr_SetObject(PyExc_OverflowError
, err
);
1507 f
= swig_numeric_cast(float, value
);
1514 SWIGSTATICINLINE(float)
1515 SWIG_AsFloat(PyObject
*obj
)
1517 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1521 SWIGSTATICINLINE(int)
1522 SWIG_CheckFloat(PyObject
* obj
)
1525 if (PyErr_Occurred()) {
1533 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1534 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1536 Py_INCREF(data
->m_obj
);
1544 // Figure out the type of the sizer item
1546 struct wxPySizerItemInfo
{
1548 : window(NULL
), sizer(NULL
), gotSize(False
),
1549 size(wxDefaultSize
), gotPos(False
), pos(-1)
1560 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1562 wxPySizerItemInfo info
;
1564 wxSize
* sizePtr
= &size
;
1566 // Find out what the type of the item is
1568 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1573 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1577 // try wxSize or (w,h)
1578 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1579 info
.size
= *sizePtr
;
1580 info
.gotSize
= True
;
1584 if (checkIdx
&& PyInt_Check(item
)) {
1585 info
.pos
= PyInt_AsLong(item
);
1591 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1592 // no expected type, figure out what kind of error message to generate
1593 if ( !checkSize
&& !checkIdx
)
1594 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1595 else if ( checkSize
&& !checkIdx
)
1596 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1597 else if ( !checkSize
&& checkIdx
)
1598 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1600 // can this one happen?
1601 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1607 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1608 if (!self
->GetClientObject())
1609 self
->SetClientObject(new wxPyOORClientData(_self
));
1611 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1613 wxPyUserData
* data
= NULL
;
1614 bool blocked
= wxPyBeginBlockThreads();
1615 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1616 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1617 data
= new wxPyUserData(userData
);
1618 wxPyEndBlockThreads(blocked
);
1620 // Now call the real Add method if a valid item type was found
1622 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1623 else if ( info
.sizer
)
1624 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1625 else if (info
.gotSize
)
1626 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1627 proportion
, flag
, border
, data
);
1629 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1631 wxPyUserData
* data
= NULL
;
1632 bool blocked
= wxPyBeginBlockThreads();
1633 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1634 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1635 data
= new wxPyUserData(userData
);
1636 wxPyEndBlockThreads(blocked
);
1638 // Now call the real Insert method if a valid item type was found
1640 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1641 else if ( info
.sizer
)
1642 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1643 else if (info
.gotSize
)
1644 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1645 proportion
, flag
, border
, data
);
1647 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1649 wxPyUserData
* data
= NULL
;
1650 bool blocked
= wxPyBeginBlockThreads();
1651 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1652 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1653 data
= new wxPyUserData(userData
);
1654 wxPyEndBlockThreads(blocked
);
1656 // Now call the real Prepend method if a valid item type was found
1658 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1659 else if ( info
.sizer
)
1660 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1661 else if (info
.gotSize
)
1662 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1663 proportion
, flag
, border
, data
);
1665 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1666 bool blocked
= wxPyBeginBlockThreads();
1667 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1668 wxPyEndBlockThreads(blocked
);
1670 return self
->Remove(info
.window
);
1671 else if ( info
.sizer
)
1672 return self
->Remove(info
.sizer
);
1673 else if ( info
.gotPos
)
1674 return self
->Remove(info
.pos
);
1678 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1679 bool blocked
= wxPyBeginBlockThreads();
1680 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1681 wxPyEndBlockThreads(blocked
);
1683 return self
->Detach(info
.window
);
1684 else if ( info
.sizer
)
1685 return self
->Detach(info
.sizer
);
1686 else if ( info
.gotPos
)
1687 return self
->Detach(info
.pos
);
1691 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1692 bool blocked
= wxPyBeginBlockThreads();
1693 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1694 wxPyEndBlockThreads(blocked
);
1696 self
->SetItemMinSize(info
.window
, size
);
1697 else if ( info
.sizer
)
1698 self
->SetItemMinSize(info
.sizer
, size
);
1699 else if ( info
.gotPos
)
1700 self
->SetItemMinSize(info
.pos
, size
);
1702 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1703 wxSizerItemList
& list
= self
->GetChildren();
1704 return wxPy_ConvertList(&list
);
1706 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1707 bool blocked
= wxPyBeginBlockThreads();
1708 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1709 wxPyEndBlockThreads(blocked
);
1711 self
->Show(info
.window
, show
);
1712 else if ( info
.sizer
)
1713 self
->Show(info
.sizer
, show
);
1714 else if ( info
.gotPos
)
1715 self
->Show(info
.pos
, show
);
1717 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1718 bool blocked
= wxPyBeginBlockThreads();
1719 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1720 wxPyEndBlockThreads(blocked
);
1722 return self
->IsShown(info
.window
);
1723 else if ( info
.sizer
)
1724 return self
->IsShown(info
.sizer
);
1725 else if ( info
.gotPos
)
1726 return self
->IsShown(info
.pos
);
1732 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1733 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1734 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1739 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1741 if (source
== Py_None
) {
1742 **obj
= wxGBPosition(-1,-1);
1745 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1748 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1750 if (source
== Py_None
) {
1751 **obj
= wxGBSpan(-1,-1);
1754 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1758 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1762 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1763 bool blocked
= wxPyBeginBlockThreads();
1764 PyObject
* tup
= PyTuple_New(2);
1765 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1766 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1767 wxPyEndBlockThreads(blocked
);
1770 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1771 self
->SetRowspan(rowspan
);
1772 self
->SetColspan(colspan
);
1774 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1775 bool blocked
= wxPyBeginBlockThreads();
1776 PyObject
* tup
= PyTuple_New(2);
1777 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1778 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1779 wxPyEndBlockThreads(blocked
);
1782 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1783 wxPyUserData
* data
= NULL
;
1785 bool blocked
= wxPyBeginBlockThreads();
1786 data
= new wxPyUserData(userData
);
1787 wxPyEndBlockThreads(blocked
);
1789 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
1791 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1792 wxPyUserData
* data
= NULL
;
1794 bool blocked
= wxPyBeginBlockThreads();
1795 data
= new wxPyUserData(userData
);
1796 wxPyEndBlockThreads(blocked
);
1798 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
1800 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1801 wxPyUserData
* data
= NULL
;
1803 bool blocked
= wxPyBeginBlockThreads();
1804 data
= new wxPyUserData(userData
);
1805 wxPyEndBlockThreads(blocked
);
1807 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
1809 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
1811 self
->GetEndPos(row
, col
);
1812 return wxGBPosition(row
, col
);
1814 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1816 wxPyUserData
* data
= NULL
;
1817 bool blocked
= wxPyBeginBlockThreads();
1818 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1819 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1820 data
= new wxPyUserData(userData
);
1821 wxPyEndBlockThreads(blocked
);
1823 // Now call the real Add method if a valid item type was found
1825 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1826 else if ( info
.sizer
)
1827 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1828 else if (info
.gotSize
)
1829 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1830 pos
, span
, flag
, border
, data
);
1838 static int _wrap_EmptyString_set(PyObject
*_val
) {
1839 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1844 static PyObject
*_wrap_EmptyString_get() {
1849 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1851 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1858 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1859 PyObject
*resultobj
;
1860 wxObject
*arg1
= (wxObject
*) 0 ;
1862 PyObject
* obj0
= 0 ;
1864 (char *) "self", NULL
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1872 result
= wxObject_GetClassName(arg1
);
1874 wxPyEndAllowThreads(__tstate
);
1875 if (PyErr_Occurred()) SWIG_fail
;
1879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1890 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1892 wxObject
*arg1
= (wxObject
*) 0 ;
1893 PyObject
* obj0
= 0 ;
1895 (char *) "self", NULL
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1903 wxObject_Destroy(arg1
);
1905 wxPyEndAllowThreads(__tstate
);
1906 if (PyErr_Occurred()) SWIG_fail
;
1908 Py_INCREF(Py_None
); resultobj
= Py_None
;
1915 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1918 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1920 return Py_BuildValue((char *)"");
1922 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1924 wxSize
*arg1
= (wxSize
*) 0 ;
1926 PyObject
* obj0
= 0 ;
1927 PyObject
* obj1
= 0 ;
1929 (char *) "self",(char *) "x", NULL
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1935 arg2
= (int) SWIG_AsInt(obj1
);
1936 if (PyErr_Occurred()) SWIG_fail
;
1937 if (arg1
) (arg1
)->x
= arg2
;
1939 Py_INCREF(Py_None
); resultobj
= Py_None
;
1946 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
*resultobj
;
1948 wxSize
*arg1
= (wxSize
*) 0 ;
1950 PyObject
* obj0
= 0 ;
1952 (char *) "self", NULL
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1958 result
= (int) ((arg1
)->x
);
1960 resultobj
= SWIG_FromInt((int)result
);
1967 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
*resultobj
;
1969 wxSize
*arg1
= (wxSize
*) 0 ;
1971 PyObject
* obj0
= 0 ;
1972 PyObject
* obj1
= 0 ;
1974 (char *) "self",(char *) "y", NULL
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1980 arg2
= (int) SWIG_AsInt(obj1
);
1981 if (PyErr_Occurred()) SWIG_fail
;
1982 if (arg1
) (arg1
)->y
= arg2
;
1984 Py_INCREF(Py_None
); resultobj
= Py_None
;
1991 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
*resultobj
;
1993 wxSize
*arg1
= (wxSize
*) 0 ;
1995 PyObject
* obj0
= 0 ;
1997 (char *) "self", NULL
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2003 result
= (int) ((arg1
)->y
);
2005 resultobj
= SWIG_FromInt((int)result
);
2012 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
*resultobj
;
2014 int arg1
= (int) 0 ;
2015 int arg2
= (int) 0 ;
2017 PyObject
* obj0
= 0 ;
2018 PyObject
* obj1
= 0 ;
2020 (char *) "w",(char *) "h", NULL
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2025 arg1
= (int) SWIG_AsInt(obj0
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2029 arg2
= (int) SWIG_AsInt(obj1
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2046 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
*resultobj
;
2048 wxSize
*arg1
= (wxSize
*) 0 ;
2049 PyObject
* obj0
= 0 ;
2051 (char *) "self", NULL
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2061 wxPyEndAllowThreads(__tstate
);
2062 if (PyErr_Occurred()) SWIG_fail
;
2064 Py_INCREF(Py_None
); resultobj
= Py_None
;
2071 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
*resultobj
;
2073 wxSize
*arg1
= (wxSize
*) 0 ;
2077 PyObject
* obj0
= 0 ;
2078 PyObject
* obj1
= 0 ;
2080 (char *) "self",(char *) "sz", NULL
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2088 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) SWIG_fail
;
2098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2106 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
*resultobj
;
2108 wxSize
*arg1
= (wxSize
*) 0 ;
2112 PyObject
* obj0
= 0 ;
2113 PyObject
* obj1
= 0 ;
2115 (char *) "self",(char *) "sz", NULL
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2123 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2127 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2129 wxPyEndAllowThreads(__tstate
);
2130 if (PyErr_Occurred()) SWIG_fail
;
2133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2141 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
*resultobj
;
2143 wxSize
*arg1
= (wxSize
*) 0 ;
2147 PyObject
* obj0
= 0 ;
2148 PyObject
* obj1
= 0 ;
2150 (char *) "self",(char *) "sz", NULL
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2158 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2169 resultptr
= new wxSize((wxSize
&) result
);
2170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2178 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
*resultobj
;
2180 wxSize
*arg1
= (wxSize
*) 0 ;
2184 PyObject
* obj0
= 0 ;
2185 PyObject
* obj1
= 0 ;
2187 (char *) "self",(char *) "sz", NULL
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2195 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2206 resultptr
= new wxSize((wxSize
&) result
);
2207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2215 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
*resultobj
;
2217 wxSize
*arg1
= (wxSize
*) 0 ;
2220 PyObject
* obj0
= 0 ;
2221 PyObject
* obj1
= 0 ;
2223 (char *) "self",(char *) "sz", NULL
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2231 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 (arg1
)->IncTo((wxSize
const &)*arg2
);
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2240 Py_INCREF(Py_None
); resultobj
= Py_None
;
2247 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
*resultobj
;
2249 wxSize
*arg1
= (wxSize
*) 0 ;
2252 PyObject
* obj0
= 0 ;
2253 PyObject
* obj1
= 0 ;
2255 (char *) "self",(char *) "sz", NULL
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2263 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 (arg1
)->DecTo((wxSize
const &)*arg2
);
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) SWIG_fail
;
2272 Py_INCREF(Py_None
); resultobj
= Py_None
;
2279 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
*resultobj
;
2281 wxSize
*arg1
= (wxSize
*) 0 ;
2284 PyObject
* obj0
= 0 ;
2285 PyObject
* obj1
= 0 ;
2286 PyObject
* obj2
= 0 ;
2288 (char *) "self",(char *) "w",(char *) "h", NULL
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2294 arg2
= (int) SWIG_AsInt(obj1
);
2295 if (PyErr_Occurred()) SWIG_fail
;
2296 arg3
= (int) SWIG_AsInt(obj2
);
2297 if (PyErr_Occurred()) SWIG_fail
;
2299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2300 (arg1
)->Set(arg2
,arg3
);
2302 wxPyEndAllowThreads(__tstate
);
2303 if (PyErr_Occurred()) SWIG_fail
;
2305 Py_INCREF(Py_None
); resultobj
= Py_None
;
2312 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
*resultobj
;
2314 wxSize
*arg1
= (wxSize
*) 0 ;
2316 PyObject
* obj0
= 0 ;
2317 PyObject
* obj1
= 0 ;
2319 (char *) "self",(char *) "w", NULL
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2325 arg2
= (int) SWIG_AsInt(obj1
);
2326 if (PyErr_Occurred()) SWIG_fail
;
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 (arg1
)->SetWidth(arg2
);
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2334 Py_INCREF(Py_None
); resultobj
= Py_None
;
2341 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
*resultobj
;
2343 wxSize
*arg1
= (wxSize
*) 0 ;
2345 PyObject
* obj0
= 0 ;
2346 PyObject
* obj1
= 0 ;
2348 (char *) "self",(char *) "h", NULL
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2354 arg2
= (int) SWIG_AsInt(obj1
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 (arg1
)->SetHeight(arg2
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) SWIG_fail
;
2363 Py_INCREF(Py_None
); resultobj
= Py_None
;
2370 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
*resultobj
;
2372 wxSize
*arg1
= (wxSize
*) 0 ;
2374 PyObject
* obj0
= 0 ;
2376 (char *) "self", NULL
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2384 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2386 wxPyEndAllowThreads(__tstate
);
2387 if (PyErr_Occurred()) SWIG_fail
;
2389 resultobj
= SWIG_FromInt((int)result
);
2396 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
*resultobj
;
2398 wxSize
*arg1
= (wxSize
*) 0 ;
2400 PyObject
* obj0
= 0 ;
2402 (char *) "self", NULL
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) SWIG_fail
;
2415 resultobj
= SWIG_FromInt((int)result
);
2422 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
*resultobj
;
2424 wxSize
*arg1
= (wxSize
*) 0 ;
2426 PyObject
* obj0
= 0 ;
2428 (char *) "self", NULL
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) SWIG_fail
;
2442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2450 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
*resultobj
;
2452 wxSize
*arg1
= (wxSize
*) 0 ;
2455 PyObject
* obj0
= 0 ;
2456 PyObject
* obj1
= 0 ;
2458 (char *) "self",(char *) "size", NULL
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2466 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2470 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2472 wxPyEndAllowThreads(__tstate
);
2473 if (PyErr_Occurred()) SWIG_fail
;
2475 Py_INCREF(Py_None
); resultobj
= Py_None
;
2482 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
*resultobj
;
2484 wxSize
*arg1
= (wxSize
*) 0 ;
2486 PyObject
* obj0
= 0 ;
2488 (char *) "self", NULL
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2496 result
= (PyObject
*)wxSize_Get(arg1
);
2498 wxPyEndAllowThreads(__tstate
);
2499 if (PyErr_Occurred()) SWIG_fail
;
2508 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2511 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2513 return Py_BuildValue((char *)"");
2515 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
*resultobj
;
2517 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2519 PyObject
* obj0
= 0 ;
2520 PyObject
* obj1
= 0 ;
2522 (char *) "self",(char *) "x", NULL
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2528 arg2
= (double) SWIG_AsDouble(obj1
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2530 if (arg1
) (arg1
)->x
= arg2
;
2532 Py_INCREF(Py_None
); resultobj
= Py_None
;
2539 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
*resultobj
;
2541 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2543 PyObject
* obj0
= 0 ;
2545 (char *) "self", NULL
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2551 result
= (double) ((arg1
)->x
);
2553 resultobj
= SWIG_FromDouble((double)result
);
2560 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
*resultobj
;
2562 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2564 PyObject
* obj0
= 0 ;
2565 PyObject
* obj1
= 0 ;
2567 (char *) "self",(char *) "y", NULL
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2573 arg2
= (double) SWIG_AsDouble(obj1
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2575 if (arg1
) (arg1
)->y
= arg2
;
2577 Py_INCREF(Py_None
); resultobj
= Py_None
;
2584 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2588 PyObject
* obj0
= 0 ;
2590 (char *) "self", NULL
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2596 result
= (double) ((arg1
)->y
);
2598 resultobj
= SWIG_FromDouble((double)result
);
2605 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
*resultobj
;
2607 double arg1
= (double) 0.0 ;
2608 double arg2
= (double) 0.0 ;
2609 wxRealPoint
*result
;
2610 PyObject
* obj0
= 0 ;
2611 PyObject
* obj1
= 0 ;
2613 (char *) "x",(char *) "y", NULL
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2618 arg1
= (double) SWIG_AsDouble(obj0
);
2619 if (PyErr_Occurred()) SWIG_fail
;
2622 arg2
= (double) SWIG_AsDouble(obj1
);
2623 if (PyErr_Occurred()) SWIG_fail
;
2626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2629 wxPyEndAllowThreads(__tstate
);
2630 if (PyErr_Occurred()) SWIG_fail
;
2632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2639 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
*resultobj
;
2641 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2642 PyObject
* obj0
= 0 ;
2644 (char *) "self", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2657 Py_INCREF(Py_None
); resultobj
= Py_None
;
2664 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
*resultobj
;
2666 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2667 wxRealPoint
*arg2
= 0 ;
2670 PyObject
* obj0
= 0 ;
2671 PyObject
* obj1
= 0 ;
2673 (char *) "self",(char *) "pt", NULL
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2681 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2699 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
;
2701 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2702 wxRealPoint
*arg2
= 0 ;
2705 PyObject
* obj0
= 0 ;
2706 PyObject
* obj1
= 0 ;
2708 (char *) "self",(char *) "pt", NULL
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2716 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) SWIG_fail
;
2726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2734 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
*resultobj
;
2736 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2737 wxRealPoint
*arg2
= 0 ;
2740 PyObject
* obj0
= 0 ;
2741 PyObject
* obj1
= 0 ;
2743 (char *) "self",(char *) "pt", NULL
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2751 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2761 wxRealPoint
* resultptr
;
2762 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2763 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2771 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
*resultobj
;
2773 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2774 wxRealPoint
*arg2
= 0 ;
2777 PyObject
* obj0
= 0 ;
2778 PyObject
* obj1
= 0 ;
2780 (char *) "self",(char *) "pt", NULL
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2788 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) SWIG_fail
;
2798 wxRealPoint
* resultptr
;
2799 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2808 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2810 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2813 PyObject
* obj0
= 0 ;
2814 PyObject
* obj1
= 0 ;
2815 PyObject
* obj2
= 0 ;
2817 (char *) "self",(char *) "x",(char *) "y", NULL
2820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2823 arg2
= (double) SWIG_AsDouble(obj1
);
2824 if (PyErr_Occurred()) SWIG_fail
;
2825 arg3
= (double) SWIG_AsDouble(obj2
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 wxRealPoint_Set(arg1
,arg2
,arg3
);
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2834 Py_INCREF(Py_None
); resultobj
= Py_None
;
2841 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
*resultobj
;
2843 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2845 PyObject
* obj0
= 0 ;
2847 (char *) "self", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2855 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) SWIG_fail
;
2867 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2870 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2872 return Py_BuildValue((char *)"");
2874 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
*resultobj
;
2876 wxPoint
*arg1
= (wxPoint
*) 0 ;
2878 PyObject
* obj0
= 0 ;
2879 PyObject
* obj1
= 0 ;
2881 (char *) "self",(char *) "x", NULL
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2887 arg2
= (int) SWIG_AsInt(obj1
);
2888 if (PyErr_Occurred()) SWIG_fail
;
2889 if (arg1
) (arg1
)->x
= arg2
;
2891 Py_INCREF(Py_None
); resultobj
= Py_None
;
2898 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxPoint
*arg1
= (wxPoint
*) 0 ;
2902 PyObject
* obj0
= 0 ;
2904 (char *) "self", NULL
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2910 result
= (int) ((arg1
)->x
);
2912 resultobj
= SWIG_FromInt((int)result
);
2919 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
*resultobj
;
2921 wxPoint
*arg1
= (wxPoint
*) 0 ;
2923 PyObject
* obj0
= 0 ;
2924 PyObject
* obj1
= 0 ;
2926 (char *) "self",(char *) "y", NULL
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2932 arg2
= (int) SWIG_AsInt(obj1
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2934 if (arg1
) (arg1
)->y
= arg2
;
2936 Py_INCREF(Py_None
); resultobj
= Py_None
;
2943 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
*resultobj
;
2945 wxPoint
*arg1
= (wxPoint
*) 0 ;
2947 PyObject
* obj0
= 0 ;
2949 (char *) "self", NULL
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2955 result
= (int) ((arg1
)->y
);
2957 resultobj
= SWIG_FromInt((int)result
);
2964 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
*resultobj
;
2966 int arg1
= (int) 0 ;
2967 int arg2
= (int) 0 ;
2969 PyObject
* obj0
= 0 ;
2970 PyObject
* obj1
= 0 ;
2972 (char *) "x",(char *) "y", NULL
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2977 arg1
= (int) SWIG_AsInt(obj0
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2981 arg2
= (int) SWIG_AsInt(obj1
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) SWIG_fail
;
2991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2998 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 wxPoint
*arg1
= (wxPoint
*) 0 ;
3001 PyObject
* obj0
= 0 ;
3003 (char *) "self", NULL
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) SWIG_fail
;
3016 Py_INCREF(Py_None
); resultobj
= Py_None
;
3023 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
*resultobj
;
3025 wxPoint
*arg1
= (wxPoint
*) 0 ;
3029 PyObject
* obj0
= 0 ;
3030 PyObject
* obj1
= 0 ;
3032 (char *) "self",(char *) "pt", NULL
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3040 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3058 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
*resultobj
;
3060 wxPoint
*arg1
= (wxPoint
*) 0 ;
3064 PyObject
* obj0
= 0 ;
3065 PyObject
* obj1
= 0 ;
3067 (char *) "self",(char *) "pt", NULL
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3075 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3093 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
*resultobj
;
3095 wxPoint
*arg1
= (wxPoint
*) 0 ;
3099 PyObject
* obj0
= 0 ;
3100 PyObject
* obj1
= 0 ;
3102 (char *) "self",(char *) "pt", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3110 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3120 wxPoint
* resultptr
;
3121 resultptr
= new wxPoint((wxPoint
&) result
);
3122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3130 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
*resultobj
;
3132 wxPoint
*arg1
= (wxPoint
*) 0 ;
3136 PyObject
* obj0
= 0 ;
3137 PyObject
* obj1
= 0 ;
3139 (char *) "self",(char *) "pt", NULL
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3147 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3157 wxPoint
* resultptr
;
3158 resultptr
= new wxPoint((wxPoint
&) result
);
3159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3167 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
*resultobj
;
3169 wxPoint
*arg1
= (wxPoint
*) 0 ;
3173 PyObject
* obj0
= 0 ;
3174 PyObject
* obj1
= 0 ;
3176 (char *) "self",(char *) "pt", NULL
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3184 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3190 result
= (wxPoint
*) &_result_ref
;
3193 wxPyEndAllowThreads(__tstate
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3203 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
;
3205 wxPoint
*arg1
= (wxPoint
*) 0 ;
3209 PyObject
* obj0
= 0 ;
3210 PyObject
* obj1
= 0 ;
3212 (char *) "self",(char *) "pt", NULL
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3220 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3226 result
= (wxPoint
*) &_result_ref
;
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3239 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
*resultobj
;
3241 wxPoint
*arg1
= (wxPoint
*) 0 ;
3244 PyObject
* obj0
= 0 ;
3245 PyObject
* obj1
= 0 ;
3246 PyObject
* obj2
= 0 ;
3248 (char *) "self",(char *) "x",(char *) "y", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3254 arg2
= (long) SWIG_AsLong(obj1
);
3255 if (PyErr_Occurred()) SWIG_fail
;
3256 arg3
= (long) SWIG_AsLong(obj2
);
3257 if (PyErr_Occurred()) SWIG_fail
;
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 wxPoint_Set(arg1
,arg2
,arg3
);
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3265 Py_INCREF(Py_None
); resultobj
= Py_None
;
3272 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3273 PyObject
*resultobj
;
3274 wxPoint
*arg1
= (wxPoint
*) 0 ;
3276 PyObject
* obj0
= 0 ;
3278 (char *) "self", NULL
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 result
= (PyObject
*)wxPoint_Get(arg1
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) SWIG_fail
;
3298 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3301 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3303 return Py_BuildValue((char *)"");
3305 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
*resultobj
;
3307 int arg1
= (int) 0 ;
3308 int arg2
= (int) 0 ;
3309 int arg3
= (int) 0 ;
3310 int arg4
= (int) 0 ;
3312 PyObject
* obj0
= 0 ;
3313 PyObject
* obj1
= 0 ;
3314 PyObject
* obj2
= 0 ;
3315 PyObject
* obj3
= 0 ;
3317 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3322 arg1
= (int) SWIG_AsInt(obj0
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3326 arg2
= (int) SWIG_AsInt(obj1
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3330 arg3
= (int) SWIG_AsInt(obj2
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3334 arg4
= (int) SWIG_AsInt(obj3
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3351 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
*resultobj
;
3358 PyObject
* obj0
= 0 ;
3359 PyObject
* obj1
= 0 ;
3361 (char *) "topLeft",(char *) "bottomRight", NULL
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3367 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3371 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3387 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
*resultobj
;
3394 PyObject
* obj0
= 0 ;
3395 PyObject
* obj1
= 0 ;
3397 (char *) "pos",(char *) "size", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3403 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3407 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3411 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3413 wxPyEndAllowThreads(__tstate
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3423 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3425 wxRect
*arg1
= (wxRect
*) 0 ;
3426 PyObject
* obj0
= 0 ;
3428 (char *) "self", NULL
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3441 Py_INCREF(Py_None
); resultobj
= Py_None
;
3448 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
*resultobj
;
3450 wxRect
*arg1
= (wxRect
*) 0 ;
3452 PyObject
* obj0
= 0 ;
3454 (char *) "self", NULL
3457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3462 result
= (int)((wxRect
const *)arg1
)->GetX();
3464 wxPyEndAllowThreads(__tstate
);
3465 if (PyErr_Occurred()) SWIG_fail
;
3467 resultobj
= SWIG_FromInt((int)result
);
3474 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
*resultobj
;
3476 wxRect
*arg1
= (wxRect
*) 0 ;
3478 PyObject
* obj0
= 0 ;
3479 PyObject
* obj1
= 0 ;
3481 (char *) "self",(char *) "x", NULL
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3487 arg2
= (int) SWIG_AsInt(obj1
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3496 Py_INCREF(Py_None
); resultobj
= Py_None
;
3503 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
*resultobj
;
3505 wxRect
*arg1
= (wxRect
*) 0 ;
3507 PyObject
* obj0
= 0 ;
3509 (char *) "self", NULL
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 result
= (int)(arg1
)->GetY();
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3522 resultobj
= SWIG_FromInt((int)result
);
3529 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxRect
*arg1
= (wxRect
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3534 PyObject
* obj1
= 0 ;
3536 (char *) "self",(char *) "y", NULL
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3542 arg2
= (int) SWIG_AsInt(obj1
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 Py_INCREF(Py_None
); resultobj
= Py_None
;
3558 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxRect
*arg1
= (wxRect
*) 0 ;
3562 PyObject
* obj0
= 0 ;
3564 (char *) "self", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= SWIG_FromInt((int)result
);
3584 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxRect
*arg1
= (wxRect
*) 0 ;
3588 PyObject
* obj0
= 0 ;
3589 PyObject
* obj1
= 0 ;
3591 (char *) "self",(char *) "w", NULL
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3597 arg2
= (int) SWIG_AsInt(obj1
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 (arg1
)->SetWidth(arg2
);
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 Py_INCREF(Py_None
); resultobj
= Py_None
;
3613 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxRect
*arg1
= (wxRect
*) 0 ;
3617 PyObject
* obj0
= 0 ;
3619 (char *) "self", NULL
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3632 resultobj
= SWIG_FromInt((int)result
);
3639 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
*resultobj
;
3641 wxRect
*arg1
= (wxRect
*) 0 ;
3643 PyObject
* obj0
= 0 ;
3644 PyObject
* obj1
= 0 ;
3646 (char *) "self",(char *) "h", NULL
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3652 arg2
= (int) SWIG_AsInt(obj1
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 (arg1
)->SetHeight(arg2
);
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) SWIG_fail
;
3661 Py_INCREF(Py_None
); resultobj
= Py_None
;
3668 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
*resultobj
;
3670 wxRect
*arg1
= (wxRect
*) 0 ;
3672 PyObject
* obj0
= 0 ;
3674 (char *) "self", NULL
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 result
= ((wxRect
const *)arg1
)->GetPosition();
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3688 wxPoint
* resultptr
;
3689 resultptr
= new wxPoint((wxPoint
&) result
);
3690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3698 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
*resultobj
;
3700 wxRect
*arg1
= (wxRect
*) 0 ;
3703 PyObject
* obj0
= 0 ;
3704 PyObject
* obj1
= 0 ;
3706 (char *) "self",(char *) "p", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3714 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3723 Py_INCREF(Py_None
); resultobj
= Py_None
;
3730 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
*resultobj
;
3732 wxRect
*arg1
= (wxRect
*) 0 ;
3734 PyObject
* obj0
= 0 ;
3736 (char *) "self", NULL
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 result
= ((wxRect
const *)arg1
)->GetSize();
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3751 resultptr
= new wxSize((wxSize
&) result
);
3752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3760 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
*resultobj
;
3762 wxRect
*arg1
= (wxRect
*) 0 ;
3765 PyObject
* obj0
= 0 ;
3766 PyObject
* obj1
= 0 ;
3768 (char *) "self",(char *) "s", NULL
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3776 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 (arg1
)->SetSize((wxSize
const &)*arg2
);
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 Py_INCREF(Py_None
); resultobj
= Py_None
;
3792 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 wxRect
*arg1
= (wxRect
*) 0 ;
3796 PyObject
* obj0
= 0 ;
3798 (char *) "self", NULL
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) SWIG_fail
;
3812 wxPoint
* resultptr
;
3813 resultptr
= new wxPoint((wxPoint
&) result
);
3814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3822 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
;
3824 wxRect
*arg1
= (wxRect
*) 0 ;
3827 PyObject
* obj0
= 0 ;
3828 PyObject
* obj1
= 0 ;
3830 (char *) "self",(char *) "p", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3838 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3847 Py_INCREF(Py_None
); resultobj
= Py_None
;
3854 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 wxRect
*arg1
= (wxRect
*) 0 ;
3858 PyObject
* obj0
= 0 ;
3860 (char *) "self", NULL
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3874 wxPoint
* resultptr
;
3875 resultptr
= new wxPoint((wxPoint
&) result
);
3876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3884 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3885 PyObject
*resultobj
;
3886 wxRect
*arg1
= (wxRect
*) 0 ;
3889 PyObject
* obj0
= 0 ;
3890 PyObject
* obj1
= 0 ;
3892 (char *) "self",(char *) "p", NULL
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3900 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 Py_INCREF(Py_None
); resultobj
= Py_None
;
3916 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
*resultobj
;
3918 wxRect
*arg1
= (wxRect
*) 0 ;
3920 PyObject
* obj0
= 0 ;
3922 (char *) "self", NULL
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3930 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) SWIG_fail
;
3935 resultobj
= SWIG_FromInt((int)result
);
3942 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
*resultobj
;
3944 wxRect
*arg1
= (wxRect
*) 0 ;
3946 PyObject
* obj0
= 0 ;
3948 (char *) "self", NULL
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 result
= (int)((wxRect
const *)arg1
)->GetTop();
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3961 resultobj
= SWIG_FromInt((int)result
);
3968 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
*resultobj
;
3970 wxRect
*arg1
= (wxRect
*) 0 ;
3972 PyObject
* obj0
= 0 ;
3974 (char *) "self", NULL
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 resultobj
= SWIG_FromInt((int)result
);
3994 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxRect
*arg1
= (wxRect
*) 0 ;
3998 PyObject
* obj0
= 0 ;
4000 (char *) "self", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 result
= (int)((wxRect
const *)arg1
)->GetRight();
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 resultobj
= SWIG_FromInt((int)result
);
4020 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4022 wxRect
*arg1
= (wxRect
*) 0 ;
4024 PyObject
* obj0
= 0 ;
4025 PyObject
* obj1
= 0 ;
4027 (char *) "self",(char *) "left", NULL
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4033 arg2
= (int) SWIG_AsInt(obj1
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 (arg1
)->SetLeft(arg2
);
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4042 Py_INCREF(Py_None
); resultobj
= Py_None
;
4049 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
*resultobj
;
4051 wxRect
*arg1
= (wxRect
*) 0 ;
4053 PyObject
* obj0
= 0 ;
4054 PyObject
* obj1
= 0 ;
4056 (char *) "self",(char *) "right", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4062 arg2
= (int) SWIG_AsInt(obj1
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 (arg1
)->SetRight(arg2
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 Py_INCREF(Py_None
); resultobj
= Py_None
;
4078 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4080 wxRect
*arg1
= (wxRect
*) 0 ;
4082 PyObject
* obj0
= 0 ;
4083 PyObject
* obj1
= 0 ;
4085 (char *) "self",(char *) "top", NULL
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4091 arg2
= (int) SWIG_AsInt(obj1
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 (arg1
)->SetTop(arg2
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 Py_INCREF(Py_None
); resultobj
= Py_None
;
4107 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4109 wxRect
*arg1
= (wxRect
*) 0 ;
4111 PyObject
* obj0
= 0 ;
4112 PyObject
* obj1
= 0 ;
4114 (char *) "self",(char *) "bottom", NULL
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4120 arg2
= (int) SWIG_AsInt(obj1
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 (arg1
)->SetBottom(arg2
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 Py_INCREF(Py_None
); resultobj
= Py_None
;
4136 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4138 wxRect
*arg1
= (wxRect
*) 0 ;
4142 PyObject
* obj0
= 0 ;
4143 PyObject
* obj1
= 0 ;
4144 PyObject
* obj2
= 0 ;
4146 (char *) "self",(char *) "dx",(char *) "dy", NULL
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4152 arg2
= (int) SWIG_AsInt(obj1
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4154 arg3
= (int) SWIG_AsInt(obj2
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4160 result
= (wxRect
*) &_result_ref
;
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4173 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
*resultobj
;
4175 wxRect
*arg1
= (wxRect
*) 0 ;
4179 PyObject
* obj0
= 0 ;
4180 PyObject
* obj1
= 0 ;
4181 PyObject
* obj2
= 0 ;
4183 (char *) "self",(char *) "dx",(char *) "dy", NULL
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4189 arg2
= (int) SWIG_AsInt(obj1
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4191 arg3
= (int) SWIG_AsInt(obj2
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4197 result
= (wxRect
*) &_result_ref
;
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4210 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4212 wxRect
*arg1
= (wxRect
*) 0 ;
4215 PyObject
* obj0
= 0 ;
4216 PyObject
* obj1
= 0 ;
4217 PyObject
* obj2
= 0 ;
4219 (char *) "self",(char *) "dx",(char *) "dy", NULL
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4225 arg2
= (int) SWIG_AsInt(obj1
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4227 arg3
= (int) SWIG_AsInt(obj2
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 (arg1
)->Offset(arg2
,arg3
);
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 Py_INCREF(Py_None
); resultobj
= Py_None
;
4243 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
;
4245 wxRect
*arg1
= (wxRect
*) 0 ;
4248 PyObject
* obj0
= 0 ;
4249 PyObject
* obj1
= 0 ;
4251 (char *) "self",(char *) "pt", NULL
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4259 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 (arg1
)->Offset((wxPoint
const &)*arg2
);
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4268 Py_INCREF(Py_None
); resultobj
= Py_None
;
4275 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
;
4277 wxRect
*arg1
= (wxRect
*) 0 ;
4281 PyObject
* obj0
= 0 ;
4282 PyObject
* obj1
= 0 ;
4284 (char *) "self",(char *) "rect", NULL
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4292 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4298 result
= (wxRect
*) &_result_ref
;
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4311 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4313 wxRect
*arg1
= (wxRect
*) 0 ;
4317 PyObject
* obj0
= 0 ;
4318 PyObject
* obj1
= 0 ;
4320 (char *) "self",(char *) "rect", NULL
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4328 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4339 resultptr
= new wxRect((wxRect
&) result
);
4340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4348 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
;
4350 wxRect
*arg1
= (wxRect
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4355 PyObject
* obj1
= 0 ;
4357 (char *) "self",(char *) "rect", NULL
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4365 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4371 result
= (wxRect
*) &_result_ref
;
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4384 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
;
4386 wxRect
*arg1
= (wxRect
*) 0 ;
4390 PyObject
* obj0
= 0 ;
4391 PyObject
* obj1
= 0 ;
4393 (char *) "self",(char *) "rect", NULL
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4401 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4419 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 wxRect
*arg1
= (wxRect
*) 0 ;
4425 PyObject
* obj0
= 0 ;
4426 PyObject
* obj1
= 0 ;
4428 (char *) "self",(char *) "rect", NULL
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4436 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4454 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
;
4456 wxRect
*arg1
= (wxRect
*) 0 ;
4460 PyObject
* obj0
= 0 ;
4461 PyObject
* obj1
= 0 ;
4462 PyObject
* obj2
= 0 ;
4464 (char *) "self",(char *) "x",(char *) "y", NULL
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4470 arg2
= (int) SWIG_AsInt(obj1
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4472 arg3
= (int) SWIG_AsInt(obj2
);
4473 if (PyErr_Occurred()) SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4490 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxRect
*arg1
= (wxRect
*) 0 ;
4496 PyObject
* obj0
= 0 ;
4497 PyObject
* obj1
= 0 ;
4499 (char *) "self",(char *) "pt", NULL
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4525 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxRect
*arg1
= (wxRect
*) 0 ;
4531 PyObject
* obj0
= 0 ;
4532 PyObject
* obj1
= 0 ;
4534 (char *) "self",(char *) "rect", NULL
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4542 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4560 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
*resultobj
;
4562 wxRect
*arg1
= (wxRect
*) 0 ;
4564 PyObject
* obj0
= 0 ;
4565 PyObject
* obj1
= 0 ;
4567 (char *) "self",(char *) "x", NULL
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4573 arg2
= (int) SWIG_AsInt(obj1
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4575 if (arg1
) (arg1
)->x
= arg2
;
4577 Py_INCREF(Py_None
); resultobj
= Py_None
;
4584 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
*resultobj
;
4586 wxRect
*arg1
= (wxRect
*) 0 ;
4588 PyObject
* obj0
= 0 ;
4590 (char *) "self", NULL
4593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4596 result
= (int) ((arg1
)->x
);
4598 resultobj
= SWIG_FromInt((int)result
);
4605 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
*resultobj
;
4607 wxRect
*arg1
= (wxRect
*) 0 ;
4609 PyObject
* obj0
= 0 ;
4610 PyObject
* obj1
= 0 ;
4612 (char *) "self",(char *) "y", NULL
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4618 arg2
= (int) SWIG_AsInt(obj1
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4620 if (arg1
) (arg1
)->y
= arg2
;
4622 Py_INCREF(Py_None
); resultobj
= Py_None
;
4629 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
;
4631 wxRect
*arg1
= (wxRect
*) 0 ;
4633 PyObject
* obj0
= 0 ;
4635 (char *) "self", NULL
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4641 result
= (int) ((arg1
)->y
);
4643 resultobj
= SWIG_FromInt((int)result
);
4650 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
*resultobj
;
4652 wxRect
*arg1
= (wxRect
*) 0 ;
4654 PyObject
* obj0
= 0 ;
4655 PyObject
* obj1
= 0 ;
4657 (char *) "self",(char *) "width", NULL
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4663 arg2
= (int) SWIG_AsInt(obj1
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4665 if (arg1
) (arg1
)->width
= arg2
;
4667 Py_INCREF(Py_None
); resultobj
= Py_None
;
4674 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4676 wxRect
*arg1
= (wxRect
*) 0 ;
4678 PyObject
* obj0
= 0 ;
4680 (char *) "self", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4686 result
= (int) ((arg1
)->width
);
4688 resultobj
= SWIG_FromInt((int)result
);
4695 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
*resultobj
;
4697 wxRect
*arg1
= (wxRect
*) 0 ;
4699 PyObject
* obj0
= 0 ;
4700 PyObject
* obj1
= 0 ;
4702 (char *) "self",(char *) "height", NULL
4705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4708 arg2
= (int) SWIG_AsInt(obj1
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4710 if (arg1
) (arg1
)->height
= arg2
;
4712 Py_INCREF(Py_None
); resultobj
= Py_None
;
4719 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
;
4721 wxRect
*arg1
= (wxRect
*) 0 ;
4723 PyObject
* obj0
= 0 ;
4725 (char *) "self", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4731 result
= (int) ((arg1
)->height
);
4733 resultobj
= SWIG_FromInt((int)result
);
4740 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
*resultobj
;
4742 wxRect
*arg1
= (wxRect
*) 0 ;
4743 int arg2
= (int) 0 ;
4744 int arg3
= (int) 0 ;
4745 int arg4
= (int) 0 ;
4746 int arg5
= (int) 0 ;
4747 PyObject
* obj0
= 0 ;
4748 PyObject
* obj1
= 0 ;
4749 PyObject
* obj2
= 0 ;
4750 PyObject
* obj3
= 0 ;
4751 PyObject
* obj4
= 0 ;
4753 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4760 arg2
= (int) SWIG_AsInt(obj1
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4764 arg3
= (int) SWIG_AsInt(obj2
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4768 arg4
= (int) SWIG_AsInt(obj3
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4772 arg5
= (int) SWIG_AsInt(obj4
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4782 Py_INCREF(Py_None
); resultobj
= Py_None
;
4789 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxRect
*arg1
= (wxRect
*) 0 ;
4793 PyObject
* obj0
= 0 ;
4795 (char *) "self", NULL
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 result
= (PyObject
*)wxRect_Get(arg1
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4815 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4818 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4820 return Py_BuildValue((char *)"");
4822 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
*resultobj
;
4824 wxRect
*arg1
= (wxRect
*) 0 ;
4825 wxRect
*arg2
= (wxRect
*) 0 ;
4827 PyObject
* obj0
= 0 ;
4828 PyObject
* obj1
= 0 ;
4830 (char *) "r1",(char *) "r2", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4839 if (!wxPyCheckForApp()) SWIG_fail
;
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4853 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
*resultobj
;
4855 double arg1
= (double) 0.0 ;
4856 double arg2
= (double) 0.0 ;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4861 (char *) "x",(char *) "y", NULL
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4866 arg1
= (double) SWIG_AsDouble(obj0
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4870 arg2
= (double) SWIG_AsDouble(obj1
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4887 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
*resultobj
;
4889 wxPoint2D
*arg1
= 0 ;
4892 PyObject
* obj0
= 0 ;
4897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4900 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4916 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4921 PyObject
* obj0
= 0 ;
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4929 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4933 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4945 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
*resultobj
;
4947 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4948 int *arg2
= (int *) 0 ;
4949 int *arg3
= (int *) 0 ;
4952 PyObject
* obj0
= 0 ;
4954 (char *) "self", NULL
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 Py_INCREF(Py_None
); resultobj
= Py_None
;
4971 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4972 resultobj
= t_output_helper(resultobj
,o
);
4975 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4976 resultobj
= t_output_helper(resultobj
,o
);
4984 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
;
4986 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4987 int *arg2
= (int *) 0 ;
4988 int *arg3
= (int *) 0 ;
4991 PyObject
* obj0
= 0 ;
4993 (char *) "self", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 Py_INCREF(Py_None
); resultobj
= Py_None
;
5010 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
5011 resultobj
= t_output_helper(resultobj
,o
);
5014 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5015 resultobj
= t_output_helper(resultobj
,o
);
5023 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5027 PyObject
* obj0
= 0 ;
5029 (char *) "self", NULL
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= SWIG_FromDouble((double)result
);
5049 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5053 PyObject
* obj0
= 0 ;
5055 (char *) "self", NULL
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 resultobj
= SWIG_FromDouble((double)result
);
5075 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
;
5077 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5079 PyObject
* obj0
= 0 ;
5080 PyObject
* obj1
= 0 ;
5082 (char *) "self",(char *) "length", NULL
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5088 arg2
= (double) SWIG_AsDouble(obj1
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 (arg1
)->SetVectorLength(arg2
);
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5097 Py_INCREF(Py_None
); resultobj
= Py_None
;
5104 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
*resultobj
;
5106 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5108 PyObject
* obj0
= 0 ;
5109 PyObject
* obj1
= 0 ;
5111 (char *) "self",(char *) "degrees", NULL
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5117 arg2
= (double) SWIG_AsDouble(obj1
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 (arg1
)->SetVectorAngle(arg2
);
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5126 Py_INCREF(Py_None
); resultobj
= Py_None
;
5133 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5134 PyObject
*resultobj
;
5135 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5136 wxPoint2D
*arg2
= 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5142 (char *) "self",(char *) "pt", NULL
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5150 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= SWIG_FromDouble((double)result
);
5166 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
*resultobj
;
5168 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5169 wxPoint2D
*arg2
= 0 ;
5172 PyObject
* obj0
= 0 ;
5173 PyObject
* obj1
= 0 ;
5175 (char *) "self",(char *) "pt", NULL
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5183 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) SWIG_fail
;
5192 resultobj
= SWIG_FromDouble((double)result
);
5199 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5200 PyObject
*resultobj
;
5201 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5202 wxPoint2D
*arg2
= 0 ;
5205 PyObject
* obj0
= 0 ;
5206 PyObject
* obj1
= 0 ;
5208 (char *) "self",(char *) "vec", NULL
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5216 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5225 resultobj
= SWIG_FromDouble((double)result
);
5232 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
*resultobj
;
5234 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5235 wxPoint2D
*arg2
= 0 ;
5238 PyObject
* obj0
= 0 ;
5239 PyObject
* obj1
= 0 ;
5241 (char *) "self",(char *) "vec", NULL
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5249 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 resultobj
= SWIG_FromDouble((double)result
);
5265 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
;
5267 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5269 PyObject
* obj0
= 0 ;
5271 (char *) "self", NULL
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 result
= (arg1
)->operator -();
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5285 wxPoint2D
* resultptr
;
5286 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5295 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5297 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5298 wxPoint2D
*arg2
= 0 ;
5301 PyObject
* obj0
= 0 ;
5302 PyObject
* obj1
= 0 ;
5304 (char *) "self",(char *) "pt", NULL
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5312 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5318 result
= (wxPoint2D
*) &_result_ref
;
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5331 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
*resultobj
;
5333 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5334 wxPoint2D
*arg2
= 0 ;
5337 PyObject
* obj0
= 0 ;
5338 PyObject
* obj1
= 0 ;
5340 (char *) "self",(char *) "pt", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5354 result
= (wxPoint2D
*) &_result_ref
;
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5367 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
*resultobj
;
5369 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5370 wxPoint2D
*arg2
= 0 ;
5373 PyObject
* obj0
= 0 ;
5374 PyObject
* obj1
= 0 ;
5376 (char *) "self",(char *) "pt", NULL
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5384 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5390 result
= (wxPoint2D
*) &_result_ref
;
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5403 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5406 wxPoint2D
*arg2
= 0 ;
5409 PyObject
* obj0
= 0 ;
5410 PyObject
* obj1
= 0 ;
5412 (char *) "self",(char *) "pt", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5420 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5426 result
= (wxPoint2D
*) &_result_ref
;
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5439 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5442 wxPoint2D
*arg2
= 0 ;
5445 PyObject
* obj0
= 0 ;
5446 PyObject
* obj1
= 0 ;
5448 (char *) "self",(char *) "pt", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5456 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5474 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
;
5476 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5477 wxPoint2D
*arg2
= 0 ;
5480 PyObject
* obj0
= 0 ;
5481 PyObject
* obj1
= 0 ;
5483 (char *) "self",(char *) "pt", NULL
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5491 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5509 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
*resultobj
;
5511 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5516 (char *) "self",(char *) "m_x", NULL
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5522 arg2
= (double) SWIG_AsDouble(obj1
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5524 if (arg1
) (arg1
)->m_x
= arg2
;
5526 Py_INCREF(Py_None
); resultobj
= Py_None
;
5533 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
*resultobj
;
5535 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5537 PyObject
* obj0
= 0 ;
5539 (char *) "self", NULL
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5545 result
= (double) ((arg1
)->m_x
);
5547 resultobj
= SWIG_FromDouble((double)result
);
5554 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
;
5556 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5558 PyObject
* obj0
= 0 ;
5559 PyObject
* obj1
= 0 ;
5561 (char *) "self",(char *) "m_y", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5567 arg2
= (double) SWIG_AsDouble(obj1
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5569 if (arg1
) (arg1
)->m_y
= arg2
;
5571 Py_INCREF(Py_None
); resultobj
= Py_None
;
5578 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5584 (char *) "self", NULL
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5590 result
= (double) ((arg1
)->m_y
);
5592 resultobj
= SWIG_FromDouble((double)result
);
5599 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
;
5601 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5602 double arg2
= (double) 0 ;
5603 double arg3
= (double) 0 ;
5604 PyObject
* obj0
= 0 ;
5605 PyObject
* obj1
= 0 ;
5606 PyObject
* obj2
= 0 ;
5608 (char *) "self",(char *) "x",(char *) "y", NULL
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5615 arg2
= (double) SWIG_AsDouble(obj1
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5619 arg3
= (double) SWIG_AsDouble(obj2
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 wxPoint2D_Set(arg1
,arg2
,arg3
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 Py_INCREF(Py_None
); resultobj
= Py_None
;
5636 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
;
5638 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5640 PyObject
* obj0
= 0 ;
5642 (char *) "self", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5662 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5665 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5667 return Py_BuildValue((char *)"");
5669 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5670 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5675 static PyObject
*_wrap_DefaultPosition_get() {
5678 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5683 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5684 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5689 static PyObject
*_wrap_DefaultSize_get() {
5692 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5697 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
;
5699 PyObject
*arg1
= (PyObject
*) 0 ;
5700 wxPyInputStream
*result
;
5701 PyObject
* obj0
= 0 ;
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5722 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
;
5724 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5725 PyObject
* obj0
= 0 ;
5727 (char *) "self", NULL
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 Py_INCREF(Py_None
); resultobj
= Py_None
;
5747 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5750 PyObject
* obj0
= 0 ;
5752 (char *) "self", NULL
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 Py_INCREF(Py_None
); resultobj
= Py_None
;
5772 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5776 PyObject
* obj0
= 0 ;
5778 (char *) "self", NULL
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (bool)(arg1
)->eof();
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5800 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
*resultobj
;
5802 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5803 int arg2
= (int) -1 ;
5805 PyObject
* obj0
= 0 ;
5806 PyObject
* obj1
= 0 ;
5808 (char *) "self",(char *) "size", NULL
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5815 arg2
= (int) SWIG_AsInt(obj1
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 result
= (PyObject
*)(arg1
)->read(arg2
);
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5832 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
;
5834 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5835 int arg2
= (int) -1 ;
5837 PyObject
* obj0
= 0 ;
5838 PyObject
* obj1
= 0 ;
5840 (char *) "self",(char *) "size", NULL
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5847 arg2
= (int) SWIG_AsInt(obj1
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 result
= (PyObject
*)(arg1
)->readline(arg2
);
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5864 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5867 int arg2
= (int) -1 ;
5869 PyObject
* obj0
= 0 ;
5870 PyObject
* obj1
= 0 ;
5872 (char *) "self",(char *) "sizehint", NULL
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5879 arg2
= (int) SWIG_AsInt(obj1
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5896 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
;
5898 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5900 int arg3
= (int) 0 ;
5901 PyObject
* obj0
= 0 ;
5902 PyObject
* obj1
= 0 ;
5903 PyObject
* obj2
= 0 ;
5905 (char *) "self",(char *) "offset",(char *) "whence", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5911 arg2
= (int) SWIG_AsInt(obj1
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5914 arg3
= (int) SWIG_AsInt(obj2
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 (arg1
)->seek(arg2
,arg3
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 Py_INCREF(Py_None
); resultobj
= Py_None
;
5931 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
*resultobj
;
5933 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5935 PyObject
* obj0
= 0 ;
5937 (char *) "self", NULL
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 result
= (int)(arg1
)->tell();
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= SWIG_FromInt((int)result
);
5957 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
;
5959 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5961 PyObject
* obj0
= 0 ;
5963 (char *) "self", NULL
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 result
= (char)(arg1
)->Peek();
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= SWIG_FromChar((char)result
);
5983 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5987 PyObject
* obj0
= 0 ;
5989 (char *) "self", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 result
= (char)(arg1
)->GetC();
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6002 resultobj
= SWIG_FromChar((char)result
);
6009 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6011 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6013 PyObject
* obj0
= 0 ;
6015 (char *) "self", NULL
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 result
= (size_t)(arg1
)->LastRead();
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6035 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
;
6037 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6039 PyObject
* obj0
= 0 ;
6041 (char *) "self", NULL
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 result
= (bool)(arg1
)->CanRead();
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6063 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6067 PyObject
* obj0
= 0 ;
6069 (char *) "self", NULL
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 result
= (bool)(arg1
)->Eof();
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6091 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
;
6093 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6096 PyObject
* obj0
= 0 ;
6097 PyObject
* obj1
= 0 ;
6099 (char *) "self",(char *) "c", NULL
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6105 arg2
= (char) SWIG_AsChar(obj1
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 result
= (bool)(arg1
)->Ungetch(arg2
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6123 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
;
6125 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6127 int arg3
= (int) wxFromStart
;
6129 PyObject
* obj0
= 0 ;
6130 PyObject
* obj1
= 0 ;
6131 PyObject
* obj2
= 0 ;
6133 (char *) "self",(char *) "pos",(char *) "mode", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 arg2
= (long) SWIG_AsLong(obj1
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6152 resultobj
= SWIG_FromLong((long)result
);
6159 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
*resultobj
;
6161 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6163 PyObject
* obj0
= 0 ;
6165 (char *) "self", NULL
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (long)(arg1
)->TellI();
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_FromLong((long)result
);
6185 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6188 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6190 return Py_BuildValue((char *)"");
6192 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
;
6194 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6195 PyObject
*arg2
= (PyObject
*) 0 ;
6196 PyObject
* obj0
= 0 ;
6197 PyObject
* obj1
= 0 ;
6199 (char *) "self",(char *) "obj", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 wxOutputStream_write(arg1
,arg2
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 Py_INCREF(Py_None
); resultobj
= Py_None
;
6220 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6223 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6225 return Py_BuildValue((char *)"");
6227 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
;
6229 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6230 wxString
*arg2
= 0 ;
6231 wxString
*arg3
= 0 ;
6232 wxString
*arg4
= 0 ;
6235 wxPyInputStream
*temp1
;
6237 bool temp2
= False
;
6238 bool temp3
= False
;
6239 bool temp4
= False
;
6241 PyObject
* obj0
= 0 ;
6242 PyObject
* obj1
= 0 ;
6243 PyObject
* obj2
= 0 ;
6244 PyObject
* obj3
= 0 ;
6245 PyObject
* obj4
= 0 ;
6247 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6252 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6253 arg1
= temp1
->m_wxis
;
6256 PyErr_Clear(); // clear the failure of the wxPyConvert above
6257 arg1
= wxPyCBInputStream_create(obj0
, False
);
6259 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6266 arg2
= wxString_in_helper(obj1
);
6267 if (arg2
== NULL
) SWIG_fail
;
6271 arg3
= wxString_in_helper(obj2
);
6272 if (arg3
== NULL
) SWIG_fail
;
6276 arg4
= wxString_in_helper(obj3
);
6277 if (arg4
== NULL
) SWIG_fail
;
6280 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6281 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= wxPyMake_wxObject(result
, 1);
6331 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6334 PyObject
* obj0
= 0 ;
6336 (char *) "self", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 Py_INCREF(Py_None
); resultobj
= Py_None
;
6356 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
*resultobj
;
6358 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6359 wxInputStream
*result
;
6360 PyObject
* obj0
= 0 ;
6362 (char *) "self", NULL
6365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 result
= (wxInputStream
*)(arg1
)->GetStream();
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6376 wxPyInputStream
* _ptr
= NULL
;
6379 _ptr
= new wxPyInputStream(result
);
6381 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6389 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6395 (char *) "self", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6405 result
= (wxString
*) &_result_ref
;
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6413 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6415 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6424 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
;
6426 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6428 PyObject
* obj0
= 0 ;
6430 (char *) "self", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 wxString
const &_result_ref
= (arg1
)->GetLocation();
6440 result
= (wxString
*) &_result_ref
;
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6450 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6459 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
*resultobj
;
6461 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6463 PyObject
* obj0
= 0 ;
6465 (char *) "self", NULL
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6475 result
= (wxString
*) &_result_ref
;
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6485 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6494 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6498 PyObject
* obj0
= 0 ;
6500 (char *) "self", NULL
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 result
= (arg1
)->GetModificationTime();
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6514 wxDateTime
* resultptr
;
6515 resultptr
= new wxDateTime((wxDateTime
&) result
);
6516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6524 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6527 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6529 return Py_BuildValue((char *)"");
6531 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6534 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6536 return Py_BuildValue((char *)"");
6538 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6540 wxPyFileSystemHandler
*result
;
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) SWIG_fail
;
6553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6560 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
;
6562 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6563 PyObject
*arg2
= (PyObject
*) 0 ;
6564 PyObject
*arg3
= (PyObject
*) 0 ;
6565 PyObject
* obj0
= 0 ;
6566 PyObject
* obj1
= 0 ;
6567 PyObject
* obj2
= 0 ;
6569 (char *) "self",(char *) "self",(char *) "_class", NULL
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 Py_INCREF(Py_None
); resultobj
= Py_None
;
6591 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6594 wxString
*arg2
= 0 ;
6596 bool temp2
= False
;
6597 PyObject
* obj0
= 0 ;
6598 PyObject
* obj1
= 0 ;
6600 (char *) "self",(char *) "location", NULL
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6607 arg2
= wxString_in_helper(obj1
);
6608 if (arg2
== NULL
) SWIG_fail
;
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6635 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6638 wxFileSystem
*arg2
= 0 ;
6639 wxString
*arg3
= 0 ;
6641 bool temp3
= False
;
6642 PyObject
* obj0
= 0 ;
6643 PyObject
* obj1
= 0 ;
6644 PyObject
* obj2
= 0 ;
6646 (char *) "self",(char *) "fs",(char *) "location", NULL
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6656 PyErr_SetString(PyExc_TypeError
,"null reference");
6660 arg3
= wxString_in_helper(obj2
);
6661 if (arg3
== NULL
) SWIG_fail
;
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= wxPyMake_wxObject(result
, 0);
6688 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
;
6690 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6691 wxString
*arg2
= 0 ;
6692 int arg3
= (int) 0 ;
6694 bool temp2
= False
;
6695 PyObject
* obj0
= 0 ;
6696 PyObject
* obj1
= 0 ;
6697 PyObject
* obj2
= 0 ;
6699 (char *) "self",(char *) "spec",(char *) "flags", NULL
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6706 arg2
= wxString_in_helper(obj1
);
6707 if (arg2
== NULL
) SWIG_fail
;
6711 arg3
= (int) SWIG_AsInt(obj2
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6742 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
;
6744 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6746 PyObject
* obj0
= 0 ;
6748 (char *) "self", NULL
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 result
= (arg1
)->FindNext();
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6774 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
;
6776 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6777 wxString
*arg2
= 0 ;
6779 bool temp2
= False
;
6780 PyObject
* obj0
= 0 ;
6781 PyObject
* obj1
= 0 ;
6783 (char *) "self",(char *) "location", NULL
6786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6790 arg2
= wxString_in_helper(obj1
);
6791 if (arg2
== NULL
) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6822 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
;
6824 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6825 wxString
*arg2
= 0 ;
6827 bool temp2
= False
;
6828 PyObject
* obj0
= 0 ;
6829 PyObject
* obj1
= 0 ;
6831 (char *) "self",(char *) "location", NULL
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6838 arg2
= wxString_in_helper(obj1
);
6839 if (arg2
== NULL
) SWIG_fail
;
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6870 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
*resultobj
;
6872 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6873 wxString
*arg2
= 0 ;
6875 bool temp2
= False
;
6876 PyObject
* obj0
= 0 ;
6877 PyObject
* obj1
= 0 ;
6879 (char *) "self",(char *) "location", NULL
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6886 arg2
= wxString_in_helper(obj1
);
6887 if (arg2
== NULL
) SWIG_fail
;
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6918 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
;
6920 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6921 wxString
*arg2
= 0 ;
6923 bool temp2
= False
;
6924 PyObject
* obj0
= 0 ;
6925 PyObject
* obj1
= 0 ;
6927 (char *) "self",(char *) "location", NULL
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6934 arg2
= wxString_in_helper(obj1
);
6935 if (arg2
== NULL
) SWIG_fail
;
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6949 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6966 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6969 wxString
*arg2
= 0 ;
6971 bool temp2
= False
;
6972 PyObject
* obj0
= 0 ;
6973 PyObject
* obj1
= 0 ;
6975 (char *) "self",(char *) "location", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6982 arg2
= wxString_in_helper(obj1
);
6983 if (arg2
== NULL
) SWIG_fail
;
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7014 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7017 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7019 return Py_BuildValue((char *)"");
7021 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7023 wxFileSystem
*result
;
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 result
= (wxFileSystem
*)new wxFileSystem();
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= wxPyMake_wxObject(result
, 1);
7045 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
*resultobj
;
7047 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7048 PyObject
* obj0
= 0 ;
7050 (char *) "self", NULL
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 Py_INCREF(Py_None
); resultobj
= Py_None
;
7070 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7073 wxString
*arg2
= 0 ;
7074 bool arg3
= (bool) False
;
7075 bool temp2
= False
;
7076 PyObject
* obj0
= 0 ;
7077 PyObject
* obj1
= 0 ;
7078 PyObject
* obj2
= 0 ;
7080 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7087 arg2
= wxString_in_helper(obj1
);
7088 if (arg2
== NULL
) SWIG_fail
;
7092 arg3
= (bool) SWIG_AsBool(obj2
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 Py_INCREF(Py_None
); resultobj
= Py_None
;
7117 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7123 (char *) "self", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 result
= (arg1
)->GetPath();
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7149 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
*resultobj
;
7151 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7152 wxString
*arg2
= 0 ;
7154 bool temp2
= False
;
7155 PyObject
* obj0
= 0 ;
7156 PyObject
* obj1
= 0 ;
7158 (char *) "self",(char *) "location", NULL
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7165 arg2
= wxString_in_helper(obj1
);
7166 if (arg2
== NULL
) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= wxPyMake_wxObject(result
, 0);
7193 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7195 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7196 wxString
*arg2
= 0 ;
7197 int arg3
= (int) 0 ;
7199 bool temp2
= False
;
7200 PyObject
* obj0
= 0 ;
7201 PyObject
* obj1
= 0 ;
7202 PyObject
* obj2
= 0 ;
7204 (char *) "self",(char *) "spec",(char *) "flags", NULL
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7211 arg2
= wxString_in_helper(obj1
);
7212 if (arg2
== NULL
) SWIG_fail
;
7216 arg3
= (int) SWIG_AsInt(obj2
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7221 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7247 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
;
7249 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7253 (char *) "self", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (arg1
)->FindNext();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7279 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
*resultobj
;
7281 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7282 PyObject
* obj0
= 0 ;
7284 (char *) "handler", NULL
7287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 wxFileSystem::AddHandler(arg1
);
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7297 Py_INCREF(Py_None
); resultobj
= Py_None
;
7304 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7305 PyObject
*resultobj
;
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 wxFileSystem::CleanUpHandlers();
7315 wxPyEndAllowThreads(__tstate
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 Py_INCREF(Py_None
); resultobj
= Py_None
;
7325 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
;
7327 wxString
*arg1
= 0 ;
7329 bool temp1
= False
;
7330 PyObject
* obj0
= 0 ;
7332 (char *) "filename", NULL
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7337 arg1
= wxString_in_helper(obj0
);
7338 if (arg1
== NULL
) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7369 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7372 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7374 return Py_BuildValue((char *)"");
7376 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxString
*arg1
= 0 ;
7380 bool temp1
= False
;
7381 PyObject
* obj0
= 0 ;
7383 (char *) "url", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7388 arg1
= wxString_in_helper(obj0
);
7389 if (arg1
== NULL
) SWIG_fail
;
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7420 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
*resultobj
;
7422 wxInternetFSHandler
*result
;
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7442 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7445 wxString
*arg2
= 0 ;
7447 bool temp2
= False
;
7448 PyObject
* obj0
= 0 ;
7449 PyObject
* obj1
= 0 ;
7451 (char *) "self",(char *) "location", NULL
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7458 arg2
= wxString_in_helper(obj1
);
7459 if (arg2
== NULL
) SWIG_fail
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7486 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7489 wxFileSystem
*arg2
= 0 ;
7490 wxString
*arg3
= 0 ;
7492 bool temp3
= False
;
7493 PyObject
* obj0
= 0 ;
7494 PyObject
* obj1
= 0 ;
7495 PyObject
* obj2
= 0 ;
7497 (char *) "self",(char *) "fs",(char *) "location", NULL
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7507 PyErr_SetString(PyExc_TypeError
,"null reference");
7511 arg3
= wxString_in_helper(obj2
);
7512 if (arg3
== NULL
) SWIG_fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= wxPyMake_wxObject(result
, 0);
7539 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7542 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7544 return Py_BuildValue((char *)"");
7546 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
*resultobj
;
7548 wxZipFSHandler
*result
;
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7556 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7558 wxPyEndAllowThreads(__tstate
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7568 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
;
7570 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7571 wxString
*arg2
= 0 ;
7573 bool temp2
= False
;
7574 PyObject
* obj0
= 0 ;
7575 PyObject
* obj1
= 0 ;
7577 (char *) "self",(char *) "location", NULL
7580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7584 arg2
= wxString_in_helper(obj1
);
7585 if (arg2
== NULL
) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7612 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
*resultobj
;
7614 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7615 wxFileSystem
*arg2
= 0 ;
7616 wxString
*arg3
= 0 ;
7618 bool temp3
= False
;
7619 PyObject
* obj0
= 0 ;
7620 PyObject
* obj1
= 0 ;
7621 PyObject
* obj2
= 0 ;
7623 (char *) "self",(char *) "fs",(char *) "location", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7633 PyErr_SetString(PyExc_TypeError
,"null reference");
7637 arg3
= wxString_in_helper(obj2
);
7638 if (arg3
== NULL
) SWIG_fail
;
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7645 wxPyEndAllowThreads(__tstate
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7649 resultobj
= wxPyMake_wxObject(result
, 0);
7665 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
;
7667 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7668 wxString
*arg2
= 0 ;
7669 int arg3
= (int) 0 ;
7671 bool temp2
= False
;
7672 PyObject
* obj0
= 0 ;
7673 PyObject
* obj1
= 0 ;
7674 PyObject
* obj2
= 0 ;
7676 (char *) "self",(char *) "spec",(char *) "flags", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7683 arg2
= wxString_in_helper(obj1
);
7684 if (arg2
== NULL
) SWIG_fail
;
7688 arg3
= (int) SWIG_AsInt(obj2
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7719 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7721 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7723 PyObject
* obj0
= 0 ;
7725 (char *) "self", NULL
7728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 result
= (arg1
)->FindNext();
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7751 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7754 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7756 return Py_BuildValue((char *)"");
7758 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxString
*arg1
= 0 ;
7763 bool temp1
= False
;
7764 PyObject
* obj0
= 0 ;
7765 PyObject
* obj1
= 0 ;
7766 PyObject
* obj2
= 0 ;
7768 (char *) "filename",(char *) "image",(char *) "type", NULL
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7773 arg1
= wxString_in_helper(obj0
);
7774 if (arg1
== NULL
) SWIG_fail
;
7777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7781 PyErr_SetString(PyExc_TypeError
,"null reference");
7784 arg3
= (long) SWIG_AsLong(obj2
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7788 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7790 wxPyEndAllowThreads(__tstate
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7793 Py_INCREF(Py_None
); resultobj
= Py_None
;
7808 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
;
7810 wxString
*arg1
= 0 ;
7811 wxBitmap
*arg2
= 0 ;
7813 bool temp1
= False
;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj1
= 0 ;
7816 PyObject
* obj2
= 0 ;
7818 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7823 arg1
= wxString_in_helper(obj0
);
7824 if (arg1
== NULL
) SWIG_fail
;
7827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7831 PyErr_SetString(PyExc_TypeError
,"null reference");
7834 arg3
= (long) SWIG_AsLong(obj2
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7838 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7840 wxPyEndAllowThreads(__tstate
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7843 Py_INCREF(Py_None
); resultobj
= Py_None
;
7858 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7859 PyObject
*resultobj
;
7860 wxString
*arg1
= 0 ;
7861 PyObject
*arg2
= (PyObject
*) 0 ;
7862 bool temp1
= False
;
7863 PyObject
* obj0
= 0 ;
7864 PyObject
* obj1
= 0 ;
7866 (char *) "filename",(char *) "data", NULL
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7871 arg1
= wxString_in_helper(obj0
);
7872 if (arg1
== NULL
) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 Py_INCREF(Py_None
); resultobj
= Py_None
;
7898 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
;
7900 wxMemoryFSHandler
*result
;
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7920 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
;
7922 wxString
*arg1
= 0 ;
7923 bool temp1
= False
;
7924 PyObject
* obj0
= 0 ;
7926 (char *) "filename", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7931 arg1
= wxString_in_helper(obj0
);
7932 if (arg1
== NULL
) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 Py_INCREF(Py_None
); resultobj
= Py_None
;
7957 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7960 wxString
*arg2
= 0 ;
7962 bool temp2
= False
;
7963 PyObject
* obj0
= 0 ;
7964 PyObject
* obj1
= 0 ;
7966 (char *) "self",(char *) "location", NULL
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7973 arg2
= wxString_in_helper(obj1
);
7974 if (arg2
== NULL
) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8001 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8004 wxFileSystem
*arg2
= 0 ;
8005 wxString
*arg3
= 0 ;
8007 bool temp3
= False
;
8008 PyObject
* obj0
= 0 ;
8009 PyObject
* obj1
= 0 ;
8010 PyObject
* obj2
= 0 ;
8012 (char *) "self",(char *) "fs",(char *) "location", NULL
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8022 PyErr_SetString(PyExc_TypeError
,"null reference");
8026 arg3
= wxString_in_helper(obj2
);
8027 if (arg3
== NULL
) SWIG_fail
;
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8038 resultobj
= wxPyMake_wxObject(result
, 0);
8054 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
*resultobj
;
8056 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8057 wxString
*arg2
= 0 ;
8058 int arg3
= (int) 0 ;
8060 bool temp2
= False
;
8061 PyObject
* obj0
= 0 ;
8062 PyObject
* obj1
= 0 ;
8063 PyObject
* obj2
= 0 ;
8065 (char *) "self",(char *) "spec",(char *) "flags", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8072 arg2
= wxString_in_helper(obj1
);
8073 if (arg2
== NULL
) SWIG_fail
;
8077 arg3
= (int) SWIG_AsInt(obj2
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8082 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8108 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8112 PyObject
* obj0
= 0 ;
8114 (char *) "self", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 result
= (arg1
)->FindNext();
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8140 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8143 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8145 return Py_BuildValue((char *)"");
8147 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
;
8149 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8151 PyObject
* obj0
= 0 ;
8153 (char *) "self", NULL
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 result
= (arg1
)->GetName();
8163 wxPyEndAllowThreads(__tstate
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8179 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
;
8181 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8183 PyObject
* obj0
= 0 ;
8185 (char *) "self", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 result
= (arg1
)->GetExtension();
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8211 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8215 PyObject
* obj0
= 0 ;
8217 (char *) "self", NULL
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8225 result
= (long)(arg1
)->GetType();
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= SWIG_FromLong((long)result
);
8237 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
;
8239 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8241 PyObject
* obj0
= 0 ;
8243 (char *) "self", NULL
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8251 result
= (arg1
)->GetMimeType();
8253 wxPyEndAllowThreads(__tstate
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8269 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
;
8271 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8272 wxString
*arg2
= 0 ;
8274 bool temp2
= False
;
8275 PyObject
* obj0
= 0 ;
8276 PyObject
* obj1
= 0 ;
8278 (char *) "self",(char *) "name", NULL
8281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8285 arg2
= wxString_in_helper(obj1
);
8286 if (arg2
== NULL
) SWIG_fail
;
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8313 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
;
8315 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8316 wxString
*arg2
= 0 ;
8317 bool temp2
= False
;
8318 PyObject
* obj0
= 0 ;
8319 PyObject
* obj1
= 0 ;
8321 (char *) "self",(char *) "name", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8328 arg2
= wxString_in_helper(obj1
);
8329 if (arg2
== NULL
) SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 (arg1
)->SetName((wxString
const &)*arg2
);
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 Py_INCREF(Py_None
); resultobj
= Py_None
;
8354 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8355 PyObject
*resultobj
;
8356 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8357 wxString
*arg2
= 0 ;
8358 bool temp2
= False
;
8359 PyObject
* obj0
= 0 ;
8360 PyObject
* obj1
= 0 ;
8362 (char *) "self",(char *) "extension", NULL
8365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8369 arg2
= wxString_in_helper(obj1
);
8370 if (arg2
== NULL
) SWIG_fail
;
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 (arg1
)->SetExtension((wxString
const &)*arg2
);
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8380 Py_INCREF(Py_None
); resultobj
= Py_None
;
8395 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
;
8397 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8399 PyObject
* obj0
= 0 ;
8400 PyObject
* obj1
= 0 ;
8402 (char *) "self",(char *) "type", NULL
8405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8408 arg2
= (long) SWIG_AsLong(obj1
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 (arg1
)->SetType(arg2
);
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8417 Py_INCREF(Py_None
); resultobj
= Py_None
;
8424 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8425 PyObject
*resultobj
;
8426 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8427 wxString
*arg2
= 0 ;
8428 bool temp2
= False
;
8429 PyObject
* obj0
= 0 ;
8430 PyObject
* obj1
= 0 ;
8432 (char *) "self",(char *) "mimetype", NULL
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8439 arg2
= wxString_in_helper(obj1
);
8440 if (arg2
== NULL
) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 Py_INCREF(Py_None
); resultobj
= Py_None
;
8465 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8468 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8470 return Py_BuildValue((char *)"");
8472 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8474 wxImageHistogram
*result
;
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 result
= (wxImageHistogram
*)new wxImageHistogram();
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8494 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
;
8496 unsigned char arg1
;
8497 unsigned char arg2
;
8498 unsigned char arg3
;
8499 unsigned long result
;
8500 PyObject
* obj0
= 0 ;
8501 PyObject
* obj1
= 0 ;
8502 PyObject
* obj2
= 0 ;
8504 (char *) "r",(char *) "g",(char *) "b", NULL
8507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8508 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8510 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8512 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8521 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8528 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
*resultobj
;
8530 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8531 unsigned char *arg2
= (unsigned char *) 0 ;
8532 unsigned char *arg3
= (unsigned char *) 0 ;
8533 unsigned char *arg4
= (unsigned char *) 0 ;
8534 unsigned char arg5
= (unsigned char) 1 ;
8535 unsigned char arg6
= (unsigned char) 0 ;
8536 unsigned char arg7
= (unsigned char) 0 ;
8538 unsigned char temp2
;
8539 unsigned char temp3
;
8540 unsigned char temp4
;
8541 PyObject
* obj0
= 0 ;
8542 PyObject
* obj1
= 0 ;
8543 PyObject
* obj2
= 0 ;
8544 PyObject
* obj3
= 0 ;
8546 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8556 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8560 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8564 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8578 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8579 resultobj
= t_output_helper(resultobj
,o
);
8582 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8583 resultobj
= t_output_helper(resultobj
,o
);
8586 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8587 resultobj
= t_output_helper(resultobj
,o
);
8595 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8598 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8600 return Py_BuildValue((char *)"");
8602 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
;
8604 wxString
*arg1
= 0 ;
8605 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8606 int arg3
= (int) -1 ;
8608 bool temp1
= False
;
8609 PyObject
* obj0
= 0 ;
8610 PyObject
* obj1
= 0 ;
8611 PyObject
* obj2
= 0 ;
8613 (char *) "name",(char *) "type",(char *) "index", NULL
8616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8618 arg1
= wxString_in_helper(obj0
);
8619 if (arg1
== NULL
) SWIG_fail
;
8623 arg2
= (long) SWIG_AsLong(obj1
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8627 arg3
= (int) SWIG_AsInt(obj2
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8652 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8654 wxImage
*arg1
= (wxImage
*) 0 ;
8655 PyObject
* obj0
= 0 ;
8657 (char *) "self", NULL
8660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 Py_INCREF(Py_None
); resultobj
= Py_None
;
8677 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxString
*arg1
= 0 ;
8680 wxString
*arg2
= 0 ;
8681 int arg3
= (int) -1 ;
8683 bool temp1
= False
;
8684 bool temp2
= False
;
8685 PyObject
* obj0
= 0 ;
8686 PyObject
* obj1
= 0 ;
8687 PyObject
* obj2
= 0 ;
8689 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8694 arg1
= wxString_in_helper(obj0
);
8695 if (arg1
== NULL
) SWIG_fail
;
8699 arg2
= wxString_in_helper(obj1
);
8700 if (arg2
== NULL
) SWIG_fail
;
8704 arg3
= (int) SWIG_AsInt(obj2
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8737 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
;
8739 wxInputStream
*arg1
= 0 ;
8740 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8741 int arg3
= (int) -1 ;
8743 wxPyInputStream
*temp1
;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 PyObject
* obj2
= 0 ;
8749 (char *) "stream",(char *) "type",(char *) "index", NULL
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8754 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8755 arg1
= temp1
->m_wxis
;
8758 PyErr_Clear(); // clear the failure of the wxPyConvert above
8759 arg1
= wxPyCBInputStream_create(obj0
, False
);
8761 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8768 arg2
= (long) SWIG_AsLong(obj1
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8772 arg3
= (int) SWIG_AsInt(obj2
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8797 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
;
8799 wxInputStream
*arg1
= 0 ;
8800 wxString
*arg2
= 0 ;
8801 int arg3
= (int) -1 ;
8803 wxPyInputStream
*temp1
;
8805 bool temp2
= False
;
8806 PyObject
* obj0
= 0 ;
8807 PyObject
* obj1
= 0 ;
8808 PyObject
* obj2
= 0 ;
8810 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8815 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8816 arg1
= temp1
->m_wxis
;
8819 PyErr_Clear(); // clear the failure of the wxPyConvert above
8820 arg1
= wxPyCBInputStream_create(obj0
, False
);
8822 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8829 arg2
= wxString_in_helper(obj1
);
8830 if (arg2
== NULL
) SWIG_fail
;
8834 arg3
= (int) SWIG_AsInt(obj2
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8867 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
;
8869 int arg1
= (int) 0 ;
8870 int arg2
= (int) 0 ;
8871 bool arg3
= (bool) True
;
8873 PyObject
* obj0
= 0 ;
8874 PyObject
* obj1
= 0 ;
8875 PyObject
* obj2
= 0 ;
8877 (char *) "width",(char *) "height",(char *) "clear", NULL
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8882 arg1
= (int) SWIG_AsInt(obj0
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8886 arg2
= (int) SWIG_AsInt(obj1
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8890 arg3
= (bool) SWIG_AsBool(obj2
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8907 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8908 PyObject
*resultobj
;
8909 wxBitmap
*arg1
= 0 ;
8911 PyObject
* obj0
= 0 ;
8913 (char *) "bitmap", NULL
8916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8921 PyErr_SetString(PyExc_TypeError
,"null reference");
8925 if (!wxPyCheckForApp()) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8939 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8943 unsigned char *arg3
= (unsigned char *) 0 ;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8947 PyObject
* obj2
= 0 ;
8949 (char *) "width",(char *) "height",(char *) "data", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8953 arg1
= (int) SWIG_AsInt(obj0
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8955 arg2
= (int) SWIG_AsInt(obj1
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8957 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8973 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxImage
*arg1
= (wxImage
*) 0 ;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8980 PyObject
* obj2
= 0 ;
8982 (char *) "self",(char *) "width",(char *) "height", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8988 arg2
= (int) SWIG_AsInt(obj1
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8990 arg3
= (int) SWIG_AsInt(obj2
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 (arg1
)->Create(arg2
,arg3
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 Py_INCREF(Py_None
); resultobj
= Py_None
;
9006 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
*resultobj
;
9008 wxImage
*arg1
= (wxImage
*) 0 ;
9009 PyObject
* obj0
= 0 ;
9011 (char *) "self", NULL
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 Py_INCREF(Py_None
); resultobj
= Py_None
;
9031 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
;
9033 wxImage
*arg1
= (wxImage
*) 0 ;
9036 SwigValueWrapper
< wxImage
> result
;
9037 PyObject
* obj0
= 0 ;
9038 PyObject
* obj1
= 0 ;
9039 PyObject
* obj2
= 0 ;
9041 (char *) "self",(char *) "width",(char *) "height", NULL
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9047 arg2
= (int) SWIG_AsInt(obj1
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9049 arg3
= (int) SWIG_AsInt(obj2
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 result
= (arg1
)->Scale(arg2
,arg3
);
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9059 wxImage
* resultptr
;
9060 resultptr
= new wxImage((wxImage
&) result
);
9061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9069 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 wxImage
*arg1
= (wxImage
*) 0 ;
9074 SwigValueWrapper
< wxImage
> result
;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9077 PyObject
* obj2
= 0 ;
9079 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9085 arg2
= (int) SWIG_AsInt(obj1
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9087 arg3
= (int) SWIG_AsInt(obj2
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9093 wxPyEndAllowThreads(__tstate
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9097 wxImage
* resultptr
;
9098 resultptr
= new wxImage((wxImage
&) result
);
9099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9107 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
;
9109 wxImage
*arg1
= (wxImage
*) 0 ;
9113 PyObject
* obj0
= 0 ;
9114 PyObject
* obj1
= 0 ;
9115 PyObject
* obj2
= 0 ;
9117 (char *) "self",(char *) "width",(char *) "height", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9123 arg2
= (int) SWIG_AsInt(obj1
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9125 arg3
= (int) SWIG_AsInt(obj2
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9131 result
= (wxImage
*) &_result_ref
;
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9144 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxImage
*arg1
= (wxImage
*) 0 ;
9149 unsigned char arg4
;
9150 unsigned char arg5
;
9151 unsigned char arg6
;
9152 PyObject
* obj0
= 0 ;
9153 PyObject
* obj1
= 0 ;
9154 PyObject
* obj2
= 0 ;
9155 PyObject
* obj3
= 0 ;
9156 PyObject
* obj4
= 0 ;
9157 PyObject
* obj5
= 0 ;
9159 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9165 arg2
= (int) SWIG_AsInt(obj1
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9167 arg3
= (int) SWIG_AsInt(obj2
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9169 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9171 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9173 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9182 Py_INCREF(Py_None
); resultobj
= Py_None
;
9189 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9190 PyObject
*resultobj
;
9191 wxImage
*arg1
= (wxImage
*) 0 ;
9194 unsigned char result
;
9195 PyObject
* obj0
= 0 ;
9196 PyObject
* obj1
= 0 ;
9197 PyObject
* obj2
= 0 ;
9199 (char *) "self",(char *) "x",(char *) "y", NULL
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9205 arg2
= (int) SWIG_AsInt(obj1
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9207 arg3
= (int) SWIG_AsInt(obj2
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9216 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9223 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
*resultobj
;
9225 wxImage
*arg1
= (wxImage
*) 0 ;
9228 unsigned char result
;
9229 PyObject
* obj0
= 0 ;
9230 PyObject
* obj1
= 0 ;
9231 PyObject
* obj2
= 0 ;
9233 (char *) "self",(char *) "x",(char *) "y", NULL
9236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9239 arg2
= (int) SWIG_AsInt(obj1
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9241 arg3
= (int) SWIG_AsInt(obj2
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9257 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9258 PyObject
*resultobj
;
9259 wxImage
*arg1
= (wxImage
*) 0 ;
9262 unsigned char result
;
9263 PyObject
* obj0
= 0 ;
9264 PyObject
* obj1
= 0 ;
9265 PyObject
* obj2
= 0 ;
9267 (char *) "self",(char *) "x",(char *) "y", NULL
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9273 arg2
= (int) SWIG_AsInt(obj1
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9275 arg3
= (int) SWIG_AsInt(obj2
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9291 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
;
9293 wxImage
*arg1
= (wxImage
*) 0 ;
9296 unsigned char arg4
;
9297 PyObject
* obj0
= 0 ;
9298 PyObject
* obj1
= 0 ;
9299 PyObject
* obj2
= 0 ;
9300 PyObject
* obj3
= 0 ;
9302 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9308 arg2
= (int) SWIG_AsInt(obj1
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9310 arg3
= (int) SWIG_AsInt(obj2
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9312 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 Py_INCREF(Py_None
); resultobj
= Py_None
;
9328 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
;
9330 wxImage
*arg1
= (wxImage
*) 0 ;
9333 unsigned char result
;
9334 PyObject
* obj0
= 0 ;
9335 PyObject
* obj1
= 0 ;
9336 PyObject
* obj2
= 0 ;
9338 (char *) "self",(char *) "x",(char *) "y", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9344 arg2
= (int) SWIG_AsInt(obj1
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9346 arg3
= (int) SWIG_AsInt(obj2
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9362 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
;
9364 wxImage
*arg1
= (wxImage
*) 0 ;
9366 PyObject
* obj0
= 0 ;
9368 (char *) "self", NULL
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 result
= (bool)(arg1
)->HasAlpha();
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9390 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
;
9392 wxImage
*arg1
= (wxImage
*) 0 ;
9393 byte
*arg2
= (byte
*) 0 ;
9394 byte
*arg3
= (byte
*) 0 ;
9395 byte
*arg4
= (byte
*) 0 ;
9396 byte arg5
= (byte
) 0 ;
9397 byte arg6
= (byte
) 0 ;
9398 byte arg7
= (byte
) 0 ;
9403 PyObject
* obj0
= 0 ;
9404 PyObject
* obj1
= 0 ;
9405 PyObject
* obj2
= 0 ;
9406 PyObject
* obj3
= 0 ;
9408 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9418 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9422 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9426 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9440 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9441 resultobj
= t_output_helper(resultobj
,o
);
9444 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9445 resultobj
= t_output_helper(resultobj
,o
);
9448 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9449 resultobj
= t_output_helper(resultobj
,o
);
9457 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
;
9459 wxImage
*arg1
= (wxImage
*) 0 ;
9465 PyObject
* obj0
= 0 ;
9466 PyObject
* obj1
= 0 ;
9467 PyObject
* obj2
= 0 ;
9468 PyObject
* obj3
= 0 ;
9469 PyObject
* obj4
= 0 ;
9471 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9481 PyErr_SetString(PyExc_TypeError
,"null reference");
9484 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9486 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9488 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9506 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
*resultobj
;
9508 wxString
*arg1
= 0 ;
9510 bool temp1
= False
;
9511 PyObject
* obj0
= 0 ;
9513 (char *) "name", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9518 arg1
= wxString_in_helper(obj0
);
9519 if (arg1
== NULL
) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9546 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
*resultobj
;
9548 wxString
*arg1
= 0 ;
9549 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9551 bool temp1
= False
;
9552 PyObject
* obj0
= 0 ;
9553 PyObject
* obj1
= 0 ;
9555 (char *) "name",(char *) "type", NULL
9558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9560 arg1
= wxString_in_helper(obj0
);
9561 if (arg1
== NULL
) SWIG_fail
;
9565 arg2
= (long) SWIG_AsLong(obj1
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 resultobj
= SWIG_FromInt((int)result
);
9590 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxImage
*arg1
= (wxImage
*) 0 ;
9593 wxString
*arg2
= 0 ;
9594 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9595 int arg4
= (int) -1 ;
9597 bool temp2
= False
;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9600 PyObject
* obj2
= 0 ;
9601 PyObject
* obj3
= 0 ;
9603 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9610 arg2
= wxString_in_helper(obj1
);
9611 if (arg2
== NULL
) SWIG_fail
;
9615 arg3
= (long) SWIG_AsLong(obj2
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9619 arg4
= (int) SWIG_AsInt(obj3
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9646 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxImage
*arg1
= (wxImage
*) 0 ;
9649 wxString
*arg2
= 0 ;
9650 wxString
*arg3
= 0 ;
9651 int arg4
= (int) -1 ;
9653 bool temp2
= False
;
9654 bool temp3
= False
;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9657 PyObject
* obj2
= 0 ;
9658 PyObject
* obj3
= 0 ;
9660 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9667 arg2
= wxString_in_helper(obj1
);
9668 if (arg2
== NULL
) SWIG_fail
;
9672 arg3
= wxString_in_helper(obj2
);
9673 if (arg3
== NULL
) SWIG_fail
;
9677 arg4
= (int) SWIG_AsInt(obj3
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9712 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxImage
*arg1
= (wxImage
*) 0 ;
9715 wxString
*arg2
= 0 ;
9718 bool temp2
= False
;
9719 PyObject
* obj0
= 0 ;
9720 PyObject
* obj1
= 0 ;
9721 PyObject
* obj2
= 0 ;
9723 (char *) "self",(char *) "name",(char *) "type", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9730 arg2
= wxString_in_helper(obj1
);
9731 if (arg2
== NULL
) SWIG_fail
;
9734 arg3
= (int) SWIG_AsInt(obj2
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9760 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxImage
*arg1
= (wxImage
*) 0 ;
9763 wxString
*arg2
= 0 ;
9764 wxString
*arg3
= 0 ;
9766 bool temp2
= False
;
9767 bool temp3
= False
;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 PyObject
* obj2
= 0 ;
9772 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9779 arg2
= wxString_in_helper(obj1
);
9780 if (arg2
== NULL
) SWIG_fail
;
9784 arg3
= wxString_in_helper(obj2
);
9785 if (arg3
== NULL
) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9820 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
;
9822 wxInputStream
*arg1
= 0 ;
9824 wxPyInputStream
*temp1
;
9826 PyObject
* obj0
= 0 ;
9828 (char *) "stream", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9833 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9834 arg1
= temp1
->m_wxis
;
9837 PyErr_Clear(); // clear the failure of the wxPyConvert above
9838 arg1
= wxPyCBInputStream_create(obj0
, False
);
9840 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (bool)wxImage::CanRead(*arg1
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9870 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
*resultobj
;
9872 wxImage
*arg1
= (wxImage
*) 0 ;
9873 wxInputStream
*arg2
= 0 ;
9874 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9875 int arg4
= (int) -1 ;
9877 wxPyInputStream
*temp2
;
9879 PyObject
* obj0
= 0 ;
9880 PyObject
* obj1
= 0 ;
9881 PyObject
* obj2
= 0 ;
9882 PyObject
* obj3
= 0 ;
9884 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9891 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9892 arg2
= temp2
->m_wxis
;
9895 PyErr_Clear(); // clear the failure of the wxPyConvert above
9896 arg2
= wxPyCBInputStream_create(obj1
, False
);
9898 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9905 arg3
= (long) SWIG_AsLong(obj2
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9909 arg4
= (int) SWIG_AsInt(obj3
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9936 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
;
9938 wxImage
*arg1
= (wxImage
*) 0 ;
9939 wxInputStream
*arg2
= 0 ;
9940 wxString
*arg3
= 0 ;
9941 int arg4
= (int) -1 ;
9943 wxPyInputStream
*temp2
;
9945 bool temp3
= False
;
9946 PyObject
* obj0
= 0 ;
9947 PyObject
* obj1
= 0 ;
9948 PyObject
* obj2
= 0 ;
9949 PyObject
* obj3
= 0 ;
9951 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9958 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9959 arg2
= temp2
->m_wxis
;
9962 PyErr_Clear(); // clear the failure of the wxPyConvert above
9963 arg2
= wxPyCBInputStream_create(obj1
, False
);
9965 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9972 arg3
= wxString_in_helper(obj2
);
9973 if (arg3
== NULL
) SWIG_fail
;
9977 arg4
= (int) SWIG_AsInt(obj3
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10012 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10013 PyObject
*resultobj
;
10014 wxImage
*arg1
= (wxImage
*) 0 ;
10016 PyObject
* obj0
= 0 ;
10017 char *kwnames
[] = {
10018 (char *) "self", NULL
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= (bool)(arg1
)->Ok();
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10040 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
*resultobj
;
10042 wxImage
*arg1
= (wxImage
*) 0 ;
10044 PyObject
* obj0
= 0 ;
10045 char *kwnames
[] = {
10046 (char *) "self", NULL
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 result
= (int)(arg1
)->GetWidth();
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 resultobj
= SWIG_FromInt((int)result
);
10066 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
*resultobj
;
10068 wxImage
*arg1
= (wxImage
*) 0 ;
10070 PyObject
* obj0
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "self", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 result
= (int)(arg1
)->GetHeight();
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10085 resultobj
= SWIG_FromInt((int)result
);
10092 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10093 PyObject
*resultobj
;
10094 wxImage
*arg1
= (wxImage
*) 0 ;
10096 PyObject
* obj0
= 0 ;
10097 char *kwnames
[] = {
10098 (char *) "self", NULL
10101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 result
= wxImage_GetSize(arg1
);
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10112 wxSize
* resultptr
;
10113 resultptr
= new wxSize((wxSize
&) result
);
10114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10122 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
;
10124 wxImage
*arg1
= (wxImage
*) 0 ;
10126 SwigValueWrapper
< wxImage
> result
;
10128 PyObject
* obj0
= 0 ;
10129 PyObject
* obj1
= 0 ;
10130 char *kwnames
[] = {
10131 (char *) "self",(char *) "rect", NULL
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10139 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10145 wxPyEndAllowThreads(__tstate
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10149 wxImage
* resultptr
;
10150 resultptr
= new wxImage((wxImage
&) result
);
10151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10159 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10161 wxImage
*arg1
= (wxImage
*) 0 ;
10162 SwigValueWrapper
< wxImage
> result
;
10163 PyObject
* obj0
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "self", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 result
= (arg1
)->Copy();
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10179 wxImage
* resultptr
;
10180 resultptr
= new wxImage((wxImage
&) result
);
10181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10189 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
;
10191 wxImage
*arg1
= (wxImage
*) 0 ;
10192 wxImage
*arg2
= 0 ;
10195 PyObject
* obj0
= 0 ;
10196 PyObject
* obj1
= 0 ;
10197 PyObject
* obj2
= 0 ;
10198 PyObject
* obj3
= 0 ;
10199 char *kwnames
[] = {
10200 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10209 if (arg2
== NULL
) {
10210 PyErr_SetString(PyExc_TypeError
,"null reference");
10213 arg3
= (int) SWIG_AsInt(obj2
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10215 arg4
= (int) SWIG_AsInt(obj3
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10224 Py_INCREF(Py_None
); resultobj
= Py_None
;
10231 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
*resultobj
;
10233 wxImage
*arg1
= (wxImage
*) 0 ;
10235 PyObject
* obj0
= 0 ;
10236 char *kwnames
[] = {
10237 (char *) "self", NULL
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 result
= (PyObject
*)wxImage_GetData(arg1
);
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) SWIG_fail
;
10250 resultobj
= result
;
10257 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10258 PyObject
*resultobj
;
10259 wxImage
*arg1
= (wxImage
*) 0 ;
10260 PyObject
*arg2
= (PyObject
*) 0 ;
10261 PyObject
* obj0
= 0 ;
10262 PyObject
* obj1
= 0 ;
10263 char *kwnames
[] = {
10264 (char *) "self",(char *) "data", NULL
10267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 wxImage_SetData(arg1
,arg2
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10278 Py_INCREF(Py_None
); resultobj
= Py_None
;
10285 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
;
10287 wxImage
*arg1
= (wxImage
*) 0 ;
10289 PyObject
* obj0
= 0 ;
10290 char *kwnames
[] = {
10291 (char *) "self", NULL
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 resultobj
= result
;
10311 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
*resultobj
;
10313 wxImage
*arg1
= (wxImage
*) 0 ;
10314 PyObject
*arg2
= (PyObject
*) 0 ;
10315 PyObject
* obj0
= 0 ;
10316 PyObject
* obj1
= 0 ;
10317 char *kwnames
[] = {
10318 (char *) "self",(char *) "data", NULL
10321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 wxImage_SetDataBuffer(arg1
,arg2
);
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 Py_INCREF(Py_None
); resultobj
= Py_None
;
10339 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxImage
*arg1
= (wxImage
*) 0 ;
10343 PyObject
* obj0
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "self", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= result
;
10365 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxImage
*arg1
= (wxImage
*) 0 ;
10368 PyObject
*arg2
= (PyObject
*) 0 ;
10369 PyObject
* obj0
= 0 ;
10370 PyObject
* obj1
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "self",(char *) "data", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 wxImage_SetAlphaData(arg1
,arg2
);
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 Py_INCREF(Py_None
); resultobj
= Py_None
;
10393 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
;
10395 wxImage
*arg1
= (wxImage
*) 0 ;
10397 PyObject
* obj0
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= result
;
10419 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
*resultobj
;
10421 wxImage
*arg1
= (wxImage
*) 0 ;
10422 PyObject
*arg2
= (PyObject
*) 0 ;
10423 PyObject
* obj0
= 0 ;
10424 PyObject
* obj1
= 0 ;
10425 char *kwnames
[] = {
10426 (char *) "self",(char *) "data", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 wxImage_SetAlphaBuffer(arg1
,arg2
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 Py_INCREF(Py_None
); resultobj
= Py_None
;
10447 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
;
10449 wxImage
*arg1
= (wxImage
*) 0 ;
10450 unsigned char arg2
;
10451 unsigned char arg3
;
10452 unsigned char arg4
;
10453 PyObject
* obj0
= 0 ;
10454 PyObject
* obj1
= 0 ;
10455 PyObject
* obj2
= 0 ;
10456 PyObject
* obj3
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10464 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10466 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10468 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 Py_INCREF(Py_None
); resultobj
= Py_None
;
10484 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
;
10486 wxImage
*arg1
= (wxImage
*) 0 ;
10487 unsigned char result
;
10488 PyObject
* obj0
= 0 ;
10489 char *kwnames
[] = {
10490 (char *) "self", NULL
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 result
= (unsigned char)(arg1
)->GetMaskRed();
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10503 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10510 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
*resultobj
;
10512 wxImage
*arg1
= (wxImage
*) 0 ;
10513 unsigned char result
;
10514 PyObject
* obj0
= 0 ;
10515 char *kwnames
[] = {
10516 (char *) "self", NULL
10519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 result
= (unsigned char)(arg1
)->GetMaskGreen();
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10536 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxImage
*arg1
= (wxImage
*) 0 ;
10539 unsigned char result
;
10540 PyObject
* obj0
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "self", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 result
= (unsigned char)(arg1
)->GetMaskBlue();
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10562 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxImage
*arg1
= (wxImage
*) 0 ;
10565 bool arg2
= (bool) True
;
10566 PyObject
* obj0
= 0 ;
10567 PyObject
* obj1
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "self",(char *) "mask", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10576 arg2
= (bool) SWIG_AsBool(obj1
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 (arg1
)->SetMask(arg2
);
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 Py_INCREF(Py_None
); resultobj
= Py_None
;
10593 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxImage
*arg1
= (wxImage
*) 0 ;
10597 PyObject
* obj0
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= (bool)(arg1
)->HasMask();
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10621 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
;
10623 wxImage
*arg1
= (wxImage
*) 0 ;
10625 wxPoint
*arg3
= 0 ;
10626 bool arg4
= (bool) True
;
10627 wxPoint
*arg5
= (wxPoint
*) NULL
;
10628 SwigValueWrapper
< wxImage
> result
;
10630 PyObject
* obj0
= 0 ;
10631 PyObject
* obj1
= 0 ;
10632 PyObject
* obj2
= 0 ;
10633 PyObject
* obj3
= 0 ;
10634 PyObject
* obj4
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10642 arg2
= (double) SWIG_AsDouble(obj1
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10646 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10649 arg4
= (bool) SWIG_AsBool(obj3
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10653 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10664 wxImage
* resultptr
;
10665 resultptr
= new wxImage((wxImage
&) result
);
10666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10674 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 wxImage
*arg1
= (wxImage
*) 0 ;
10677 bool arg2
= (bool) True
;
10678 SwigValueWrapper
< wxImage
> result
;
10679 PyObject
* obj0
= 0 ;
10680 PyObject
* obj1
= 0 ;
10681 char *kwnames
[] = {
10682 (char *) "self",(char *) "clockwise", NULL
10685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10689 arg2
= (bool) SWIG_AsBool(obj1
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 result
= (arg1
)->Rotate90(arg2
);
10696 wxPyEndAllowThreads(__tstate
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10700 wxImage
* resultptr
;
10701 resultptr
= new wxImage((wxImage
&) result
);
10702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10710 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10711 PyObject
*resultobj
;
10712 wxImage
*arg1
= (wxImage
*) 0 ;
10713 bool arg2
= (bool) True
;
10714 SwigValueWrapper
< wxImage
> result
;
10715 PyObject
* obj0
= 0 ;
10716 PyObject
* obj1
= 0 ;
10717 char *kwnames
[] = {
10718 (char *) "self",(char *) "horizontally", NULL
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10725 arg2
= (bool) SWIG_AsBool(obj1
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 result
= (arg1
)->Mirror(arg2
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10736 wxImage
* resultptr
;
10737 resultptr
= new wxImage((wxImage
&) result
);
10738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10746 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
*resultobj
;
10748 wxImage
*arg1
= (wxImage
*) 0 ;
10749 unsigned char arg2
;
10750 unsigned char arg3
;
10751 unsigned char arg4
;
10752 unsigned char arg5
;
10753 unsigned char arg6
;
10754 unsigned char arg7
;
10755 PyObject
* obj0
= 0 ;
10756 PyObject
* obj1
= 0 ;
10757 PyObject
* obj2
= 0 ;
10758 PyObject
* obj3
= 0 ;
10759 PyObject
* obj4
= 0 ;
10760 PyObject
* obj5
= 0 ;
10761 PyObject
* obj6
= 0 ;
10762 char *kwnames
[] = {
10763 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10769 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10771 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10773 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10775 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10777 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10779 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 Py_INCREF(Py_None
); resultobj
= Py_None
;
10795 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
;
10797 wxImage
*arg1
= (wxImage
*) 0 ;
10798 unsigned char arg2
;
10799 unsigned char arg3
;
10800 unsigned char arg4
;
10801 SwigValueWrapper
< wxImage
> result
;
10802 PyObject
* obj0
= 0 ;
10803 PyObject
* obj1
= 0 ;
10804 PyObject
* obj2
= 0 ;
10805 PyObject
* obj3
= 0 ;
10806 char *kwnames
[] = {
10807 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10813 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10815 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10817 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10827 wxImage
* resultptr
;
10828 resultptr
= new wxImage((wxImage
&) result
);
10829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10837 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
;
10839 wxImage
*arg1
= (wxImage
*) 0 ;
10840 wxString
*arg2
= 0 ;
10841 wxString
*arg3
= 0 ;
10842 bool temp2
= False
;
10843 bool temp3
= False
;
10844 PyObject
* obj0
= 0 ;
10845 PyObject
* obj1
= 0 ;
10846 PyObject
* obj2
= 0 ;
10847 char *kwnames
[] = {
10848 (char *) "self",(char *) "name",(char *) "value", NULL
10851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10855 arg2
= wxString_in_helper(obj1
);
10856 if (arg2
== NULL
) SWIG_fail
;
10860 arg3
= wxString_in_helper(obj2
);
10861 if (arg3
== NULL
) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 Py_INCREF(Py_None
); resultobj
= Py_None
;
10894 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10895 PyObject
*resultobj
;
10896 wxImage
*arg1
= (wxImage
*) 0 ;
10897 wxString
*arg2
= 0 ;
10899 bool temp2
= False
;
10900 PyObject
* obj0
= 0 ;
10901 PyObject
* obj1
= 0 ;
10902 PyObject
* obj2
= 0 ;
10903 char *kwnames
[] = {
10904 (char *) "self",(char *) "name",(char *) "value", NULL
10907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10911 arg2
= wxString_in_helper(obj1
);
10912 if (arg2
== NULL
) SWIG_fail
;
10915 arg3
= (int) SWIG_AsInt(obj2
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10924 Py_INCREF(Py_None
); resultobj
= Py_None
;
10939 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
;
10941 wxImage
*arg1
= (wxImage
*) 0 ;
10942 wxString
*arg2
= 0 ;
10944 bool temp2
= False
;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self",(char *) "name", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10955 arg2
= wxString_in_helper(obj1
);
10956 if (arg2
== NULL
) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10987 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
*resultobj
;
10989 wxImage
*arg1
= (wxImage
*) 0 ;
10990 wxString
*arg2
= 0 ;
10992 bool temp2
= False
;
10993 PyObject
* obj0
= 0 ;
10994 PyObject
* obj1
= 0 ;
10995 char *kwnames
[] = {
10996 (char *) "self",(char *) "name", NULL
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11003 arg2
= wxString_in_helper(obj1
);
11004 if (arg2
== NULL
) SWIG_fail
;
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11014 resultobj
= SWIG_FromInt((int)result
);
11029 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11030 PyObject
*resultobj
;
11031 wxImage
*arg1
= (wxImage
*) 0 ;
11032 wxString
*arg2
= 0 ;
11034 bool temp2
= False
;
11035 PyObject
* obj0
= 0 ;
11036 PyObject
* obj1
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self",(char *) "name", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11045 arg2
= wxString_in_helper(obj1
);
11046 if (arg2
== NULL
) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11073 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
;
11075 wxImage
*arg1
= (wxImage
*) 0 ;
11076 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11077 unsigned long result
;
11078 PyObject
* obj0
= 0 ;
11079 PyObject
* obj1
= 0 ;
11080 char *kwnames
[] = {
11081 (char *) "self",(char *) "stopafter", NULL
11084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11088 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11098 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11105 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
;
11107 wxImage
*arg1
= (wxImage
*) 0 ;
11108 wxImageHistogram
*arg2
= 0 ;
11109 unsigned long result
;
11110 PyObject
* obj0
= 0 ;
11111 PyObject
* obj1
= 0 ;
11112 char *kwnames
[] = {
11113 (char *) "self",(char *) "h", NULL
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11122 if (arg2
== NULL
) {
11123 PyErr_SetString(PyExc_TypeError
,"null reference");
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11133 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11140 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11141 PyObject
*resultobj
;
11142 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11143 PyObject
* obj0
= 0 ;
11144 char *kwnames
[] = {
11145 (char *) "handler", NULL
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 wxImage::AddHandler(arg1
);
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11158 Py_INCREF(Py_None
); resultobj
= Py_None
;
11165 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
;
11167 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11168 PyObject
* obj0
= 0 ;
11169 char *kwnames
[] = {
11170 (char *) "handler", NULL
11173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 wxImage::InsertHandler(arg1
);
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11183 Py_INCREF(Py_None
); resultobj
= Py_None
;
11190 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
;
11192 wxString
*arg1
= 0 ;
11194 bool temp1
= False
;
11195 PyObject
* obj0
= 0 ;
11196 char *kwnames
[] = {
11197 (char *) "name", NULL
11200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11202 arg1
= wxString_in_helper(obj0
);
11203 if (arg1
== NULL
) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11230 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11231 PyObject
*resultobj
;
11233 char *kwnames
[] = {
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 result
= wxImage::GetImageExtWildcard();
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11258 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
;
11260 wxImage
*arg1
= (wxImage
*) 0 ;
11262 PyObject
* obj0
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11271 if (!wxPyCheckForApp()) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 result
= wxImage_ConvertToBitmap(arg1
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11279 wxBitmap
* resultptr
;
11280 resultptr
= new wxBitmap((wxBitmap
&) result
);
11281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11289 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
;
11291 wxImage
*arg1
= (wxImage
*) 0 ;
11292 unsigned char arg2
;
11293 unsigned char arg3
;
11294 unsigned char arg4
;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 PyObject
* obj2
= 0 ;
11299 PyObject
* obj3
= 0 ;
11300 char *kwnames
[] = {
11301 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11307 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11309 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11311 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 if (!wxPyCheckForApp()) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11322 wxBitmap
* resultptr
;
11323 resultptr
= new wxBitmap((wxBitmap
&) result
);
11324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11332 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11335 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11337 return Py_BuildValue((char *)"");
11339 static int _wrap_NullImage_set(PyObject
*_val
) {
11340 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11345 static PyObject
*_wrap_NullImage_get() {
11348 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11353 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11354 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11359 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11364 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11366 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11373 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11374 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11379 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11384 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11386 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11393 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11394 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11399 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11404 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11406 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11413 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11414 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11419 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11424 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11426 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11433 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11434 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11439 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11444 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11446 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11453 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
*resultobj
;
11455 wxBMPHandler
*result
;
11456 char *kwnames
[] = {
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 result
= (wxBMPHandler
*)new wxBMPHandler();
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11475 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11478 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11480 return Py_BuildValue((char *)"");
11482 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
;
11484 wxICOHandler
*result
;
11485 char *kwnames
[] = {
11489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 result
= (wxICOHandler
*)new wxICOHandler();
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11504 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11507 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11509 return Py_BuildValue((char *)"");
11511 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
;
11513 wxCURHandler
*result
;
11514 char *kwnames
[] = {
11518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 result
= (wxCURHandler
*)new wxCURHandler();
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11533 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11536 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11538 return Py_BuildValue((char *)"");
11540 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
*resultobj
;
11542 wxANIHandler
*result
;
11543 char *kwnames
[] = {
11547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 result
= (wxANIHandler
*)new wxANIHandler();
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11562 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11565 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11567 return Py_BuildValue((char *)"");
11569 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
;
11571 wxPNGHandler
*result
;
11572 char *kwnames
[] = {
11576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 result
= (wxPNGHandler
*)new wxPNGHandler();
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11591 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11594 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11596 return Py_BuildValue((char *)"");
11598 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
;
11600 wxGIFHandler
*result
;
11601 char *kwnames
[] = {
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11608 result
= (wxGIFHandler
*)new wxGIFHandler();
11610 wxPyEndAllowThreads(__tstate
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11620 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11623 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11625 return Py_BuildValue((char *)"");
11627 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
*resultobj
;
11629 wxPCXHandler
*result
;
11630 char *kwnames
[] = {
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 result
= (wxPCXHandler
*)new wxPCXHandler();
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11649 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11652 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11654 return Py_BuildValue((char *)"");
11656 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11657 PyObject
*resultobj
;
11658 wxJPEGHandler
*result
;
11659 char *kwnames
[] = {
11663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11678 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11681 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11683 return Py_BuildValue((char *)"");
11685 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
;
11687 wxPNMHandler
*result
;
11688 char *kwnames
[] = {
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 result
= (wxPNMHandler
*)new wxPNMHandler();
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11707 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11710 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11712 return Py_BuildValue((char *)"");
11714 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11715 PyObject
*resultobj
;
11716 wxXPMHandler
*result
;
11717 char *kwnames
[] = {
11721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 result
= (wxXPMHandler
*)new wxXPMHandler();
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11736 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11739 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11741 return Py_BuildValue((char *)"");
11743 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
;
11745 wxTIFFHandler
*result
;
11746 char *kwnames
[] = {
11750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11753 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11755 wxPyEndAllowThreads(__tstate
);
11756 if (PyErr_Occurred()) SWIG_fail
;
11758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11765 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11768 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11770 return Py_BuildValue((char *)"");
11772 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11773 PyObject
*resultobj
;
11774 wxEvtHandler
*result
;
11775 char *kwnames
[] = {
11779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= (wxEvtHandler
*)new wxEvtHandler();
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
11794 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11795 PyObject
*resultobj
;
11796 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11797 wxEvtHandler
*result
;
11798 PyObject
* obj0
= 0 ;
11799 char *kwnames
[] = {
11800 (char *) "self", NULL
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= wxPyMake_wxObject(result
, 0);
11822 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
;
11824 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11825 wxEvtHandler
*result
;
11826 PyObject
* obj0
= 0 ;
11827 char *kwnames
[] = {
11828 (char *) "self", NULL
11831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= wxPyMake_wxObject(result
, 0);
11850 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
;
11852 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11853 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11854 PyObject
* obj0
= 0 ;
11855 PyObject
* obj1
= 0 ;
11856 char *kwnames
[] = {
11857 (char *) "self",(char *) "handler", NULL
11860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11863 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 (arg1
)->SetNextHandler(arg2
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 Py_INCREF(Py_None
); resultobj
= Py_None
;
11879 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
*resultobj
;
11881 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11882 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11883 PyObject
* obj0
= 0 ;
11884 PyObject
* obj1
= 0 ;
11885 char *kwnames
[] = {
11886 (char *) "self",(char *) "handler", NULL
11889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 (arg1
)->SetPreviousHandler(arg2
);
11898 wxPyEndAllowThreads(__tstate
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11901 Py_INCREF(Py_None
); resultobj
= Py_None
;
11908 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11909 PyObject
*resultobj
;
11910 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11912 PyObject
* obj0
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "self", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11936 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11937 PyObject
*resultobj
;
11938 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11940 PyObject
* obj0
= 0 ;
11941 PyObject
* obj1
= 0 ;
11942 char *kwnames
[] = {
11943 (char *) "self",(char *) "enabled", NULL
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11949 arg2
= (bool) SWIG_AsBool(obj1
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 (arg1
)->SetEvtHandlerEnabled(arg2
);
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 Py_INCREF(Py_None
); resultobj
= Py_None
;
11965 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11968 wxEvent
*arg2
= 0 ;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self",(char *) "event", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11982 if (arg2
== NULL
) {
11983 PyErr_SetString(PyExc_TypeError
,"null reference");
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12002 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
*resultobj
;
12004 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12005 wxEvent
*arg2
= 0 ;
12006 PyObject
* obj0
= 0 ;
12007 PyObject
* obj1
= 0 ;
12008 char *kwnames
[] = {
12009 (char *) "self",(char *) "event", NULL
12012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12018 if (arg2
== NULL
) {
12019 PyErr_SetString(PyExc_TypeError
,"null reference");
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 (arg1
)->AddPendingEvent(*arg2
);
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12029 Py_INCREF(Py_None
); resultobj
= Py_None
;
12036 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
;
12038 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12039 PyObject
* obj0
= 0 ;
12040 char *kwnames
[] = {
12041 (char *) "self", NULL
12044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 (arg1
)->ProcessPendingEvents();
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12054 Py_INCREF(Py_None
); resultobj
= Py_None
;
12061 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
;
12063 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12067 PyObject
*arg5
= (PyObject
*) 0 ;
12068 PyObject
* obj0
= 0 ;
12069 PyObject
* obj1
= 0 ;
12070 PyObject
* obj2
= 0 ;
12071 PyObject
* obj3
= 0 ;
12072 PyObject
* obj4
= 0 ;
12073 char *kwnames
[] = {
12074 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12080 arg2
= (int) SWIG_AsInt(obj1
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12082 arg3
= (int) SWIG_AsInt(obj2
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12084 arg4
= (int) SWIG_AsInt(obj3
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 Py_INCREF(Py_None
); resultobj
= Py_None
;
12101 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
;
12103 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12105 int arg3
= (int) -1 ;
12106 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12108 PyObject
* obj0
= 0 ;
12109 PyObject
* obj1
= 0 ;
12110 PyObject
* obj2
= 0 ;
12111 PyObject
* obj3
= 0 ;
12112 char *kwnames
[] = {
12113 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12119 arg2
= (int) SWIG_AsInt(obj1
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 arg3
= (int) SWIG_AsInt(obj2
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12126 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12145 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
;
12147 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12148 PyObject
*arg2
= (PyObject
*) 0 ;
12149 PyObject
* obj0
= 0 ;
12150 PyObject
* obj1
= 0 ;
12151 char *kwnames
[] = {
12152 (char *) "self",(char *) "_self", NULL
12155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 wxEvtHandler__setOORInfo(arg1
,arg2
);
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 Py_INCREF(Py_None
); resultobj
= Py_None
;
12173 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12176 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12178 return Py_BuildValue((char *)"");
12180 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12181 PyObject
*resultobj
;
12182 wxEventType result
;
12183 char *kwnames
[] = {
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 result
= (wxEventType
)wxNewEventType();
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= SWIG_FromInt((int)result
);
12202 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
;
12204 wxEvent
*arg1
= (wxEvent
*) 0 ;
12205 PyObject
* obj0
= 0 ;
12206 char *kwnames
[] = {
12207 (char *) "self", NULL
12210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 Py_INCREF(Py_None
); resultobj
= Py_None
;
12227 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12228 PyObject
*resultobj
;
12229 wxEvent
*arg1
= (wxEvent
*) 0 ;
12231 PyObject
* obj0
= 0 ;
12232 PyObject
* obj1
= 0 ;
12233 char *kwnames
[] = {
12234 (char *) "self",(char *) "typ", NULL
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12240 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 (arg1
)->SetEventType(arg2
);
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 Py_INCREF(Py_None
); resultobj
= Py_None
;
12256 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12257 PyObject
*resultobj
;
12258 wxEvent
*arg1
= (wxEvent
*) 0 ;
12259 wxEventType result
;
12260 PyObject
* obj0
= 0 ;
12261 char *kwnames
[] = {
12262 (char *) "self", NULL
12265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= SWIG_FromInt((int)result
);
12282 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxEvent
*arg1
= (wxEvent
*) 0 ;
12286 PyObject
* obj0
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12302 resultobj
= wxPyMake_wxObject(result
, 0);
12310 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxEvent
*arg1
= (wxEvent
*) 0 ;
12313 wxObject
*arg2
= (wxObject
*) 0 ;
12314 PyObject
* obj0
= 0 ;
12315 PyObject
* obj1
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self",(char *) "obj", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 (arg1
)->SetEventObject(arg2
);
12329 wxPyEndAllowThreads(__tstate
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12332 Py_INCREF(Py_None
); resultobj
= Py_None
;
12339 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
;
12341 wxEvent
*arg1
= (wxEvent
*) 0 ;
12343 PyObject
* obj0
= 0 ;
12344 char *kwnames
[] = {
12345 (char *) "self", NULL
12348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 resultobj
= SWIG_FromLong((long)result
);
12365 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
;
12367 wxEvent
*arg1
= (wxEvent
*) 0 ;
12368 long arg2
= (long) 0 ;
12369 PyObject
* obj0
= 0 ;
12370 PyObject
* obj1
= 0 ;
12371 char *kwnames
[] = {
12372 (char *) "self",(char *) "ts", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12379 arg2
= (long) SWIG_AsLong(obj1
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 (arg1
)->SetTimestamp(arg2
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 Py_INCREF(Py_None
); resultobj
= Py_None
;
12396 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
;
12398 wxEvent
*arg1
= (wxEvent
*) 0 ;
12400 PyObject
* obj0
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "self", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 result
= (int)((wxEvent
const *)arg1
)->GetId();
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= SWIG_FromInt((int)result
);
12422 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxEvent
*arg1
= (wxEvent
*) 0 ;
12426 PyObject
* obj0
= 0 ;
12427 PyObject
* obj1
= 0 ;
12428 char *kwnames
[] = {
12429 (char *) "self",(char *) "Id", NULL
12432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12435 arg2
= (int) SWIG_AsInt(obj1
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 (arg1
)->SetId(arg2
);
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12444 Py_INCREF(Py_None
); resultobj
= Py_None
;
12451 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12452 PyObject
*resultobj
;
12453 wxEvent
*arg1
= (wxEvent
*) 0 ;
12455 PyObject
* obj0
= 0 ;
12456 char *kwnames
[] = {
12457 (char *) "self", NULL
12460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12479 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
;
12481 wxEvent
*arg1
= (wxEvent
*) 0 ;
12482 bool arg2
= (bool) True
;
12483 PyObject
* obj0
= 0 ;
12484 PyObject
* obj1
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self",(char *) "skip", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12493 arg2
= (bool) SWIG_AsBool(obj1
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 (arg1
)->Skip(arg2
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 Py_INCREF(Py_None
); resultobj
= Py_None
;
12510 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxEvent
*arg1
= (wxEvent
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12538 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
;
12540 wxEvent
*arg1
= (wxEvent
*) 0 ;
12542 PyObject
* obj0
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "self", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12566 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
;
12568 wxEvent
*arg1
= (wxEvent
*) 0 ;
12570 PyObject
* obj0
= 0 ;
12571 char *kwnames
[] = {
12572 (char *) "self", NULL
12575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 result
= (int)(arg1
)->StopPropagation();
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 resultobj
= SWIG_FromInt((int)result
);
12592 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12593 PyObject
*resultobj
;
12594 wxEvent
*arg1
= (wxEvent
*) 0 ;
12596 PyObject
* obj0
= 0 ;
12597 PyObject
* obj1
= 0 ;
12598 char *kwnames
[] = {
12599 (char *) "self",(char *) "propagationLevel", NULL
12602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12605 arg2
= (int) SWIG_AsInt(obj1
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 (arg1
)->ResumePropagation(arg2
);
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12614 Py_INCREF(Py_None
); resultobj
= Py_None
;
12621 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxEvent
*arg1
= (wxEvent
*) 0 ;
12625 PyObject
* obj0
= 0 ;
12626 char *kwnames
[] = {
12627 (char *) "self", NULL
12630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 result
= (wxEvent
*)(arg1
)->Clone();
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12647 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12650 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12652 return Py_BuildValue((char *)"");
12654 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12655 PyObject
*resultobj
;
12656 wxEvent
*arg1
= 0 ;
12657 wxPropagationDisabler
*result
;
12658 PyObject
* obj0
= 0 ;
12659 char *kwnames
[] = {
12660 (char *) "event", NULL
12663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12667 if (arg1
== NULL
) {
12668 PyErr_SetString(PyExc_TypeError
,"null reference");
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12685 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
;
12687 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12688 PyObject
* obj0
= 0 ;
12689 char *kwnames
[] = {
12690 (char *) "self", NULL
12693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 Py_INCREF(Py_None
); resultobj
= Py_None
;
12710 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12713 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12715 return Py_BuildValue((char *)"");
12717 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxEvent
*arg1
= 0 ;
12720 wxPropagateOnce
*result
;
12721 PyObject
* obj0
= 0 ;
12722 char *kwnames
[] = {
12723 (char *) "event", NULL
12726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12730 if (arg1
== NULL
) {
12731 PyErr_SetString(PyExc_TypeError
,"null reference");
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12748 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12749 PyObject
*resultobj
;
12750 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12751 PyObject
* obj0
= 0 ;
12752 char *kwnames
[] = {
12753 (char *) "self", NULL
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 wxPyEndAllowThreads(__tstate
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12766 Py_INCREF(Py_None
); resultobj
= Py_None
;
12773 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12776 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12778 return Py_BuildValue((char *)"");
12780 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12781 PyObject
*resultobj
;
12782 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12783 int arg2
= (int) 0 ;
12784 wxCommandEvent
*result
;
12785 PyObject
* obj0
= 0 ;
12786 PyObject
* obj1
= 0 ;
12787 char *kwnames
[] = {
12788 (char *) "commandType",(char *) "winid", NULL
12791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12793 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12797 arg2
= (int) SWIG_AsInt(obj1
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12814 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
*resultobj
;
12816 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12818 PyObject
* obj0
= 0 ;
12819 char *kwnames
[] = {
12820 (char *) "self", NULL
12823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= SWIG_FromInt((int)result
);
12840 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
;
12842 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12843 wxString
*arg2
= 0 ;
12844 bool temp2
= False
;
12845 PyObject
* obj0
= 0 ;
12846 PyObject
* obj1
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self",(char *) "s", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12855 arg2
= wxString_in_helper(obj1
);
12856 if (arg2
== NULL
) SWIG_fail
;
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 (arg1
)->SetString((wxString
const &)*arg2
);
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12866 Py_INCREF(Py_None
); resultobj
= Py_None
;
12881 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
;
12883 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12885 PyObject
* obj0
= 0 ;
12886 char *kwnames
[] = {
12887 (char *) "self", NULL
12890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12897 wxPyEndAllowThreads(__tstate
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12902 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12904 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12913 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12914 PyObject
*resultobj
;
12915 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12917 PyObject
* obj0
= 0 ;
12918 char *kwnames
[] = {
12919 (char *) "self", NULL
12922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12941 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
*resultobj
;
12943 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12945 PyObject
* obj0
= 0 ;
12946 char *kwnames
[] = {
12947 (char *) "self", NULL
12950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12969 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12973 PyObject
* obj0
= 0 ;
12974 PyObject
* obj1
= 0 ;
12975 char *kwnames
[] = {
12976 (char *) "self",(char *) "extraLong", NULL
12979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12982 arg2
= (long) SWIG_AsLong(obj1
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 (arg1
)->SetExtraLong(arg2
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 Py_INCREF(Py_None
); resultobj
= Py_None
;
12998 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13002 PyObject
* obj0
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= SWIG_FromLong((long)result
);
13024 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
;
13026 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13028 PyObject
* obj0
= 0 ;
13029 PyObject
* obj1
= 0 ;
13030 char *kwnames
[] = {
13031 (char *) "self",(char *) "i", NULL
13034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13037 arg2
= (int) SWIG_AsInt(obj1
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 (arg1
)->SetInt(arg2
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 Py_INCREF(Py_None
); resultobj
= Py_None
;
13053 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
;
13055 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13057 PyObject
* obj0
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13072 resultobj
= SWIG_FromLong((long)result
);
13079 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
;
13081 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13083 PyObject
* obj0
= 0 ;
13084 char *kwnames
[] = {
13085 (char *) "self", NULL
13088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13093 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13105 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13108 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13110 return Py_BuildValue((char *)"");
13112 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
;
13114 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13115 int arg2
= (int) 0 ;
13116 wxNotifyEvent
*result
;
13117 PyObject
* obj0
= 0 ;
13118 PyObject
* obj1
= 0 ;
13119 char *kwnames
[] = {
13120 (char *) "commandType",(char *) "winid", NULL
13123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13125 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13129 arg2
= (int) SWIG_AsInt(obj1
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13146 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13147 PyObject
*resultobj
;
13148 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13149 PyObject
* obj0
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 Py_INCREF(Py_None
); resultobj
= Py_None
;
13171 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13174 PyObject
* obj0
= 0 ;
13175 char *kwnames
[] = {
13176 (char *) "self", NULL
13179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 Py_INCREF(Py_None
); resultobj
= Py_None
;
13196 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13197 PyObject
*resultobj
;
13198 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13200 PyObject
* obj0
= 0 ;
13201 char *kwnames
[] = {
13202 (char *) "self", NULL
13205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= (bool)(arg1
)->IsAllowed();
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13224 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13227 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13229 return Py_BuildValue((char *)"");
13231 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
;
13233 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13234 int arg2
= (int) 0 ;
13235 int arg3
= (int) 0 ;
13236 int arg4
= (int) 0 ;
13237 wxScrollEvent
*result
;
13238 PyObject
* obj0
= 0 ;
13239 PyObject
* obj1
= 0 ;
13240 PyObject
* obj2
= 0 ;
13241 PyObject
* obj3
= 0 ;
13242 char *kwnames
[] = {
13243 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13248 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13252 arg2
= (int) SWIG_AsInt(obj1
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13256 arg3
= (int) SWIG_AsInt(obj2
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13260 arg4
= (int) SWIG_AsInt(obj3
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13277 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
;
13279 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13281 PyObject
* obj0
= 0 ;
13282 char *kwnames
[] = {
13283 (char *) "self", NULL
13286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 resultobj
= SWIG_FromInt((int)result
);
13303 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13307 PyObject
* obj0
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= SWIG_FromInt((int)result
);
13329 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
;
13331 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13333 PyObject
* obj0
= 0 ;
13334 PyObject
* obj1
= 0 ;
13335 char *kwnames
[] = {
13336 (char *) "self",(char *) "orient", NULL
13339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13342 arg2
= (int) SWIG_AsInt(obj1
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 (arg1
)->SetOrientation(arg2
);
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 Py_INCREF(Py_None
); resultobj
= Py_None
;
13358 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13362 PyObject
* obj0
= 0 ;
13363 PyObject
* obj1
= 0 ;
13364 char *kwnames
[] = {
13365 (char *) "self",(char *) "pos", NULL
13368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13371 arg2
= (int) SWIG_AsInt(obj1
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 (arg1
)->SetPosition(arg2
);
13377 wxPyEndAllowThreads(__tstate
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13380 Py_INCREF(Py_None
); resultobj
= Py_None
;
13387 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13390 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13392 return Py_BuildValue((char *)"");
13394 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13397 int arg2
= (int) 0 ;
13398 int arg3
= (int) 0 ;
13399 wxScrollWinEvent
*result
;
13400 PyObject
* obj0
= 0 ;
13401 PyObject
* obj1
= 0 ;
13402 PyObject
* obj2
= 0 ;
13403 char *kwnames
[] = {
13404 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13409 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13413 arg2
= (int) SWIG_AsInt(obj1
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13417 arg3
= (int) SWIG_AsInt(obj2
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13434 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13435 PyObject
*resultobj
;
13436 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13438 PyObject
* obj0
= 0 ;
13439 char *kwnames
[] = {
13440 (char *) "self", NULL
13443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= SWIG_FromInt((int)result
);
13460 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13464 PyObject
* obj0
= 0 ;
13465 char *kwnames
[] = {
13466 (char *) "self", NULL
13469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= SWIG_FromInt((int)result
);
13486 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
;
13488 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13490 PyObject
* obj0
= 0 ;
13491 PyObject
* obj1
= 0 ;
13492 char *kwnames
[] = {
13493 (char *) "self",(char *) "orient", NULL
13496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13499 arg2
= (int) SWIG_AsInt(obj1
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 (arg1
)->SetOrientation(arg2
);
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13508 Py_INCREF(Py_None
); resultobj
= Py_None
;
13515 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13516 PyObject
*resultobj
;
13517 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13519 PyObject
* obj0
= 0 ;
13520 PyObject
* obj1
= 0 ;
13521 char *kwnames
[] = {
13522 (char *) "self",(char *) "pos", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13528 arg2
= (int) SWIG_AsInt(obj1
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 (arg1
)->SetPosition(arg2
);
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 Py_INCREF(Py_None
); resultobj
= Py_None
;
13544 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13547 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13549 return Py_BuildValue((char *)"");
13551 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
;
13553 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13554 wxMouseEvent
*result
;
13555 PyObject
* obj0
= 0 ;
13556 char *kwnames
[] = {
13557 (char *) "mouseType", NULL
13560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13562 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13573 resultobj
= wxPyMake_wxObject(result
, 1);
13581 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
;
13583 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13585 PyObject
* obj0
= 0 ;
13586 char *kwnames
[] = {
13587 (char *) "self", NULL
13590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13595 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13609 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
;
13611 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13612 int arg2
= (int) wxMOUSE_BTN_ANY
;
13614 PyObject
* obj0
= 0 ;
13615 PyObject
* obj1
= 0 ;
13616 char *kwnames
[] = {
13617 (char *) "self",(char *) "but", NULL
13620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13624 arg2
= (int) SWIG_AsInt(obj1
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13631 wxPyEndAllowThreads(__tstate
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13643 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13644 PyObject
*resultobj
;
13645 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13646 int arg2
= (int) wxMOUSE_BTN_ANY
;
13648 PyObject
* obj0
= 0 ;
13649 PyObject
* obj1
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "self",(char *) "but", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13658 arg2
= (int) SWIG_AsInt(obj1
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13677 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
;
13679 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13680 int arg2
= (int) wxMOUSE_BTN_ANY
;
13682 PyObject
* obj0
= 0 ;
13683 PyObject
* obj1
= 0 ;
13684 char *kwnames
[] = {
13685 (char *) "self",(char *) "but", NULL
13688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13692 arg2
= (int) SWIG_AsInt(obj1
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13711 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13712 PyObject
*resultobj
;
13713 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13716 PyObject
* obj0
= 0 ;
13717 PyObject
* obj1
= 0 ;
13718 char *kwnames
[] = {
13719 (char *) "self",(char *) "but", NULL
13722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13725 arg2
= (int) SWIG_AsInt(obj1
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13729 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13731 wxPyEndAllowThreads(__tstate
);
13732 if (PyErr_Occurred()) SWIG_fail
;
13735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13743 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13744 PyObject
*resultobj
;
13745 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13748 PyObject
* obj0
= 0 ;
13749 PyObject
* obj1
= 0 ;
13750 char *kwnames
[] = {
13751 (char *) "self",(char *) "but", NULL
13754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13757 arg2
= (int) SWIG_AsInt(obj1
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13763 wxPyEndAllowThreads(__tstate
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13775 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
;
13777 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13779 PyObject
* obj0
= 0 ;
13780 char *kwnames
[] = {
13781 (char *) "self", NULL
13784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= SWIG_FromInt((int)result
);
13801 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
;
13803 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13805 PyObject
* obj0
= 0 ;
13806 char *kwnames
[] = {
13807 (char *) "self", NULL
13810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13829 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13830 PyObject
*resultobj
;
13831 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13833 PyObject
* obj0
= 0 ;
13834 char *kwnames
[] = {
13835 (char *) "self", NULL
13838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13857 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13858 PyObject
*resultobj
;
13859 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13861 PyObject
* obj0
= 0 ;
13862 char *kwnames
[] = {
13863 (char *) "self", NULL
13866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13885 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
;
13887 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13889 PyObject
* obj0
= 0 ;
13890 char *kwnames
[] = {
13891 (char *) "self", NULL
13894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13913 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13914 PyObject
*resultobj
;
13915 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13917 PyObject
* obj0
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "self", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
13923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13941 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13942 PyObject
*resultobj
;
13943 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13945 PyObject
* obj0
= 0 ;
13946 char *kwnames
[] = {
13947 (char *) "self", NULL
13950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13969 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
;
13971 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13973 PyObject
* obj0
= 0 ;
13974 char *kwnames
[] = {
13975 (char *) "self", NULL
13978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13997 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13998 PyObject
*resultobj
;
13999 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14001 PyObject
* obj0
= 0 ;
14002 char *kwnames
[] = {
14003 (char *) "self", NULL
14006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14025 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14026 PyObject
*resultobj
;
14027 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14029 PyObject
* obj0
= 0 ;
14030 char *kwnames
[] = {
14031 (char *) "self", NULL
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14053 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14057 PyObject
* obj0
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14081 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14082 PyObject
*resultobj
;
14083 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14085 PyObject
* obj0
= 0 ;
14086 char *kwnames
[] = {
14087 (char *) "self", NULL
14090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14109 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14110 PyObject
*resultobj
;
14111 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14113 PyObject
* obj0
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14137 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14138 PyObject
*resultobj
;
14139 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14141 PyObject
* obj0
= 0 ;
14142 char *kwnames
[] = {
14143 (char *) "self", NULL
14146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14165 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14166 PyObject
*resultobj
;
14167 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14169 PyObject
* obj0
= 0 ;
14170 char *kwnames
[] = {
14171 (char *) "self", NULL
14174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14181 wxPyEndAllowThreads(__tstate
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14193 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14197 PyObject
* obj0
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "self", NULL
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= (bool)(arg1
)->LeftIsDown();
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14221 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14222 PyObject
*resultobj
;
14223 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14225 PyObject
* obj0
= 0 ;
14226 char *kwnames
[] = {
14227 (char *) "self", NULL
14230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (bool)(arg1
)->MiddleIsDown();
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14249 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
;
14251 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14253 PyObject
* obj0
= 0 ;
14254 char *kwnames
[] = {
14255 (char *) "self", NULL
14258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= (bool)(arg1
)->RightIsDown();
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14277 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
;
14279 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14281 PyObject
* obj0
= 0 ;
14282 char *kwnames
[] = {
14283 (char *) "self", NULL
14286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14305 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14306 PyObject
*resultobj
;
14307 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14309 PyObject
* obj0
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "self", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14333 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
;
14335 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14337 PyObject
* obj0
= 0 ;
14338 char *kwnames
[] = {
14339 (char *) "self", NULL
14342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14349 wxPyEndAllowThreads(__tstate
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14361 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14362 PyObject
*resultobj
;
14363 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14365 PyObject
* obj0
= 0 ;
14366 char *kwnames
[] = {
14367 (char *) "self", NULL
14370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14389 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14390 PyObject
*resultobj
;
14391 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14393 PyObject
* obj0
= 0 ;
14394 char *kwnames
[] = {
14395 (char *) "self", NULL
14398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 result
= (arg1
)->GetPosition();
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14409 wxPoint
* resultptr
;
14410 resultptr
= new wxPoint((wxPoint
&) result
);
14411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14419 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14420 PyObject
*resultobj
;
14421 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14422 long *arg2
= (long *) 0 ;
14423 long *arg3
= (long *) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 char *kwnames
[] = {
14428 (char *) "self", NULL
14433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 (arg1
)->GetPosition(arg2
,arg3
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 Py_INCREF(Py_None
); resultobj
= Py_None
;
14445 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14446 resultobj
= t_output_helper(resultobj
,o
);
14449 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14450 resultobj
= t_output_helper(resultobj
,o
);
14458 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
;
14460 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14463 PyObject
* obj0
= 0 ;
14464 PyObject
* obj1
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "self",(char *) "dc", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14475 if (arg2
== NULL
) {
14476 PyErr_SetString(PyExc_TypeError
,"null reference");
14480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14483 wxPyEndAllowThreads(__tstate
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14487 wxPoint
* resultptr
;
14488 resultptr
= new wxPoint((wxPoint
&) result
);
14489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14497 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
;
14499 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14501 PyObject
* obj0
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= SWIG_FromInt((int)result
);
14523 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
;
14525 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14527 PyObject
* obj0
= 0 ;
14528 char *kwnames
[] = {
14529 (char *) "self", NULL
14532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14537 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14539 wxPyEndAllowThreads(__tstate
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14542 resultobj
= SWIG_FromInt((int)result
);
14549 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14550 PyObject
*resultobj
;
14551 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14553 PyObject
* obj0
= 0 ;
14554 char *kwnames
[] = {
14555 (char *) "self", NULL
14558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14565 wxPyEndAllowThreads(__tstate
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= SWIG_FromInt((int)result
);
14575 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14579 PyObject
* obj0
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= SWIG_FromInt((int)result
);
14601 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
;
14603 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14605 PyObject
* obj0
= 0 ;
14606 char *kwnames
[] = {
14607 (char *) "self", NULL
14610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14615 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= SWIG_FromInt((int)result
);
14627 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14631 PyObject
* obj0
= 0 ;
14632 char *kwnames
[] = {
14633 (char *) "self", NULL
14636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14655 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14656 PyObject
*resultobj
;
14657 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14659 PyObject
* obj0
= 0 ;
14660 PyObject
* obj1
= 0 ;
14661 char *kwnames
[] = {
14662 (char *) "self",(char *) "m_x", NULL
14665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14668 arg2
= (int) SWIG_AsInt(obj1
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14670 if (arg1
) (arg1
)->m_x
= arg2
;
14672 Py_INCREF(Py_None
); resultobj
= Py_None
;
14679 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "self", NULL
14688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14691 result
= (int) ((arg1
)->m_x
);
14693 resultobj
= SWIG_FromInt((int)result
);
14700 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14704 PyObject
* obj0
= 0 ;
14705 PyObject
* obj1
= 0 ;
14706 char *kwnames
[] = {
14707 (char *) "self",(char *) "m_y", NULL
14710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14713 arg2
= (int) SWIG_AsInt(obj1
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14715 if (arg1
) (arg1
)->m_y
= arg2
;
14717 Py_INCREF(Py_None
); resultobj
= Py_None
;
14724 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
;
14726 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14728 PyObject
* obj0
= 0 ;
14729 char *kwnames
[] = {
14730 (char *) "self", NULL
14733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14736 result
= (int) ((arg1
)->m_y
);
14738 resultobj
= SWIG_FromInt((int)result
);
14745 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
;
14747 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14749 PyObject
* obj0
= 0 ;
14750 PyObject
* obj1
= 0 ;
14751 char *kwnames
[] = {
14752 (char *) "self",(char *) "m_leftDown", NULL
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14758 arg2
= (bool) SWIG_AsBool(obj1
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14760 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14762 Py_INCREF(Py_None
); resultobj
= Py_None
;
14769 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14770 PyObject
*resultobj
;
14771 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14773 PyObject
* obj0
= 0 ;
14774 char *kwnames
[] = {
14775 (char *) "self", NULL
14778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14781 result
= (bool) ((arg1
)->m_leftDown
);
14784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14792 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14796 PyObject
* obj0
= 0 ;
14797 PyObject
* obj1
= 0 ;
14798 char *kwnames
[] = {
14799 (char *) "self",(char *) "m_middleDown", NULL
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14805 arg2
= (bool) SWIG_AsBool(obj1
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14807 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14809 Py_INCREF(Py_None
); resultobj
= Py_None
;
14816 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
;
14818 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "self", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14828 result
= (bool) ((arg1
)->m_middleDown
);
14831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14839 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 PyObject
* obj1
= 0 ;
14845 char *kwnames
[] = {
14846 (char *) "self",(char *) "m_rightDown", NULL
14849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14852 arg2
= (bool) SWIG_AsBool(obj1
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14854 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14856 Py_INCREF(Py_None
); resultobj
= Py_None
;
14863 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14867 PyObject
* obj0
= 0 ;
14868 char *kwnames
[] = {
14869 (char *) "self", NULL
14872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14875 result
= (bool) ((arg1
)->m_rightDown
);
14878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14886 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14890 PyObject
* obj0
= 0 ;
14891 PyObject
* obj1
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self",(char *) "m_controlDown", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14899 arg2
= (bool) SWIG_AsBool(obj1
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14901 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14903 Py_INCREF(Py_None
); resultobj
= Py_None
;
14910 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14911 PyObject
*resultobj
;
14912 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14914 PyObject
* obj0
= 0 ;
14915 char *kwnames
[] = {
14916 (char *) "self", NULL
14919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14922 result
= (bool) ((arg1
)->m_controlDown
);
14925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14933 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14937 PyObject
* obj0
= 0 ;
14938 PyObject
* obj1
= 0 ;
14939 char *kwnames
[] = {
14940 (char *) "self",(char *) "m_shiftDown", NULL
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14946 arg2
= (bool) SWIG_AsBool(obj1
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14948 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14950 Py_INCREF(Py_None
); resultobj
= Py_None
;
14957 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
;
14959 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14961 PyObject
* obj0
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14969 result
= (bool) ((arg1
)->m_shiftDown
);
14972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14980 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14981 PyObject
*resultobj
;
14982 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14984 PyObject
* obj0
= 0 ;
14985 PyObject
* obj1
= 0 ;
14986 char *kwnames
[] = {
14987 (char *) "self",(char *) "m_altDown", NULL
14990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14993 arg2
= (bool) SWIG_AsBool(obj1
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14995 if (arg1
) (arg1
)->m_altDown
= arg2
;
14997 Py_INCREF(Py_None
); resultobj
= Py_None
;
15004 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
;
15006 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15008 PyObject
* obj0
= 0 ;
15009 char *kwnames
[] = {
15010 (char *) "self", NULL
15013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15016 result
= (bool) ((arg1
)->m_altDown
);
15019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15027 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
;
15029 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 PyObject
* obj1
= 0 ;
15033 char *kwnames
[] = {
15034 (char *) "self",(char *) "m_metaDown", NULL
15037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15040 arg2
= (bool) SWIG_AsBool(obj1
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15042 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15044 Py_INCREF(Py_None
); resultobj
= Py_None
;
15051 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15055 PyObject
* obj0
= 0 ;
15056 char *kwnames
[] = {
15057 (char *) "self", NULL
15060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15063 result
= (bool) ((arg1
)->m_metaDown
);
15066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15074 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15075 PyObject
*resultobj
;
15076 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15078 PyObject
* obj0
= 0 ;
15079 PyObject
* obj1
= 0 ;
15080 char *kwnames
[] = {
15081 (char *) "self",(char *) "m_wheelRotation", NULL
15084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15087 arg2
= (int) SWIG_AsInt(obj1
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15089 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15091 Py_INCREF(Py_None
); resultobj
= Py_None
;
15098 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
;
15100 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15102 PyObject
* obj0
= 0 ;
15103 char *kwnames
[] = {
15104 (char *) "self", NULL
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15110 result
= (int) ((arg1
)->m_wheelRotation
);
15112 resultobj
= SWIG_FromInt((int)result
);
15119 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
;
15121 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15123 PyObject
* obj0
= 0 ;
15124 PyObject
* obj1
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self",(char *) "m_wheelDelta", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15132 arg2
= (int) SWIG_AsInt(obj1
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15134 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15136 Py_INCREF(Py_None
); resultobj
= Py_None
;
15143 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
;
15145 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15147 PyObject
* obj0
= 0 ;
15148 char *kwnames
[] = {
15149 (char *) "self", NULL
15152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15155 result
= (int) ((arg1
)->m_wheelDelta
);
15157 resultobj
= SWIG_FromInt((int)result
);
15164 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15165 PyObject
*resultobj
;
15166 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15168 PyObject
* obj0
= 0 ;
15169 PyObject
* obj1
= 0 ;
15170 char *kwnames
[] = {
15171 (char *) "self",(char *) "m_linesPerAction", NULL
15174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15177 arg2
= (int) SWIG_AsInt(obj1
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15179 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15181 Py_INCREF(Py_None
); resultobj
= Py_None
;
15188 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
;
15190 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15192 PyObject
* obj0
= 0 ;
15193 char *kwnames
[] = {
15194 (char *) "self", NULL
15197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15200 result
= (int) ((arg1
)->m_linesPerAction
);
15202 resultobj
= SWIG_FromInt((int)result
);
15209 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15212 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15214 return Py_BuildValue((char *)"");
15216 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 int arg1
= (int) 0 ;
15219 int arg2
= (int) 0 ;
15220 wxSetCursorEvent
*result
;
15221 PyObject
* obj0
= 0 ;
15222 PyObject
* obj1
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "x",(char *) "y", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15229 arg1
= (int) SWIG_AsInt(obj0
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15233 arg2
= (int) SWIG_AsInt(obj1
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15250 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
;
15252 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "self", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 resultobj
= SWIG_FromInt((int)result
);
15276 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
;
15278 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15280 PyObject
* obj0
= 0 ;
15281 char *kwnames
[] = {
15282 (char *) "self", NULL
15285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 resultobj
= SWIG_FromInt((int)result
);
15302 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15305 wxCursor
*arg2
= 0 ;
15306 PyObject
* obj0
= 0 ;
15307 PyObject
* obj1
= 0 ;
15308 char *kwnames
[] = {
15309 (char *) "self",(char *) "cursor", NULL
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15318 if (arg2
== NULL
) {
15319 PyErr_SetString(PyExc_TypeError
,"null reference");
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15329 Py_INCREF(Py_None
); resultobj
= Py_None
;
15336 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15352 result
= (wxCursor
*) &_result_ref
;
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15359 wxCursor
* resultptr
= new wxCursor(*result
);
15360 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15368 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15369 PyObject
*resultobj
;
15370 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15372 PyObject
* obj0
= 0 ;
15373 char *kwnames
[] = {
15374 (char *) "self", NULL
15377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15382 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15396 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15399 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15401 return Py_BuildValue((char *)"");
15403 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15406 wxKeyEvent
*result
;
15407 PyObject
* obj0
= 0 ;
15408 char *kwnames
[] = {
15409 (char *) "keyType", NULL
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15414 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15431 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15459 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
;
15461 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15463 PyObject
* obj0
= 0 ;
15464 char *kwnames
[] = {
15465 (char *) "self", NULL
15468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15487 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
;
15489 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15491 PyObject
* obj0
= 0 ;
15492 char *kwnames
[] = {
15493 (char *) "self", NULL
15496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15503 wxPyEndAllowThreads(__tstate
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15515 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
;
15517 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15519 PyObject
* obj0
= 0 ;
15520 char *kwnames
[] = {
15521 (char *) "self", NULL
15524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15543 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
;
15545 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15547 PyObject
* obj0
= 0 ;
15548 char *kwnames
[] = {
15549 (char *) "self", NULL
15552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15571 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15575 PyObject
* obj0
= 0 ;
15576 char *kwnames
[] = {
15577 (char *) "self", NULL
15580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15599 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
;
15601 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15603 PyObject
* obj0
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "self", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15618 resultobj
= SWIG_FromInt((int)result
);
15625 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15626 PyObject
*resultobj
;
15627 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15629 PyObject
* obj0
= 0 ;
15630 char *kwnames
[] = {
15631 (char *) "self", NULL
15634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 resultobj
= SWIG_FromInt((int)result
);
15651 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15654 unsigned int result
;
15655 PyObject
* obj0
= 0 ;
15656 char *kwnames
[] = {
15657 (char *) "self", NULL
15660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15677 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
;
15679 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15680 unsigned int result
;
15681 PyObject
* obj0
= 0 ;
15682 char *kwnames
[] = {
15683 (char *) "self", NULL
15686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15703 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
;
15705 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15707 PyObject
* obj0
= 0 ;
15708 char *kwnames
[] = {
15709 (char *) "self", NULL
15712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 result
= (arg1
)->GetPosition();
15719 wxPyEndAllowThreads(__tstate
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15723 wxPoint
* resultptr
;
15724 resultptr
= new wxPoint((wxPoint
&) result
);
15725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15733 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15734 PyObject
*resultobj
;
15735 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15736 long *arg2
= (long *) 0 ;
15737 long *arg3
= (long *) 0 ;
15740 PyObject
* obj0
= 0 ;
15741 char *kwnames
[] = {
15742 (char *) "self", NULL
15747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 (arg1
)->GetPosition(arg2
,arg3
);
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15757 Py_INCREF(Py_None
); resultobj
= Py_None
;
15759 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15760 resultobj
= t_output_helper(resultobj
,o
);
15763 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15764 resultobj
= t_output_helper(resultobj
,o
);
15772 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
;
15774 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15776 PyObject
* obj0
= 0 ;
15777 char *kwnames
[] = {
15778 (char *) "self", NULL
15781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15791 resultobj
= SWIG_FromInt((int)result
);
15798 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15799 PyObject
*resultobj
;
15800 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15802 PyObject
* obj0
= 0 ;
15803 char *kwnames
[] = {
15804 (char *) "self", NULL
15807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= SWIG_FromInt((int)result
);
15824 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15826 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15828 PyObject
* obj0
= 0 ;
15829 PyObject
* obj1
= 0 ;
15830 char *kwnames
[] = {
15831 (char *) "self",(char *) "m_x", NULL
15834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15837 arg2
= (int) SWIG_AsInt(obj1
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15839 if (arg1
) (arg1
)->m_x
= arg2
;
15841 Py_INCREF(Py_None
); resultobj
= Py_None
;
15848 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
;
15850 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15852 PyObject
* obj0
= 0 ;
15853 char *kwnames
[] = {
15854 (char *) "self", NULL
15857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15860 result
= (int) ((arg1
)->m_x
);
15862 resultobj
= SWIG_FromInt((int)result
);
15869 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
;
15871 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15873 PyObject
* obj0
= 0 ;
15874 PyObject
* obj1
= 0 ;
15875 char *kwnames
[] = {
15876 (char *) "self",(char *) "m_y", NULL
15879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15882 arg2
= (int) SWIG_AsInt(obj1
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15884 if (arg1
) (arg1
)->m_y
= arg2
;
15886 Py_INCREF(Py_None
); resultobj
= Py_None
;
15893 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15894 PyObject
*resultobj
;
15895 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15897 PyObject
* obj0
= 0 ;
15898 char *kwnames
[] = {
15899 (char *) "self", NULL
15902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15905 result
= (int) ((arg1
)->m_y
);
15907 resultobj
= SWIG_FromInt((int)result
);
15914 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
;
15916 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15918 PyObject
* obj0
= 0 ;
15919 PyObject
* obj1
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "self",(char *) "m_keyCode", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15927 arg2
= (long) SWIG_AsLong(obj1
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15929 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15931 Py_INCREF(Py_None
); resultobj
= Py_None
;
15938 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "self", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15950 result
= (long) ((arg1
)->m_keyCode
);
15952 resultobj
= SWIG_FromLong((long)result
);
15959 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15961 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15963 PyObject
* obj0
= 0 ;
15964 PyObject
* obj1
= 0 ;
15965 char *kwnames
[] = {
15966 (char *) "self",(char *) "m_controlDown", NULL
15969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15972 arg2
= (bool) SWIG_AsBool(obj1
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15974 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15976 Py_INCREF(Py_None
); resultobj
= Py_None
;
15983 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 char *kwnames
[] = {
15989 (char *) "self", NULL
15992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15995 result
= (bool) ((arg1
)->m_controlDown
);
15998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16006 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16007 PyObject
*resultobj
;
16008 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16010 PyObject
* obj0
= 0 ;
16011 PyObject
* obj1
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self",(char *) "m_shiftDown", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16019 arg2
= (bool) SWIG_AsBool(obj1
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16021 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16023 Py_INCREF(Py_None
); resultobj
= Py_None
;
16030 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16034 PyObject
* obj0
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "self", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16042 result
= (bool) ((arg1
)->m_shiftDown
);
16045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16053 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
;
16055 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16057 PyObject
* obj0
= 0 ;
16058 PyObject
* obj1
= 0 ;
16059 char *kwnames
[] = {
16060 (char *) "self",(char *) "m_altDown", NULL
16063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16066 arg2
= (bool) SWIG_AsBool(obj1
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16068 if (arg1
) (arg1
)->m_altDown
= arg2
;
16070 Py_INCREF(Py_None
); resultobj
= Py_None
;
16077 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16081 PyObject
* obj0
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16089 result
= (bool) ((arg1
)->m_altDown
);
16092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16100 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16104 PyObject
* obj0
= 0 ;
16105 PyObject
* obj1
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self",(char *) "m_metaDown", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16113 arg2
= (bool) SWIG_AsBool(obj1
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16115 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16117 Py_INCREF(Py_None
); resultobj
= Py_None
;
16124 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
;
16126 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16128 PyObject
* obj0
= 0 ;
16129 char *kwnames
[] = {
16130 (char *) "self", NULL
16133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16136 result
= (bool) ((arg1
)->m_metaDown
);
16139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16147 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 PyObject
* obj1
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self",(char *) "m_scanCode", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16160 arg2
= (bool) SWIG_AsBool(obj1
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16162 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16164 Py_INCREF(Py_None
); resultobj
= Py_None
;
16171 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16173 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16175 PyObject
* obj0
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16183 result
= (bool) ((arg1
)->m_scanCode
);
16186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16194 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16195 PyObject
*resultobj
;
16196 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16197 unsigned int arg2
;
16198 PyObject
* obj0
= 0 ;
16199 PyObject
* obj1
= 0 ;
16200 char *kwnames
[] = {
16201 (char *) "self",(char *) "m_rawCode", NULL
16204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16207 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16208 if (PyErr_Occurred()) SWIG_fail
;
16209 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16211 Py_INCREF(Py_None
); resultobj
= Py_None
;
16218 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16219 PyObject
*resultobj
;
16220 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16221 unsigned int result
;
16222 PyObject
* obj0
= 0 ;
16223 char *kwnames
[] = {
16224 (char *) "self", NULL
16227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16230 result
= (unsigned int) ((arg1
)->m_rawCode
);
16232 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16239 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
;
16241 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16242 unsigned int arg2
;
16243 PyObject
* obj0
= 0 ;
16244 PyObject
* obj1
= 0 ;
16245 char *kwnames
[] = {
16246 (char *) "self",(char *) "m_rawFlags", NULL
16249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16252 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16254 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16256 Py_INCREF(Py_None
); resultobj
= Py_None
;
16263 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
;
16265 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16266 unsigned int result
;
16267 PyObject
* obj0
= 0 ;
16268 char *kwnames
[] = {
16269 (char *) "self", NULL
16272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16275 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16277 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16284 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16287 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16289 return Py_BuildValue((char *)"");
16291 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16292 PyObject
*resultobj
;
16293 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16294 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16295 int arg2
= (int) 0 ;
16296 wxSizeEvent
*result
;
16298 PyObject
* obj0
= 0 ;
16299 PyObject
* obj1
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "sz",(char *) "winid", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16308 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16312 arg2
= (int) SWIG_AsInt(obj1
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16329 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16331 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16333 PyObject
* obj0
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16349 wxSize
* resultptr
;
16350 resultptr
= new wxSize((wxSize
&) result
);
16351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16359 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 char *kwnames
[] = {
16365 (char *) "self", NULL
16368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16373 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16379 wxRect
* resultptr
;
16380 resultptr
= new wxRect((wxRect
&) result
);
16381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16389 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16394 PyObject
* obj0
= 0 ;
16395 PyObject
* obj1
= 0 ;
16396 char *kwnames
[] = {
16397 (char *) "self",(char *) "rect", NULL
16400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16403 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16404 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 (arg1
)->SetRect(arg2
);
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16413 Py_INCREF(Py_None
); resultobj
= Py_None
;
16420 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
;
16422 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16425 PyObject
* obj0
= 0 ;
16426 PyObject
* obj1
= 0 ;
16427 char *kwnames
[] = {
16428 (char *) "self",(char *) "size", NULL
16431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16434 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16435 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 wxSizeEvent_SetSize(arg1
,arg2
);
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16444 Py_INCREF(Py_None
); resultobj
= Py_None
;
16451 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16454 wxSize
*arg2
= (wxSize
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 PyObject
* obj1
= 0 ;
16457 char *kwnames
[] = {
16458 (char *) "self",(char *) "m_size", NULL
16461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16466 if (arg1
) (arg1
)->m_size
= *arg2
;
16468 Py_INCREF(Py_None
); resultobj
= Py_None
;
16475 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16479 PyObject
* obj0
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16487 result
= (wxSize
*)& ((arg1
)->m_size
);
16489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16496 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
;
16498 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16499 wxRect
*arg2
= (wxRect
*) 0 ;
16500 PyObject
* obj0
= 0 ;
16501 PyObject
* obj1
= 0 ;
16502 char *kwnames
[] = {
16503 (char *) "self",(char *) "m_rect", NULL
16506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16511 if (arg1
) (arg1
)->m_rect
= *arg2
;
16513 Py_INCREF(Py_None
); resultobj
= Py_None
;
16520 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16524 PyObject
* obj0
= 0 ;
16525 char *kwnames
[] = {
16526 (char *) "self", NULL
16529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16532 result
= (wxRect
*)& ((arg1
)->m_rect
);
16534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16541 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16544 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16546 return Py_BuildValue((char *)"");
16548 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16551 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16552 int arg2
= (int) 0 ;
16553 wxMoveEvent
*result
;
16555 PyObject
* obj0
= 0 ;
16556 PyObject
* obj1
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "pos",(char *) "winid", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16565 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16569 arg2
= (int) SWIG_AsInt(obj1
);
16570 if (PyErr_Occurred()) SWIG_fail
;
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16586 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16587 PyObject
*resultobj
;
16588 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16590 PyObject
* obj0
= 0 ;
16591 char *kwnames
[] = {
16592 (char *) "self", NULL
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16606 wxPoint
* resultptr
;
16607 resultptr
= new wxPoint((wxPoint
&) result
);
16608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16616 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16620 PyObject
* obj0
= 0 ;
16621 char *kwnames
[] = {
16622 (char *) "self", NULL
16625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16636 wxRect
* resultptr
;
16637 resultptr
= new wxRect((wxRect
&) result
);
16638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16646 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16647 PyObject
*resultobj
;
16648 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16651 PyObject
* obj0
= 0 ;
16652 PyObject
* obj1
= 0 ;
16653 char *kwnames
[] = {
16654 (char *) "self",(char *) "rect", NULL
16657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16660 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16661 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16665 (arg1
)->SetRect(arg2
);
16667 wxPyEndAllowThreads(__tstate
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16670 Py_INCREF(Py_None
); resultobj
= Py_None
;
16677 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16678 PyObject
*resultobj
;
16679 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16682 PyObject
* obj0
= 0 ;
16683 PyObject
* obj1
= 0 ;
16684 char *kwnames
[] = {
16685 (char *) "self",(char *) "pos", NULL
16688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16691 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16692 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 wxMoveEvent_SetPosition(arg1
,arg2
);
16698 wxPyEndAllowThreads(__tstate
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16701 Py_INCREF(Py_None
); resultobj
= Py_None
;
16708 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16709 PyObject
*resultobj
;
16710 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16711 wxPoint
*arg2
= (wxPoint
*) 0 ;
16712 PyObject
* obj0
= 0 ;
16713 PyObject
* obj1
= 0 ;
16714 char *kwnames
[] = {
16715 (char *) "self",(char *) "m_pos", NULL
16718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16723 if (arg1
) (arg1
)->m_pos
= *arg2
;
16725 Py_INCREF(Py_None
); resultobj
= Py_None
;
16732 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
;
16734 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16736 PyObject
* obj0
= 0 ;
16737 char *kwnames
[] = {
16738 (char *) "self", NULL
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16744 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16753 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16754 PyObject
*resultobj
;
16755 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16756 wxRect
*arg2
= (wxRect
*) 0 ;
16757 PyObject
* obj0
= 0 ;
16758 PyObject
* obj1
= 0 ;
16759 char *kwnames
[] = {
16760 (char *) "self",(char *) "m_rect", NULL
16763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16768 if (arg1
) (arg1
)->m_rect
= *arg2
;
16770 Py_INCREF(Py_None
); resultobj
= Py_None
;
16777 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
;
16779 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16781 PyObject
* obj0
= 0 ;
16782 char *kwnames
[] = {
16783 (char *) "self", NULL
16786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16789 result
= (wxRect
*)& ((arg1
)->m_rect
);
16791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16798 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16801 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16803 return Py_BuildValue((char *)"");
16805 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 int arg1
= (int) 0 ;
16808 wxPaintEvent
*result
;
16809 PyObject
* obj0
= 0 ;
16810 char *kwnames
[] = {
16811 (char *) "Id", NULL
16814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16816 arg1
= (int) SWIG_AsInt(obj0
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16833 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16836 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16838 return Py_BuildValue((char *)"");
16840 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 int arg1
= (int) 0 ;
16843 wxNcPaintEvent
*result
;
16844 PyObject
* obj0
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "winid", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16851 arg1
= (int) SWIG_AsInt(obj0
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16868 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16871 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16873 return Py_BuildValue((char *)"");
16875 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
;
16877 int arg1
= (int) 0 ;
16878 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16879 wxEraseEvent
*result
;
16880 PyObject
* obj0
= 0 ;
16881 PyObject
* obj1
= 0 ;
16882 char *kwnames
[] = {
16883 (char *) "Id",(char *) "dc", NULL
16886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16888 arg1
= (int) SWIG_AsInt(obj0
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16909 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16910 PyObject
*resultobj
;
16911 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16913 PyObject
* obj0
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "self", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16929 resultobj
= wxPyMake_wxObject(result
, 0);
16937 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16940 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16942 return Py_BuildValue((char *)"");
16944 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
;
16946 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16947 int arg2
= (int) 0 ;
16948 wxFocusEvent
*result
;
16949 PyObject
* obj0
= 0 ;
16950 PyObject
* obj1
= 0 ;
16951 char *kwnames
[] = {
16952 (char *) "type",(char *) "winid", NULL
16955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16957 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16961 arg2
= (int) SWIG_AsInt(obj1
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16978 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
;
16980 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16982 PyObject
* obj0
= 0 ;
16983 char *kwnames
[] = {
16984 (char *) "self", NULL
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= wxPyMake_wxObject(result
, 0);
17006 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17008 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17009 wxWindow
*arg2
= (wxWindow
*) 0 ;
17010 PyObject
* obj0
= 0 ;
17011 PyObject
* obj1
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "self",(char *) "win", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 (arg1
)->SetWindow(arg2
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17028 Py_INCREF(Py_None
); resultobj
= Py_None
;
17035 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17038 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17040 return Py_BuildValue((char *)"");
17042 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxWindow
*arg1
= (wxWindow
*) NULL
;
17045 wxChildFocusEvent
*result
;
17046 PyObject
* obj0
= 0 ;
17047 char *kwnames
[] = {
17048 (char *) "win", NULL
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17070 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17090 resultobj
= wxPyMake_wxObject(result
, 0);
17098 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17101 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17103 return Py_BuildValue((char *)"");
17105 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17106 PyObject
*resultobj
;
17107 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17108 bool arg2
= (bool) True
;
17109 int arg3
= (int) 0 ;
17110 wxActivateEvent
*result
;
17111 PyObject
* obj0
= 0 ;
17112 PyObject
* obj1
= 0 ;
17113 PyObject
* obj2
= 0 ;
17114 char *kwnames
[] = {
17115 (char *) "type",(char *) "active",(char *) "Id", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17120 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17124 arg2
= (bool) SWIG_AsBool(obj1
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17128 arg3
= (int) SWIG_AsInt(obj2
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17145 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
;
17147 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17149 PyObject
* obj0
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17159 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17173 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17176 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17178 return Py_BuildValue((char *)"");
17180 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 int arg1
= (int) 0 ;
17183 wxInitDialogEvent
*result
;
17184 PyObject
* obj0
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "Id", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17191 arg1
= (int) SWIG_AsInt(obj0
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17198 wxPyEndAllowThreads(__tstate
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17208 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17211 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17213 return Py_BuildValue((char *)"");
17215 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17218 int arg2
= (int) 0 ;
17219 wxMenu
*arg3
= (wxMenu
*) NULL
;
17220 wxMenuEvent
*result
;
17221 PyObject
* obj0
= 0 ;
17222 PyObject
* obj1
= 0 ;
17223 PyObject
* obj2
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "type",(char *) "winid",(char *) "menu", NULL
17228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17230 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17234 arg2
= (int) SWIG_AsInt(obj1
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17238 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17255 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17259 PyObject
* obj0
= 0 ;
17260 char *kwnames
[] = {
17261 (char *) "self", NULL
17264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17269 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17271 wxPyEndAllowThreads(__tstate
);
17272 if (PyErr_Occurred()) SWIG_fail
;
17274 resultobj
= SWIG_FromInt((int)result
);
17281 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
;
17283 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17285 PyObject
* obj0
= 0 ;
17286 char *kwnames
[] = {
17287 (char *) "self", NULL
17290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17309 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
;
17311 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17313 PyObject
* obj0
= 0 ;
17314 char *kwnames
[] = {
17315 (char *) "self", NULL
17318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= wxPyMake_wxObject(result
, 0);
17337 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17340 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17342 return Py_BuildValue((char *)"");
17344 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17345 PyObject
*resultobj
;
17346 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17347 int arg2
= (int) 0 ;
17348 wxCloseEvent
*result
;
17349 PyObject
* obj0
= 0 ;
17350 PyObject
* obj1
= 0 ;
17351 char *kwnames
[] = {
17352 (char *) "type",(char *) "winid", NULL
17355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17357 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17361 arg2
= (int) SWIG_AsInt(obj1
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17368 wxPyEndAllowThreads(__tstate
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17378 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
;
17380 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17382 PyObject
* obj0
= 0 ;
17383 PyObject
* obj1
= 0 ;
17384 char *kwnames
[] = {
17385 (char *) "self",(char *) "logOff", NULL
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17391 arg2
= (bool) SWIG_AsBool(obj1
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17395 (arg1
)->SetLoggingOff(arg2
);
17397 wxPyEndAllowThreads(__tstate
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17400 Py_INCREF(Py_None
); resultobj
= Py_None
;
17407 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17408 PyObject
*resultobj
;
17409 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17411 PyObject
* obj0
= 0 ;
17412 char *kwnames
[] = {
17413 (char *) "self", NULL
17416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17435 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17436 PyObject
*resultobj
;
17437 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17438 bool arg2
= (bool) True
;
17439 PyObject
* obj0
= 0 ;
17440 PyObject
* obj1
= 0 ;
17441 char *kwnames
[] = {
17442 (char *) "self",(char *) "veto", NULL
17445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17449 arg2
= (bool) SWIG_AsBool(obj1
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17454 (arg1
)->Veto(arg2
);
17456 wxPyEndAllowThreads(__tstate
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17459 Py_INCREF(Py_None
); resultobj
= Py_None
;
17466 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17470 PyObject
* obj0
= 0 ;
17471 PyObject
* obj1
= 0 ;
17472 char *kwnames
[] = {
17473 (char *) "self",(char *) "canVeto", NULL
17476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17479 arg2
= (bool) SWIG_AsBool(obj1
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 (arg1
)->SetCanVeto(arg2
);
17485 wxPyEndAllowThreads(__tstate
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17488 Py_INCREF(Py_None
); resultobj
= Py_None
;
17495 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17499 PyObject
* obj0
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "self", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17509 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17523 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17524 PyObject
*resultobj
;
17525 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17527 PyObject
* obj0
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "self", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17537 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17551 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17554 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17556 return Py_BuildValue((char *)"");
17558 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
;
17560 int arg1
= (int) 0 ;
17561 bool arg2
= (bool) False
;
17562 wxShowEvent
*result
;
17563 PyObject
* obj0
= 0 ;
17564 PyObject
* obj1
= 0 ;
17565 char *kwnames
[] = {
17566 (char *) "winid",(char *) "show", NULL
17569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17571 arg1
= (int) SWIG_AsInt(obj0
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17575 arg2
= (bool) SWIG_AsBool(obj1
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17592 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17596 PyObject
* obj0
= 0 ;
17597 PyObject
* obj1
= 0 ;
17598 char *kwnames
[] = {
17599 (char *) "self",(char *) "show", NULL
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17605 arg2
= (bool) SWIG_AsBool(obj1
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 (arg1
)->SetShow(arg2
);
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 Py_INCREF(Py_None
); resultobj
= Py_None
;
17621 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
;
17623 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17625 PyObject
* obj0
= 0 ;
17626 char *kwnames
[] = {
17627 (char *) "self", NULL
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17649 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17652 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17654 return Py_BuildValue((char *)"");
17656 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17657 PyObject
*resultobj
;
17658 int arg1
= (int) 0 ;
17659 bool arg2
= (bool) True
;
17660 wxIconizeEvent
*result
;
17661 PyObject
* obj0
= 0 ;
17662 PyObject
* obj1
= 0 ;
17663 char *kwnames
[] = {
17664 (char *) "id",(char *) "iconized", NULL
17667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17669 arg1
= (int) SWIG_AsInt(obj0
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17673 arg2
= (bool) SWIG_AsBool(obj1
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17678 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17680 wxPyEndAllowThreads(__tstate
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17690 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17691 PyObject
*resultobj
;
17692 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17694 PyObject
* obj0
= 0 ;
17695 char *kwnames
[] = {
17696 (char *) "self", NULL
17699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 result
= (bool)(arg1
)->Iconized();
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17718 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17721 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17723 return Py_BuildValue((char *)"");
17725 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17726 PyObject
*resultobj
;
17727 int arg1
= (int) 0 ;
17728 wxMaximizeEvent
*result
;
17729 PyObject
* obj0
= 0 ;
17730 char *kwnames
[] = {
17731 (char *) "id", NULL
17734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17736 arg1
= (int) SWIG_AsInt(obj0
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17753 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17756 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17758 return Py_BuildValue((char *)"");
17760 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
;
17762 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17764 PyObject
* obj0
= 0 ;
17765 char *kwnames
[] = {
17766 (char *) "self", NULL
17769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 result
= (arg1
)->GetPosition();
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17780 wxPoint
* resultptr
;
17781 resultptr
= new wxPoint((wxPoint
&) result
);
17782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17790 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17794 PyObject
* obj0
= 0 ;
17795 char *kwnames
[] = {
17796 (char *) "self", NULL
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 result
= (int)(arg1
)->GetNumberOfFiles();
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= SWIG_FromInt((int)result
);
17816 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
;
17818 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17820 PyObject
* obj0
= 0 ;
17821 char *kwnames
[] = {
17822 (char *) "self", NULL
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17835 resultobj
= result
;
17842 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17845 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17847 return Py_BuildValue((char *)"");
17849 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
;
17851 int arg1
= (int) 0 ;
17852 wxUpdateUIEvent
*result
;
17853 PyObject
* obj0
= 0 ;
17854 char *kwnames
[] = {
17855 (char *) "commandId", NULL
17858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17860 arg1
= (int) SWIG_AsInt(obj0
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17877 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17881 PyObject
* obj0
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17905 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
;
17907 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17909 PyObject
* obj0
= 0 ;
17910 char *kwnames
[] = {
17911 (char *) "self", NULL
17914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17933 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
;
17935 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17937 PyObject
* obj0
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "self", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17954 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17956 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17965 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17969 PyObject
* obj0
= 0 ;
17970 char *kwnames
[] = {
17971 (char *) "self", NULL
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17993 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
;
17995 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17997 PyObject
* obj0
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "self", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18009 wxPyEndAllowThreads(__tstate
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18021 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18025 PyObject
* obj0
= 0 ;
18026 char *kwnames
[] = {
18027 (char *) "self", NULL
18030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18049 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18050 PyObject
*resultobj
;
18051 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18053 PyObject
* obj0
= 0 ;
18054 PyObject
* obj1
= 0 ;
18055 char *kwnames
[] = {
18056 (char *) "self",(char *) "check", NULL
18059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18062 arg2
= (bool) SWIG_AsBool(obj1
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 (arg1
)->Check(arg2
);
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 Py_INCREF(Py_None
); resultobj
= Py_None
;
18078 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
;
18080 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18082 PyObject
* obj0
= 0 ;
18083 PyObject
* obj1
= 0 ;
18084 char *kwnames
[] = {
18085 (char *) "self",(char *) "enable", NULL
18088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18091 arg2
= (bool) SWIG_AsBool(obj1
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 (arg1
)->Enable(arg2
);
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 Py_INCREF(Py_None
); resultobj
= Py_None
;
18107 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
;
18109 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18110 wxString
*arg2
= 0 ;
18111 bool temp2
= False
;
18112 PyObject
* obj0
= 0 ;
18113 PyObject
* obj1
= 0 ;
18114 char *kwnames
[] = {
18115 (char *) "self",(char *) "text", NULL
18118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18122 arg2
= wxString_in_helper(obj1
);
18123 if (arg2
== NULL
) SWIG_fail
;
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 (arg1
)->SetText((wxString
const &)*arg2
);
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 Py_INCREF(Py_None
); resultobj
= Py_None
;
18148 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
;
18151 PyObject
* obj0
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "updateInterval", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18157 arg1
= (long) SWIG_AsLong(obj0
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18166 Py_INCREF(Py_None
); resultobj
= Py_None
;
18173 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
;
18176 char *kwnames
[] = {
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 resultobj
= SWIG_FromLong((long)result
);
18195 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 wxWindow
*arg1
= (wxWindow
*) 0 ;
18199 PyObject
* obj0
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "win", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18223 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 char *kwnames
[] = {
18229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 wxUpdateUIEvent::ResetUpdateTime();
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 Py_INCREF(Py_None
); resultobj
= Py_None
;
18244 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
;
18247 PyObject
* obj0
= 0 ;
18248 char *kwnames
[] = {
18249 (char *) "mode", NULL
18252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18253 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 Py_INCREF(Py_None
); resultobj
= Py_None
;
18269 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
;
18272 char *kwnames
[] = {
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18279 result
= (int)wxUpdateUIEvent::GetMode();
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 resultobj
= SWIG_FromInt((int)result
);
18291 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18294 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18296 return Py_BuildValue((char *)"");
18298 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18300 wxSysColourChangedEvent
*result
;
18301 char *kwnames
[] = {
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18320 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18323 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18325 return Py_BuildValue((char *)"");
18327 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18328 PyObject
*resultobj
;
18329 int arg1
= (int) 0 ;
18330 wxWindow
*arg2
= (wxWindow
*) NULL
;
18331 wxMouseCaptureChangedEvent
*result
;
18332 PyObject
* obj0
= 0 ;
18333 PyObject
* obj1
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "winid",(char *) "gainedCapture", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18340 arg1
= (int) SWIG_AsInt(obj0
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18361 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
;
18363 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "self", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18381 resultobj
= wxPyMake_wxObject(result
, 0);
18389 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18392 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18394 return Py_BuildValue((char *)"");
18396 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 wxDisplayChangedEvent
*result
;
18399 char *kwnames
[] = {
18403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18418 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18421 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18423 return Py_BuildValue((char *)"");
18425 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18426 PyObject
*resultobj
;
18427 int arg1
= (int) 0 ;
18428 wxPaletteChangedEvent
*result
;
18429 PyObject
* obj0
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "id", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18436 arg1
= (int) SWIG_AsInt(obj0
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18453 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18456 wxWindow
*arg2
= (wxWindow
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 PyObject
* obj1
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self",(char *) "win", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 (arg1
)->SetChangedWindow(arg2
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 Py_INCREF(Py_None
); resultobj
= Py_None
;
18482 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 resultobj
= wxPyMake_wxObject(result
, 0);
18510 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18513 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18515 return Py_BuildValue((char *)"");
18517 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 int arg1
= (int) 0 ;
18520 wxQueryNewPaletteEvent
*result
;
18521 PyObject
* obj0
= 0 ;
18522 char *kwnames
[] = {
18523 (char *) "winid", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18528 arg1
= (int) SWIG_AsInt(obj0
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18545 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18549 PyObject
* obj0
= 0 ;
18550 PyObject
* obj1
= 0 ;
18551 char *kwnames
[] = {
18552 (char *) "self",(char *) "realized", NULL
18555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18558 arg2
= (bool) SWIG_AsBool(obj1
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 (arg1
)->SetPaletteRealized(arg2
);
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18567 Py_INCREF(Py_None
); resultobj
= Py_None
;
18574 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
;
18576 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18578 PyObject
* obj0
= 0 ;
18579 char *kwnames
[] = {
18580 (char *) "self", NULL
18583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18588 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18590 wxPyEndAllowThreads(__tstate
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18602 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18605 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18607 return Py_BuildValue((char *)"");
18609 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxNavigationKeyEvent
*result
;
18612 char *kwnames
[] = {
18616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18631 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(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_GetDirection",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
)->GetDirection();
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18659 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(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 *) "forward", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",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
)->SetDirection(arg2
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 Py_INCREF(Py_None
); resultobj
= Py_None
;
18688 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(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_IsWindowChange",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
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18716 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
;
18718 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18720 PyObject
* obj0
= 0 ;
18721 PyObject
* obj1
= 0 ;
18722 char *kwnames
[] = {
18723 (char *) "self",(char *) "ischange", NULL
18726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18729 arg2
= (bool) SWIG_AsBool(obj1
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 (arg1
)->SetWindowChange(arg2
);
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18738 Py_INCREF(Py_None
); resultobj
= Py_None
;
18745 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
;
18747 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18749 PyObject
* obj0
= 0 ;
18750 PyObject
* obj1
= 0 ;
18751 char *kwnames
[] = {
18752 (char *) "self",(char *) "flags", NULL
18755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
18756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18758 arg2
= (long) SWIG_AsLong(obj1
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 (arg1
)->SetFlags(arg2
);
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 Py_INCREF(Py_None
); resultobj
= Py_None
;
18774 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18790 wxPyEndAllowThreads(__tstate
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18794 resultobj
= wxPyMake_wxObject(result
, 0);
18802 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18805 wxWindow
*arg2
= (wxWindow
*) 0 ;
18806 PyObject
* obj0
= 0 ;
18807 PyObject
* obj1
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "self",(char *) "win", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 (arg1
)->SetCurrentFocus(arg2
);
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 Py_INCREF(Py_None
); resultobj
= Py_None
;
18831 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18834 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18836 return Py_BuildValue((char *)"");
18838 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
;
18840 wxWindow
*arg1
= (wxWindow
*) NULL
;
18841 wxWindowCreateEvent
*result
;
18842 PyObject
* obj0
= 0 ;
18843 char *kwnames
[] = {
18844 (char *) "win", NULL
18847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18866 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18867 PyObject
*resultobj
;
18868 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18870 PyObject
* obj0
= 0 ;
18871 char *kwnames
[] = {
18872 (char *) "self", NULL
18875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18882 wxPyEndAllowThreads(__tstate
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18886 resultobj
= wxPyMake_wxObject(result
, 0);
18894 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18897 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18899 return Py_BuildValue((char *)"");
18901 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxWindow
*arg1
= (wxWindow
*) NULL
;
18904 wxWindowDestroyEvent
*result
;
18905 PyObject
* obj0
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "win", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18929 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
;
18931 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18933 PyObject
* obj0
= 0 ;
18934 char *kwnames
[] = {
18935 (char *) "self", NULL
18938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18949 resultobj
= wxPyMake_wxObject(result
, 0);
18957 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18960 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18962 return Py_BuildValue((char *)"");
18964 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18967 int arg2
= (int) 0 ;
18968 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18969 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18970 wxContextMenuEvent
*result
;
18972 PyObject
* obj0
= 0 ;
18973 PyObject
* obj1
= 0 ;
18974 PyObject
* obj2
= 0 ;
18975 char *kwnames
[] = {
18976 (char *) "type",(char *) "winid",(char *) "pt", NULL
18979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18981 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18985 arg2
= (int) SWIG_AsInt(obj1
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18991 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19008 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19012 PyObject
* obj0
= 0 ;
19013 char *kwnames
[] = {
19014 (char *) "self", NULL
19017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19024 result
= (wxPoint
*) &_result_ref
;
19027 wxPyEndAllowThreads(__tstate
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19037 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19038 PyObject
*resultobj
;
19039 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19040 wxPoint
*arg2
= 0 ;
19042 PyObject
* obj0
= 0 ;
19043 PyObject
* obj1
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "self",(char *) "pos", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19057 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19059 wxPyEndAllowThreads(__tstate
);
19060 if (PyErr_Occurred()) SWIG_fail
;
19062 Py_INCREF(Py_None
); resultobj
= Py_None
;
19069 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19072 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19074 return Py_BuildValue((char *)"");
19076 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
;
19078 wxIdleEvent
*result
;
19079 char *kwnames
[] = {
19083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19086 result
= (wxIdleEvent
*)new wxIdleEvent();
19088 wxPyEndAllowThreads(__tstate
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19098 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19100 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19101 bool arg2
= (bool) True
;
19102 PyObject
* obj0
= 0 ;
19103 PyObject
* obj1
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "self",(char *) "needMore", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19112 arg2
= (bool) SWIG_AsBool(obj1
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 (arg1
)->RequestMore(arg2
);
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19122 Py_INCREF(Py_None
); resultobj
= Py_None
;
19129 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19143 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19157 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
;
19160 PyObject
* obj0
= 0 ;
19161 char *kwnames
[] = {
19162 (char *) "mode", NULL
19165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19166 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19170 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19172 wxPyEndAllowThreads(__tstate
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19175 Py_INCREF(Py_None
); resultobj
= Py_None
;
19182 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
;
19185 char *kwnames
[] = {
19189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 result
= (int)wxIdleEvent::GetMode();
19194 wxPyEndAllowThreads(__tstate
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19197 resultobj
= SWIG_FromInt((int)result
);
19204 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19205 PyObject
*resultobj
;
19206 wxWindow
*arg1
= (wxWindow
*) 0 ;
19208 PyObject
* obj0
= 0 ;
19209 char *kwnames
[] = {
19210 (char *) "win", NULL
19213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19218 result
= (bool)wxIdleEvent::CanSend(arg1
);
19220 wxPyEndAllowThreads(__tstate
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19232 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19235 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19237 return Py_BuildValue((char *)"");
19239 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
;
19241 int arg1
= (int) 0 ;
19242 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19244 PyObject
* obj0
= 0 ;
19245 PyObject
* obj1
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "winid",(char *) "commandType", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19252 arg1
= (int) SWIG_AsInt(obj0
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19256 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19261 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19273 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19274 PyObject
*resultobj
;
19275 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19276 PyObject
* obj0
= 0 ;
19277 char *kwnames
[] = {
19278 (char *) "self", NULL
19281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 wxPyEndAllowThreads(__tstate
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 Py_INCREF(Py_None
); resultobj
= Py_None
;
19298 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
;
19300 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19301 PyObject
*arg2
= (PyObject
*) 0 ;
19302 PyObject
* obj0
= 0 ;
19303 PyObject
* obj1
= 0 ;
19304 char *kwnames
[] = {
19305 (char *) "self",(char *) "self", NULL
19308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 (arg1
)->SetSelf(arg2
);
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 Py_INCREF(Py_None
); resultobj
= Py_None
;
19326 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
;
19328 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19330 PyObject
* obj0
= 0 ;
19331 char *kwnames
[] = {
19332 (char *) "self", NULL
19335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19340 result
= (PyObject
*)(arg1
)->GetSelf();
19342 wxPyEndAllowThreads(__tstate
);
19343 if (PyErr_Occurred()) SWIG_fail
;
19345 resultobj
= result
;
19352 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19355 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19357 return Py_BuildValue((char *)"");
19359 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19362 int arg2
= (int) 0 ;
19363 wxPyCommandEvent
*result
;
19364 PyObject
* obj0
= 0 ;
19365 PyObject
* obj1
= 0 ;
19366 char *kwnames
[] = {
19367 (char *) "commandType",(char *) "id", NULL
19370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19372 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19376 arg2
= (int) SWIG_AsInt(obj1
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19381 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19383 wxPyEndAllowThreads(__tstate
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19393 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
;
19395 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19396 PyObject
* obj0
= 0 ;
19397 char *kwnames
[] = {
19398 (char *) "self", NULL
19401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 wxPyEndAllowThreads(__tstate
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19411 Py_INCREF(Py_None
); resultobj
= Py_None
;
19418 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19420 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19421 PyObject
*arg2
= (PyObject
*) 0 ;
19422 PyObject
* obj0
= 0 ;
19423 PyObject
* obj1
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self",(char *) "self", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 (arg1
)->SetSelf(arg2
);
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19439 Py_INCREF(Py_None
); resultobj
= Py_None
;
19446 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19450 PyObject
* obj0
= 0 ;
19451 char *kwnames
[] = {
19452 (char *) "self", NULL
19455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 result
= (PyObject
*)(arg1
)->GetSelf();
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 resultobj
= result
;
19472 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19475 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19477 return Py_BuildValue((char *)"");
19479 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19480 PyObject
*resultobj
;
19482 char *kwnames
[] = {
19486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 result
= (wxPyApp
*)new_wxPyApp();
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19501 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19504 PyObject
* obj0
= 0 ;
19505 char *kwnames
[] = {
19506 (char *) "self", NULL
19509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19519 Py_INCREF(Py_None
); resultobj
= Py_None
;
19526 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19527 PyObject
*resultobj
;
19528 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19529 PyObject
*arg2
= (PyObject
*) 0 ;
19530 PyObject
*arg3
= (PyObject
*) 0 ;
19531 PyObject
* obj0
= 0 ;
19532 PyObject
* obj1
= 0 ;
19533 PyObject
* obj2
= 0 ;
19534 char *kwnames
[] = {
19535 (char *) "self",(char *) "self",(char *) "_class", NULL
19538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 Py_INCREF(Py_None
); resultobj
= Py_None
;
19557 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19561 PyObject
* obj0
= 0 ;
19562 char *kwnames
[] = {
19563 (char *) "self", NULL
19566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19573 wxPyEndAllowThreads(__tstate
);
19574 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19589 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
;
19591 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19592 wxString
*arg2
= 0 ;
19593 bool temp2
= False
;
19594 PyObject
* obj0
= 0 ;
19595 PyObject
* obj1
= 0 ;
19596 char *kwnames
[] = {
19597 (char *) "self",(char *) "name", NULL
19600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19604 arg2
= wxString_in_helper(obj1
);
19605 if (arg2
== NULL
) SWIG_fail
;
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 (arg1
)->SetAppName((wxString
const &)*arg2
);
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 Py_INCREF(Py_None
); resultobj
= Py_None
;
19630 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19631 PyObject
*resultobj
;
19632 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19634 PyObject
* obj0
= 0 ;
19635 char *kwnames
[] = {
19636 (char *) "self", NULL
19639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19662 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19664 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19665 wxString
*arg2
= 0 ;
19666 bool temp2
= False
;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19669 char *kwnames
[] = {
19670 (char *) "self",(char *) "name", NULL
19673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19677 arg2
= wxString_in_helper(obj1
);
19678 if (arg2
== NULL
) SWIG_fail
;
19682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19683 (arg1
)->SetClassName((wxString
const &)*arg2
);
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19688 Py_INCREF(Py_None
); resultobj
= Py_None
;
19703 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19704 PyObject
*resultobj
;
19705 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19707 PyObject
* obj0
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19719 result
= (wxString
*) &_result_ref
;
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19727 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19729 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19738 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
;
19740 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19741 wxString
*arg2
= 0 ;
19742 bool temp2
= False
;
19743 PyObject
* obj0
= 0 ;
19744 PyObject
* obj1
= 0 ;
19745 char *kwnames
[] = {
19746 (char *) "self",(char *) "name", NULL
19749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19753 arg2
= wxString_in_helper(obj1
);
19754 if (arg2
== NULL
) SWIG_fail
;
19758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19761 wxPyEndAllowThreads(__tstate
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19764 Py_INCREF(Py_None
); resultobj
= Py_None
;
19779 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
;
19781 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19782 wxAppTraits
*result
;
19783 PyObject
* obj0
= 0 ;
19784 char *kwnames
[] = {
19785 (char *) "self", NULL
19788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",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 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19805 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
;
19807 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19808 PyObject
* obj0
= 0 ;
19809 char *kwnames
[] = {
19810 (char *) "self", NULL
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 (arg1
)->ProcessPendingEvents();
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 Py_INCREF(Py_None
); resultobj
= Py_None
;
19830 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19833 bool arg2
= (bool) False
;
19835 PyObject
* obj0
= 0 ;
19836 PyObject
* obj1
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self",(char *) "onlyIfNeeded", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19845 arg2
= (bool) SWIG_AsBool(obj1
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 result
= (bool)(arg1
)->Yield(arg2
);
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19864 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19867 PyObject
* obj0
= 0 ;
19868 char *kwnames
[] = {
19869 (char *) "self", NULL
19872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 (arg1
)->WakeUpIdle();
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19882 Py_INCREF(Py_None
); resultobj
= Py_None
;
19889 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
;
19891 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19893 PyObject
* obj0
= 0 ;
19894 char *kwnames
[] = {
19895 (char *) "self", NULL
19898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 result
= (int)(arg1
)->MainLoop();
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19908 resultobj
= SWIG_FromInt((int)result
);
19915 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19917 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19918 PyObject
* obj0
= 0 ;
19919 char *kwnames
[] = {
19920 (char *) "self", NULL
19923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 Py_INCREF(Py_None
); resultobj
= Py_None
;
19940 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19941 PyObject
*resultobj
;
19942 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 char *kwnames
[] = {
19945 (char *) "self", NULL
19948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 (arg1
)->ExitMainLoop();
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19958 Py_INCREF(Py_None
); resultobj
= Py_None
;
19965 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19966 PyObject
*resultobj
;
19967 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19969 PyObject
* obj0
= 0 ;
19970 char *kwnames
[] = {
19971 (char *) "self", NULL
19974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 result
= (bool)(arg1
)->Pending();
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19993 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19994 PyObject
*resultobj
;
19995 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19997 PyObject
* obj0
= 0 ;
19998 char *kwnames
[] = {
19999 (char *) "self", NULL
20002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 result
= (bool)(arg1
)->Dispatch();
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20021 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
;
20023 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20025 PyObject
* obj0
= 0 ;
20026 char *kwnames
[] = {
20027 (char *) "self", NULL
20030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20035 result
= (bool)(arg1
)->ProcessIdle();
20037 wxPyEndAllowThreads(__tstate
);
20038 if (PyErr_Occurred()) SWIG_fail
;
20041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20049 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20050 PyObject
*resultobj
;
20051 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20052 wxWindow
*arg2
= (wxWindow
*) 0 ;
20053 wxIdleEvent
*arg3
= 0 ;
20055 PyObject
* obj0
= 0 ;
20056 PyObject
* obj1
= 0 ;
20057 PyObject
* obj2
= 0 ;
20058 char *kwnames
[] = {
20059 (char *) "self",(char *) "win",(char *) "event", NULL
20062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20067 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20068 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20070 if (arg3
== NULL
) {
20071 PyErr_SetString(PyExc_TypeError
,"null reference");
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20090 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20091 PyObject
*resultobj
;
20092 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20094 PyObject
* obj0
= 0 ;
20095 char *kwnames
[] = {
20096 (char *) "self", NULL
20099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20118 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20119 PyObject
*resultobj
;
20120 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20121 wxWindow
*arg2
= (wxWindow
*) 0 ;
20122 PyObject
* obj0
= 0 ;
20123 PyObject
* obj1
= 0 ;
20124 char *kwnames
[] = {
20125 (char *) "self",(char *) "win", NULL
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 (arg1
)->SetTopWindow(arg2
);
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20140 Py_INCREF(Py_None
); resultobj
= Py_None
;
20147 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20148 PyObject
*resultobj
;
20149 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20151 PyObject
* obj0
= 0 ;
20152 char *kwnames
[] = {
20153 (char *) "self", NULL
20156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20167 resultobj
= wxPyMake_wxObject(result
, 0);
20175 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20176 PyObject
*resultobj
;
20177 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20179 PyObject
* obj0
= 0 ;
20180 PyObject
* obj1
= 0 ;
20181 char *kwnames
[] = {
20182 (char *) "self",(char *) "flag", NULL
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20188 arg2
= (bool) SWIG_AsBool(obj1
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20192 (arg1
)->SetExitOnFrameDelete(arg2
);
20194 wxPyEndAllowThreads(__tstate
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20197 Py_INCREF(Py_None
); resultobj
= Py_None
;
20204 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
;
20206 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20208 PyObject
* obj0
= 0 ;
20209 char *kwnames
[] = {
20210 (char *) "self", NULL
20213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20232 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20236 PyObject
* obj0
= 0 ;
20237 PyObject
* obj1
= 0 ;
20238 char *kwnames
[] = {
20239 (char *) "self",(char *) "flag", NULL
20242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20245 arg2
= (bool) SWIG_AsBool(obj1
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 (arg1
)->SetUseBestVisual(arg2
);
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 Py_INCREF(Py_None
); resultobj
= Py_None
;
20261 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
;
20263 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20265 PyObject
* obj0
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self", NULL
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20289 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20291 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 PyObject
* obj1
= 0 ;
20295 char *kwnames
[] = {
20296 (char *) "self",(char *) "mode", NULL
20299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20302 arg2
= (int) SWIG_AsInt(obj1
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 (arg1
)->SetPrintMode(arg2
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20311 Py_INCREF(Py_None
); resultobj
= Py_None
;
20318 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
;
20320 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20322 PyObject
* obj0
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= SWIG_FromInt((int)result
);
20344 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20346 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self",(char *) "mode", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20357 arg2
= (int) SWIG_AsInt(obj1
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 (arg1
)->SetAssertMode(arg2
);
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20366 Py_INCREF(Py_None
); resultobj
= Py_None
;
20373 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
;
20375 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20377 PyObject
* obj0
= 0 ;
20378 char *kwnames
[] = {
20379 (char *) "self", NULL
20382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 result
= (int)(arg1
)->GetAssertMode();
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= SWIG_FromInt((int)result
);
20399 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
;
20402 char *kwnames
[] = {
20406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20409 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20423 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
;
20426 char *kwnames
[] = {
20430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20433 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20435 wxPyEndAllowThreads(__tstate
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20438 resultobj
= SWIG_FromLong((long)result
);
20445 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20446 PyObject
*resultobj
;
20448 char *kwnames
[] = {
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 resultobj
= SWIG_FromLong((long)result
);
20467 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20468 PyObject
*resultobj
;
20470 char *kwnames
[] = {
20474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= (long)wxPyApp::GetMacExitMenuItemId();
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_FromLong((long)result
);
20489 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20492 char *kwnames
[] = {
20496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= wxPyApp::GetMacHelpMenuTitleName();
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20517 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20520 PyObject
* obj0
= 0 ;
20521 char *kwnames
[] = {
20522 (char *) "val", NULL
20525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20526 arg1
= (bool) SWIG_AsBool(obj0
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20530 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20535 Py_INCREF(Py_None
); resultobj
= Py_None
;
20542 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20545 PyObject
* obj0
= 0 ;
20546 char *kwnames
[] = {
20547 (char *) "val", NULL
20550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20551 arg1
= (long) SWIG_AsLong(obj0
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 wxPyApp::SetMacAboutMenuItemId(arg1
);
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20560 Py_INCREF(Py_None
); resultobj
= Py_None
;
20567 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
;
20570 PyObject
* obj0
= 0 ;
20571 char *kwnames
[] = {
20572 (char *) "val", NULL
20575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20576 arg1
= (long) SWIG_AsLong(obj0
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20585 Py_INCREF(Py_None
); resultobj
= Py_None
;
20592 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
;
20595 PyObject
* obj0
= 0 ;
20596 char *kwnames
[] = {
20597 (char *) "val", NULL
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20601 arg1
= (long) SWIG_AsLong(obj0
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 wxPyApp::SetMacExitMenuItemId(arg1
);
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20610 Py_INCREF(Py_None
); resultobj
= Py_None
;
20617 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20618 PyObject
*resultobj
;
20619 wxString
*arg1
= 0 ;
20620 bool temp1
= False
;
20621 PyObject
* obj0
= 0 ;
20622 char *kwnames
[] = {
20623 (char *) "val", NULL
20626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20628 arg1
= wxString_in_helper(obj0
);
20629 if (arg1
== NULL
) SWIG_fail
;
20633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20634 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20639 Py_INCREF(Py_None
); resultobj
= Py_None
;
20654 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20655 PyObject
*resultobj
;
20656 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20657 PyObject
* obj0
= 0 ;
20658 char *kwnames
[] = {
20659 (char *) "self", NULL
20662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 (arg1
)->_BootstrapApp();
20669 wxPyEndAllowThreads(__tstate
);
20670 if (PyErr_Occurred()) SWIG_fail
;
20672 Py_INCREF(Py_None
); resultobj
= Py_None
;
20679 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20680 PyObject
*resultobj
;
20682 char *kwnames
[] = {
20686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 result
= (int)PyApp_GetComCtl32Version();
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20694 resultobj
= SWIG_FromInt((int)result
);
20701 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20704 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20706 return Py_BuildValue((char *)"");
20708 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20709 PyObject
*resultobj
;
20710 char *kwnames
[] = {
20714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 wxPyEndAllowThreads(__tstate
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20722 Py_INCREF(Py_None
); resultobj
= Py_None
;
20729 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20730 PyObject
*resultobj
;
20732 char *kwnames
[] = {
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= (bool)wxYield();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20753 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
;
20756 char *kwnames
[] = {
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 result
= (bool)wxYieldIfNeeded();
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20777 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 wxWindow
*arg1
= (wxWindow
*) NULL
;
20780 bool arg2
= (bool) False
;
20782 PyObject
* obj0
= 0 ;
20783 PyObject
* obj1
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "win",(char *) "onlyIfNeeded", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20794 arg2
= (bool) SWIG_AsBool(obj1
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= (bool)wxSafeYield(arg1
,arg2
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20813 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 char *kwnames
[] = {
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 Py_INCREF(Py_None
); resultobj
= Py_None
;
20834 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
;
20836 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20837 wxEvent
*arg2
= 0 ;
20838 PyObject
* obj0
= 0 ;
20839 PyObject
* obj1
= 0 ;
20840 char *kwnames
[] = {
20841 (char *) "dest",(char *) "event", NULL
20844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20850 if (arg2
== NULL
) {
20851 PyErr_SetString(PyExc_TypeError
,"null reference");
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20856 wxPostEvent(arg1
,*arg2
);
20858 wxPyEndAllowThreads(__tstate
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20861 Py_INCREF(Py_None
); resultobj
= Py_None
;
20868 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20869 PyObject
*resultobj
;
20870 char *kwnames
[] = {
20874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 Py_INCREF(Py_None
); resultobj
= Py_None
;
20889 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
;
20892 char *kwnames
[] = {
20896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= (wxPyApp
*)wxPyGetApp();
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20905 resultobj
= wxPyMake_wxObject(result
, 0);
20913 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
;
20915 int arg1
= (int) 0 ;
20916 int arg2
= (int) 0 ;
20917 int arg3
= (int) 0 ;
20918 wxAcceleratorEntry
*result
;
20919 PyObject
* obj0
= 0 ;
20920 PyObject
* obj1
= 0 ;
20921 PyObject
* obj2
= 0 ;
20922 char *kwnames
[] = {
20923 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20928 arg1
= (int) SWIG_AsInt(obj0
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20932 arg2
= (int) SWIG_AsInt(obj1
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20936 arg3
= (int) SWIG_AsInt(obj2
);
20937 if (PyErr_Occurred()) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20953 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20956 PyObject
* obj0
= 0 ;
20957 char *kwnames
[] = {
20958 (char *) "self", NULL
20961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 Py_INCREF(Py_None
); resultobj
= Py_None
;
20978 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
;
20980 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20984 PyObject
* obj0
= 0 ;
20985 PyObject
* obj1
= 0 ;
20986 PyObject
* obj2
= 0 ;
20987 PyObject
* obj3
= 0 ;
20988 char *kwnames
[] = {
20989 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20995 arg2
= (int) SWIG_AsInt(obj1
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20997 arg3
= (int) SWIG_AsInt(obj2
);
20998 if (PyErr_Occurred()) SWIG_fail
;
20999 arg4
= (int) SWIG_AsInt(obj3
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 (arg1
)->Set(arg2
,arg3
,arg4
);
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 Py_INCREF(Py_None
); resultobj
= Py_None
;
21015 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
;
21017 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21019 PyObject
* obj0
= 0 ;
21020 char *kwnames
[] = {
21021 (char *) "self", NULL
21024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 result
= (int)(arg1
)->GetFlags();
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21034 resultobj
= SWIG_FromInt((int)result
);
21041 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21042 PyObject
*resultobj
;
21043 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21045 PyObject
* obj0
= 0 ;
21046 char *kwnames
[] = {
21047 (char *) "self", NULL
21050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21055 result
= (int)(arg1
)->GetKeyCode();
21057 wxPyEndAllowThreads(__tstate
);
21058 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= SWIG_FromInt((int)result
);
21067 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
;
21069 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21071 PyObject
* obj0
= 0 ;
21072 char *kwnames
[] = {
21073 (char *) "self", NULL
21076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21081 result
= (int)(arg1
)->GetCommand();
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21086 resultobj
= SWIG_FromInt((int)result
);
21093 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
21095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21096 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21098 return Py_BuildValue((char *)"");
21100 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21101 PyObject
*resultobj
;
21103 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21104 wxAcceleratorTable
*result
;
21105 PyObject
* obj0
= 0 ;
21106 char *kwnames
[] = {
21110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21112 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21113 if (arg2
) arg1
= PyList_Size(obj0
);
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21136 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21138 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21139 PyObject
* obj0
= 0 ;
21140 char *kwnames
[] = {
21141 (char *) "self", NULL
21144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21154 Py_INCREF(Py_None
); resultobj
= Py_None
;
21161 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21162 PyObject
*resultobj
;
21163 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21165 PyObject
* obj0
= 0 ;
21166 char *kwnames
[] = {
21167 (char *) "self", NULL
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21189 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21192 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21194 return Py_BuildValue((char *)"");
21196 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21197 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21202 static PyObject
*_wrap_NullAcceleratorTable_get() {
21205 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21210 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21211 PyObject
*resultobj
;
21212 wxString
*arg1
= 0 ;
21213 wxAcceleratorEntry
*result
;
21214 bool temp1
= False
;
21215 PyObject
* obj0
= 0 ;
21216 char *kwnames
[] = {
21217 (char *) "label", NULL
21220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21222 arg1
= wxString_in_helper(obj0
);
21223 if (arg1
== NULL
) SWIG_fail
;
21227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21228 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21230 wxPyEndAllowThreads(__tstate
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21248 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21249 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21254 static PyObject
*_wrap_PanelNameStr_get() {
21259 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21261 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21268 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
;
21270 wxVisualAttributes
*result
;
21271 char *kwnames
[] = {
21275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21278 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21290 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21291 PyObject
*resultobj
;
21292 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21293 PyObject
* obj0
= 0 ;
21294 char *kwnames
[] = {
21295 (char *) "self", NULL
21298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21303 delete_wxVisualAttributes(arg1
);
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21308 Py_INCREF(Py_None
); resultobj
= Py_None
;
21315 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
;
21317 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21318 wxFont
*arg2
= (wxFont
*) 0 ;
21319 PyObject
* obj0
= 0 ;
21320 PyObject
* obj1
= 0 ;
21321 char *kwnames
[] = {
21322 (char *) "self",(char *) "font", NULL
21325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21330 if (arg1
) (arg1
)->font
= *arg2
;
21332 Py_INCREF(Py_None
); resultobj
= Py_None
;
21339 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21351 result
= (wxFont
*)& ((arg1
)->font
);
21353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21360 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21361 PyObject
*resultobj
;
21362 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21363 wxColour
*arg2
= (wxColour
*) 0 ;
21364 PyObject
* obj0
= 0 ;
21365 PyObject
* obj1
= 0 ;
21366 char *kwnames
[] = {
21367 (char *) "self",(char *) "colFg", NULL
21370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21375 if (arg1
) (arg1
)->colFg
= *arg2
;
21377 Py_INCREF(Py_None
); resultobj
= Py_None
;
21384 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21385 PyObject
*resultobj
;
21386 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21388 PyObject
* obj0
= 0 ;
21389 char *kwnames
[] = {
21390 (char *) "self", NULL
21393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21396 result
= (wxColour
*)& ((arg1
)->colFg
);
21398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21405 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21406 PyObject
*resultobj
;
21407 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21408 wxColour
*arg2
= (wxColour
*) 0 ;
21409 PyObject
* obj0
= 0 ;
21410 PyObject
* obj1
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self",(char *) "colBg", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21420 if (arg1
) (arg1
)->colBg
= *arg2
;
21422 Py_INCREF(Py_None
); resultobj
= Py_None
;
21429 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
;
21431 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21433 PyObject
* obj0
= 0 ;
21434 char *kwnames
[] = {
21435 (char *) "self", NULL
21438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21441 result
= (wxColour
*)& ((arg1
)->colBg
);
21443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21450 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21453 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21455 return Py_BuildValue((char *)"");
21457 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21458 PyObject
*resultobj
;
21459 wxWindow
*arg1
= (wxWindow
*) 0 ;
21460 int arg2
= (int) (int)-1 ;
21461 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21462 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21463 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21464 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21465 long arg5
= (long) 0 ;
21466 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21467 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21471 bool temp6
= False
;
21472 PyObject
* obj0
= 0 ;
21473 PyObject
* obj1
= 0 ;
21474 PyObject
* obj2
= 0 ;
21475 PyObject
* obj3
= 0 ;
21476 PyObject
* obj4
= 0 ;
21477 PyObject
* obj5
= 0 ;
21478 char *kwnames
[] = {
21479 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21486 arg2
= (int const) SWIG_AsInt(obj1
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21492 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21498 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21502 arg5
= (long) SWIG_AsLong(obj4
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21507 arg6
= wxString_in_helper(obj5
);
21508 if (arg6
== NULL
) SWIG_fail
;
21513 if (!wxPyCheckForApp()) SWIG_fail
;
21514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21515 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21535 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
;
21538 char *kwnames
[] = {
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21544 if (!wxPyCheckForApp()) SWIG_fail
;
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= (wxWindow
*)new wxWindow();
21548 wxPyEndAllowThreads(__tstate
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21558 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
;
21560 wxWindow
*arg1
= (wxWindow
*) 0 ;
21561 wxWindow
*arg2
= (wxWindow
*) 0 ;
21562 int arg3
= (int) (int)-1 ;
21563 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21564 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21565 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21566 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21567 long arg6
= (long) 0 ;
21568 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21569 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21573 bool temp7
= False
;
21574 PyObject
* obj0
= 0 ;
21575 PyObject
* obj1
= 0 ;
21576 PyObject
* obj2
= 0 ;
21577 PyObject
* obj3
= 0 ;
21578 PyObject
* obj4
= 0 ;
21579 PyObject
* obj5
= 0 ;
21580 PyObject
* obj6
= 0 ;
21581 char *kwnames
[] = {
21582 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21591 arg3
= (int const) SWIG_AsInt(obj2
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21597 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21603 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21607 arg6
= (long) SWIG_AsLong(obj5
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21612 arg7
= wxString_in_helper(obj6
);
21613 if (arg7
== NULL
) SWIG_fail
;
21618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21621 wxPyEndAllowThreads(__tstate
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21641 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
;
21643 wxWindow
*arg1
= (wxWindow
*) 0 ;
21644 bool arg2
= (bool) False
;
21646 PyObject
* obj0
= 0 ;
21647 PyObject
* obj1
= 0 ;
21648 char *kwnames
[] = {
21649 (char *) "self",(char *) "force", NULL
21652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21656 arg2
= (bool) SWIG_AsBool(obj1
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 result
= (bool)(arg1
)->Close(arg2
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21675 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
;
21677 wxWindow
*arg1
= (wxWindow
*) 0 ;
21679 PyObject
* obj0
= 0 ;
21680 char *kwnames
[] = {
21681 (char *) "self", NULL
21684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 result
= (bool)(arg1
)->Destroy();
21691 wxPyEndAllowThreads(__tstate
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21703 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21704 PyObject
*resultobj
;
21705 wxWindow
*arg1
= (wxWindow
*) 0 ;
21707 PyObject
* obj0
= 0 ;
21708 char *kwnames
[] = {
21709 (char *) "self", NULL
21712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 result
= (bool)(arg1
)->DestroyChildren();
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21731 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
;
21733 wxWindow
*arg1
= (wxWindow
*) 0 ;
21735 PyObject
* obj0
= 0 ;
21736 char *kwnames
[] = {
21737 (char *) "self", NULL
21740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21759 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21760 PyObject
*resultobj
;
21761 wxWindow
*arg1
= (wxWindow
*) 0 ;
21762 wxString
*arg2
= 0 ;
21763 bool temp2
= False
;
21764 PyObject
* obj0
= 0 ;
21765 PyObject
* obj1
= 0 ;
21766 char *kwnames
[] = {
21767 (char *) "self",(char *) "title", NULL
21770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21774 arg2
= wxString_in_helper(obj1
);
21775 if (arg2
== NULL
) SWIG_fail
;
21779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21780 (arg1
)->SetTitle((wxString
const &)*arg2
);
21782 wxPyEndAllowThreads(__tstate
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21785 Py_INCREF(Py_None
); resultobj
= Py_None
;
21800 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21801 PyObject
*resultobj
;
21802 wxWindow
*arg1
= (wxWindow
*) 0 ;
21804 PyObject
* obj0
= 0 ;
21805 char *kwnames
[] = {
21806 (char *) "self", NULL
21809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= ((wxWindow
const *)arg1
)->GetTitle();
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21832 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21833 PyObject
*resultobj
;
21834 wxWindow
*arg1
= (wxWindow
*) 0 ;
21835 wxString
*arg2
= 0 ;
21836 bool temp2
= False
;
21837 PyObject
* obj0
= 0 ;
21838 PyObject
* obj1
= 0 ;
21839 char *kwnames
[] = {
21840 (char *) "self",(char *) "label", NULL
21843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21847 arg2
= wxString_in_helper(obj1
);
21848 if (arg2
== NULL
) SWIG_fail
;
21852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21853 (arg1
)->SetLabel((wxString
const &)*arg2
);
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21858 Py_INCREF(Py_None
); resultobj
= Py_None
;
21873 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxWindow
*arg1
= (wxWindow
*) 0 ;
21877 PyObject
* obj0
= 0 ;
21878 char *kwnames
[] = {
21879 (char *) "self", NULL
21882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 result
= ((wxWindow
const *)arg1
)->GetLabel();
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21905 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21906 PyObject
*resultobj
;
21907 wxWindow
*arg1
= (wxWindow
*) 0 ;
21908 wxString
*arg2
= 0 ;
21909 bool temp2
= False
;
21910 PyObject
* obj0
= 0 ;
21911 PyObject
* obj1
= 0 ;
21912 char *kwnames
[] = {
21913 (char *) "self",(char *) "name", NULL
21916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21920 arg2
= wxString_in_helper(obj1
);
21921 if (arg2
== NULL
) SWIG_fail
;
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 (arg1
)->SetName((wxString
const &)*arg2
);
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 Py_INCREF(Py_None
); resultobj
= Py_None
;
21946 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
;
21948 wxWindow
*arg1
= (wxWindow
*) 0 ;
21950 PyObject
* obj0
= 0 ;
21951 char *kwnames
[] = {
21952 (char *) "self", NULL
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 result
= ((wxWindow
const *)arg1
)->GetName();
21962 wxPyEndAllowThreads(__tstate
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21978 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
;
21980 wxWindow
*arg1
= (wxWindow
*) 0 ;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 char *kwnames
[] = {
21985 (char *) "self",(char *) "variant", NULL
21988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21991 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21997 wxPyEndAllowThreads(__tstate
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22000 Py_INCREF(Py_None
); resultobj
= Py_None
;
22007 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22008 PyObject
*resultobj
;
22009 wxWindow
*arg1
= (wxWindow
*) 0 ;
22011 PyObject
* obj0
= 0 ;
22012 char *kwnames
[] = {
22013 (char *) "self", NULL
22016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22021 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22026 resultobj
= SWIG_FromInt((int)result
);
22033 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22034 PyObject
*resultobj
;
22035 wxWindow
*arg1
= (wxWindow
*) 0 ;
22037 PyObject
* obj0
= 0 ;
22038 PyObject
* obj1
= 0 ;
22039 char *kwnames
[] = {
22040 (char *) "self",(char *) "winid", NULL
22043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22046 arg2
= (int) SWIG_AsInt(obj1
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 (arg1
)->SetId(arg2
);
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22055 Py_INCREF(Py_None
); resultobj
= Py_None
;
22062 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22063 PyObject
*resultobj
;
22064 wxWindow
*arg1
= (wxWindow
*) 0 ;
22066 PyObject
* obj0
= 0 ;
22067 char *kwnames
[] = {
22068 (char *) "self", NULL
22071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (int)((wxWindow
const *)arg1
)->GetId();
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22081 resultobj
= SWIG_FromInt((int)result
);
22088 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22089 PyObject
*resultobj
;
22091 char *kwnames
[] = {
22095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 result
= (int)wxWindow::NewControlId();
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22103 resultobj
= SWIG_FromInt((int)result
);
22110 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22111 PyObject
*resultobj
;
22114 PyObject
* obj0
= 0 ;
22115 char *kwnames
[] = {
22116 (char *) "winid", NULL
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22120 arg1
= (int) SWIG_AsInt(obj0
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= (int)wxWindow::NextControlId(arg1
);
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22129 resultobj
= SWIG_FromInt((int)result
);
22136 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22137 PyObject
*resultobj
;
22140 PyObject
* obj0
= 0 ;
22141 char *kwnames
[] = {
22142 (char *) "winid", NULL
22145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22146 arg1
= (int) SWIG_AsInt(obj0
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (int)wxWindow::PrevControlId(arg1
);
22152 wxPyEndAllowThreads(__tstate
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= SWIG_FromInt((int)result
);
22162 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
;
22164 wxWindow
*arg1
= (wxWindow
*) 0 ;
22167 PyObject
* obj0
= 0 ;
22168 PyObject
* obj1
= 0 ;
22169 char *kwnames
[] = {
22170 (char *) "self",(char *) "size", NULL
22173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22178 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 (arg1
)->SetSize((wxSize
const &)*arg2
);
22184 wxPyEndAllowThreads(__tstate
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22187 Py_INCREF(Py_None
); resultobj
= Py_None
;
22194 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22195 PyObject
*resultobj
;
22196 wxWindow
*arg1
= (wxWindow
*) 0 ;
22201 int arg6
= (int) wxSIZE_AUTO
;
22202 PyObject
* obj0
= 0 ;
22203 PyObject
* obj1
= 0 ;
22204 PyObject
* obj2
= 0 ;
22205 PyObject
* obj3
= 0 ;
22206 PyObject
* obj4
= 0 ;
22207 PyObject
* obj5
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22215 arg2
= (int) SWIG_AsInt(obj1
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22217 arg3
= (int) SWIG_AsInt(obj2
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22219 arg4
= (int) SWIG_AsInt(obj3
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22221 arg5
= (int) SWIG_AsInt(obj4
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 arg6
= (int) SWIG_AsInt(obj5
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22229 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22231 wxPyEndAllowThreads(__tstate
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22234 Py_INCREF(Py_None
); resultobj
= Py_None
;
22241 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22242 PyObject
*resultobj
;
22243 wxWindow
*arg1
= (wxWindow
*) 0 ;
22245 int arg3
= (int) wxSIZE_AUTO
;
22247 PyObject
* obj0
= 0 ;
22248 PyObject
* obj1
= 0 ;
22249 PyObject
* obj2
= 0 ;
22250 char *kwnames
[] = {
22251 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22259 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22262 arg3
= (int) SWIG_AsInt(obj2
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 Py_INCREF(Py_None
); resultobj
= Py_None
;
22279 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
;
22281 wxWindow
*arg1
= (wxWindow
*) 0 ;
22284 PyObject
* obj0
= 0 ;
22285 PyObject
* obj1
= 0 ;
22286 PyObject
* obj2
= 0 ;
22287 char *kwnames
[] = {
22288 (char *) "self",(char *) "width",(char *) "height", NULL
22291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22294 arg2
= (int) SWIG_AsInt(obj1
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22296 arg3
= (int) SWIG_AsInt(obj2
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22300 (arg1
)->SetSize(arg2
,arg3
);
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22305 Py_INCREF(Py_None
); resultobj
= Py_None
;
22312 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
;
22314 wxWindow
*arg1
= (wxWindow
*) 0 ;
22315 wxPoint
*arg2
= 0 ;
22316 int arg3
= (int) wxSIZE_USE_EXISTING
;
22318 PyObject
* obj0
= 0 ;
22319 PyObject
* obj1
= 0 ;
22320 PyObject
* obj2
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self",(char *) "pt",(char *) "flags", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22330 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22333 arg3
= (int) SWIG_AsInt(obj2
);
22334 if (PyErr_Occurred()) SWIG_fail
;
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22343 Py_INCREF(Py_None
); resultobj
= Py_None
;
22350 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22351 PyObject
*resultobj
;
22352 wxWindow
*arg1
= (wxWindow
*) 0 ;
22355 int arg4
= (int) wxSIZE_USE_EXISTING
;
22356 PyObject
* obj0
= 0 ;
22357 PyObject
* obj1
= 0 ;
22358 PyObject
* obj2
= 0 ;
22359 PyObject
* obj3
= 0 ;
22360 char *kwnames
[] = {
22361 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22367 arg2
= (int) SWIG_AsInt(obj1
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22369 arg3
= (int) SWIG_AsInt(obj2
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 arg4
= (int) SWIG_AsInt(obj3
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 (arg1
)->Move(arg2
,arg3
,arg4
);
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 Py_INCREF(Py_None
); resultobj
= Py_None
;
22389 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22390 PyObject
*resultobj
;
22391 wxWindow
*arg1
= (wxWindow
*) 0 ;
22392 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22393 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "self",(char *) "size", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22407 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 Py_INCREF(Py_None
); resultobj
= Py_None
;
22424 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22426 wxWindow
*arg1
= (wxWindow
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 Py_INCREF(Py_None
); resultobj
= Py_None
;
22449 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22451 wxWindow
*arg1
= (wxWindow
*) 0 ;
22452 PyObject
* obj0
= 0 ;
22453 char *kwnames
[] = {
22454 (char *) "self", NULL
22457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 Py_INCREF(Py_None
); resultobj
= Py_None
;
22474 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
;
22476 wxWindow
*arg1
= (wxWindow
*) 0 ;
22479 PyObject
* obj0
= 0 ;
22480 PyObject
* obj1
= 0 ;
22481 char *kwnames
[] = {
22482 (char *) "self",(char *) "size", NULL
22485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22490 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 Py_INCREF(Py_None
); resultobj
= Py_None
;
22506 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22507 PyObject
*resultobj
;
22508 wxWindow
*arg1
= (wxWindow
*) 0 ;
22511 PyObject
* obj0
= 0 ;
22512 PyObject
* obj1
= 0 ;
22513 PyObject
* obj2
= 0 ;
22514 char *kwnames
[] = {
22515 (char *) "self",(char *) "width",(char *) "height", NULL
22518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22521 arg2
= (int) SWIG_AsInt(obj1
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22523 arg3
= (int) SWIG_AsInt(obj2
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 (arg1
)->SetClientSize(arg2
,arg3
);
22529 wxPyEndAllowThreads(__tstate
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22532 Py_INCREF(Py_None
); resultobj
= Py_None
;
22539 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22540 PyObject
*resultobj
;
22541 wxWindow
*arg1
= (wxWindow
*) 0 ;
22544 PyObject
* obj0
= 0 ;
22545 PyObject
* obj1
= 0 ;
22546 char *kwnames
[] = {
22547 (char *) "self",(char *) "rect", NULL
22550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22555 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 Py_INCREF(Py_None
); resultobj
= Py_None
;
22571 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
;
22573 wxWindow
*arg1
= (wxWindow
*) 0 ;
22575 PyObject
* obj0
= 0 ;
22576 char *kwnames
[] = {
22577 (char *) "self", NULL
22580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 result
= (arg1
)->GetPosition();
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22591 wxPoint
* resultptr
;
22592 resultptr
= new wxPoint((wxPoint
&) result
);
22593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22601 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
;
22603 wxWindow
*arg1
= (wxWindow
*) 0 ;
22604 int *arg2
= (int *) 0 ;
22605 int *arg3
= (int *) 0 ;
22608 PyObject
* obj0
= 0 ;
22609 char *kwnames
[] = {
22610 (char *) "self", NULL
22615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 (arg1
)->GetPosition(arg2
,arg3
);
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 Py_INCREF(Py_None
); resultobj
= Py_None
;
22627 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22628 resultobj
= t_output_helper(resultobj
,o
);
22631 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22632 resultobj
= t_output_helper(resultobj
,o
);
22640 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22642 wxWindow
*arg1
= (wxWindow
*) 0 ;
22644 PyObject
* obj0
= 0 ;
22645 char *kwnames
[] = {
22646 (char *) "self", NULL
22649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 result
= ((wxWindow
const *)arg1
)->GetSize();
22656 wxPyEndAllowThreads(__tstate
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22660 wxSize
* resultptr
;
22661 resultptr
= new wxSize((wxSize
&) result
);
22662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22670 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22671 PyObject
*resultobj
;
22672 wxWindow
*arg1
= (wxWindow
*) 0 ;
22673 int *arg2
= (int *) 0 ;
22674 int *arg3
= (int *) 0 ;
22677 PyObject
* obj0
= 0 ;
22678 char *kwnames
[] = {
22679 (char *) "self", NULL
22684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22691 wxPyEndAllowThreads(__tstate
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22694 Py_INCREF(Py_None
); resultobj
= Py_None
;
22696 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22697 resultobj
= t_output_helper(resultobj
,o
);
22700 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22701 resultobj
= t_output_helper(resultobj
,o
);
22709 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
;
22711 wxWindow
*arg1
= (wxWindow
*) 0 ;
22713 PyObject
* obj0
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "self", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 result
= ((wxWindow
const *)arg1
)->GetRect();
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22729 wxRect
* resultptr
;
22730 resultptr
= new wxRect((wxRect
&) result
);
22731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22739 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxWindow
*arg1
= (wxWindow
*) 0 ;
22743 PyObject
* obj0
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22755 wxPyEndAllowThreads(__tstate
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22759 wxSize
* resultptr
;
22760 resultptr
= new wxSize((wxSize
&) result
);
22761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22769 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22770 PyObject
*resultobj
;
22771 wxWindow
*arg1
= (wxWindow
*) 0 ;
22772 int *arg2
= (int *) 0 ;
22773 int *arg3
= (int *) 0 ;
22776 PyObject
* obj0
= 0 ;
22777 char *kwnames
[] = {
22778 (char *) "self", NULL
22783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22788 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22790 wxPyEndAllowThreads(__tstate
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 Py_INCREF(Py_None
); resultobj
= Py_None
;
22795 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22796 resultobj
= t_output_helper(resultobj
,o
);
22799 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22800 resultobj
= t_output_helper(resultobj
,o
);
22808 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22809 PyObject
*resultobj
;
22810 wxWindow
*arg1
= (wxWindow
*) 0 ;
22812 PyObject
* obj0
= 0 ;
22813 char *kwnames
[] = {
22814 (char *) "self", NULL
22817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22824 wxPyEndAllowThreads(__tstate
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22828 wxPoint
* resultptr
;
22829 resultptr
= new wxPoint((wxPoint
&) result
);
22830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22838 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22839 PyObject
*resultobj
;
22840 wxWindow
*arg1
= (wxWindow
*) 0 ;
22842 PyObject
* obj0
= 0 ;
22843 char *kwnames
[] = {
22844 (char *) "self", NULL
22847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22858 wxRect
* resultptr
;
22859 resultptr
= new wxRect((wxRect
&) result
);
22860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22868 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22869 PyObject
*resultobj
;
22870 wxWindow
*arg1
= (wxWindow
*) 0 ;
22872 PyObject
* obj0
= 0 ;
22873 char *kwnames
[] = {
22874 (char *) "self", NULL
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22888 wxSize
* resultptr
;
22889 resultptr
= new wxSize((wxSize
&) result
);
22890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22898 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
;
22900 wxWindow
*arg1
= (wxWindow
*) 0 ;
22901 int *arg2
= (int *) 0 ;
22902 int *arg3
= (int *) 0 ;
22905 PyObject
* obj0
= 0 ;
22906 char *kwnames
[] = {
22907 (char *) "self", NULL
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22917 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 Py_INCREF(Py_None
); resultobj
= Py_None
;
22924 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22925 resultobj
= t_output_helper(resultobj
,o
);
22928 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22929 resultobj
= t_output_helper(resultobj
,o
);
22937 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22938 PyObject
*resultobj
;
22939 wxWindow
*arg1
= (wxWindow
*) 0 ;
22940 PyObject
* obj0
= 0 ;
22941 char *kwnames
[] = {
22942 (char *) "self", NULL
22945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
22946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 (arg1
)->InvalidateBestSize();
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 Py_INCREF(Py_None
); resultobj
= Py_None
;
22962 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22963 PyObject
*resultobj
;
22964 wxWindow
*arg1
= (wxWindow
*) 0 ;
22966 PyObject
* obj0
= 0 ;
22967 char *kwnames
[] = {
22968 (char *) "self", NULL
22971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
22972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22982 wxSize
* resultptr
;
22983 resultptr
= new wxSize((wxSize
&) result
);
22984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22992 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22993 PyObject
*resultobj
;
22994 wxWindow
*arg1
= (wxWindow
*) 0 ;
22996 PyObject
* obj0
= 0 ;
22997 char *kwnames
[] = {
22998 (char *) "self", NULL
23001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23012 wxSize
* resultptr
;
23013 resultptr
= new wxSize((wxSize
&) result
);
23014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23022 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23023 PyObject
*resultobj
;
23024 wxWindow
*arg1
= (wxWindow
*) 0 ;
23025 int arg2
= (int) wxBOTH
;
23026 PyObject
* obj0
= 0 ;
23027 PyObject
* obj1
= 0 ;
23028 char *kwnames
[] = {
23029 (char *) "self",(char *) "direction", NULL
23032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23036 arg2
= (int) SWIG_AsInt(obj1
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 (arg1
)->Center(arg2
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 Py_INCREF(Py_None
); resultobj
= Py_None
;
23053 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
;
23055 wxWindow
*arg1
= (wxWindow
*) 0 ;
23056 int arg2
= (int) wxBOTH
;
23057 PyObject
* obj0
= 0 ;
23058 PyObject
* obj1
= 0 ;
23059 char *kwnames
[] = {
23060 (char *) "self",(char *) "dir", NULL
23063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23067 arg2
= (int) SWIG_AsInt(obj1
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 (arg1
)->CenterOnScreen(arg2
);
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23077 Py_INCREF(Py_None
); resultobj
= Py_None
;
23084 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 wxWindow
*arg1
= (wxWindow
*) 0 ;
23087 int arg2
= (int) wxBOTH
;
23088 PyObject
* obj0
= 0 ;
23089 PyObject
* obj1
= 0 ;
23090 char *kwnames
[] = {
23091 (char *) "self",(char *) "dir", NULL
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23098 arg2
= (int) SWIG_AsInt(obj1
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 (arg1
)->CenterOnParent(arg2
);
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23108 Py_INCREF(Py_None
); resultobj
= Py_None
;
23115 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23116 PyObject
*resultobj
;
23117 wxWindow
*arg1
= (wxWindow
*) 0 ;
23118 PyObject
* obj0
= 0 ;
23119 char *kwnames
[] = {
23120 (char *) "self", NULL
23123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 wxPyEndAllowThreads(__tstate
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23133 Py_INCREF(Py_None
); resultobj
= Py_None
;
23140 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23141 PyObject
*resultobj
;
23142 wxWindow
*arg1
= (wxWindow
*) 0 ;
23143 PyObject
* obj0
= 0 ;
23144 char *kwnames
[] = {
23145 (char *) "self", NULL
23148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 (arg1
)->FitInside();
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 Py_INCREF(Py_None
); resultobj
= Py_None
;
23165 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
;
23167 wxWindow
*arg1
= (wxWindow
*) 0 ;
23170 int arg4
= (int) -1 ;
23171 int arg5
= (int) -1 ;
23172 int arg6
= (int) -1 ;
23173 int arg7
= (int) -1 ;
23174 PyObject
* obj0
= 0 ;
23175 PyObject
* obj1
= 0 ;
23176 PyObject
* obj2
= 0 ;
23177 PyObject
* obj3
= 0 ;
23178 PyObject
* obj4
= 0 ;
23179 PyObject
* obj5
= 0 ;
23180 PyObject
* obj6
= 0 ;
23181 char *kwnames
[] = {
23182 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23188 arg2
= (int) SWIG_AsInt(obj1
);
23189 if (PyErr_Occurred()) SWIG_fail
;
23190 arg3
= (int) SWIG_AsInt(obj2
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23193 arg4
= (int) SWIG_AsInt(obj3
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23197 arg5
= (int) SWIG_AsInt(obj4
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23201 arg6
= (int) SWIG_AsInt(obj5
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23205 arg7
= (int) SWIG_AsInt(obj6
);
23206 if (PyErr_Occurred()) SWIG_fail
;
23209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23210 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 Py_INCREF(Py_None
); resultobj
= Py_None
;
23222 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
;
23224 wxWindow
*arg1
= (wxWindow
*) 0 ;
23226 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23227 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23228 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23229 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23233 PyObject
* obj0
= 0 ;
23234 PyObject
* obj1
= 0 ;
23235 PyObject
* obj2
= 0 ;
23236 PyObject
* obj3
= 0 ;
23237 char *kwnames
[] = {
23238 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23246 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23251 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23257 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23262 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23264 wxPyEndAllowThreads(__tstate
);
23265 if (PyErr_Occurred()) SWIG_fail
;
23267 Py_INCREF(Py_None
); resultobj
= Py_None
;
23274 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
;
23276 wxWindow
*arg1
= (wxWindow
*) 0 ;
23279 int arg4
= (int) -1 ;
23280 int arg5
= (int) -1 ;
23281 PyObject
* obj0
= 0 ;
23282 PyObject
* obj1
= 0 ;
23283 PyObject
* obj2
= 0 ;
23284 PyObject
* obj3
= 0 ;
23285 PyObject
* obj4
= 0 ;
23286 char *kwnames
[] = {
23287 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23293 arg2
= (int) SWIG_AsInt(obj1
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23295 arg3
= (int) SWIG_AsInt(obj2
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23298 arg4
= (int) SWIG_AsInt(obj3
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23302 arg5
= (int) SWIG_AsInt(obj4
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23309 wxPyEndAllowThreads(__tstate
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23312 Py_INCREF(Py_None
); resultobj
= Py_None
;
23319 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23320 PyObject
*resultobj
;
23321 wxWindow
*arg1
= (wxWindow
*) 0 ;
23323 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23324 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23327 PyObject
* obj0
= 0 ;
23328 PyObject
* obj1
= 0 ;
23329 PyObject
* obj2
= 0 ;
23330 char *kwnames
[] = {
23331 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23339 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23344 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23354 Py_INCREF(Py_None
); resultobj
= Py_None
;
23361 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
;
23363 wxWindow
*arg1
= (wxWindow
*) 0 ;
23365 PyObject
* obj0
= 0 ;
23366 char *kwnames
[] = {
23367 (char *) "self", NULL
23370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23381 wxSize
* resultptr
;
23382 resultptr
= new wxSize((wxSize
&) result
);
23383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23391 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23393 wxWindow
*arg1
= (wxWindow
*) 0 ;
23395 PyObject
* obj0
= 0 ;
23396 char *kwnames
[] = {
23397 (char *) "self", NULL
23400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23411 wxSize
* resultptr
;
23412 resultptr
= new wxSize((wxSize
&) result
);
23413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23421 static PyObject
*_wrap_Window_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23422 PyObject
*resultobj
;
23423 wxWindow
*arg1
= (wxWindow
*) 0 ;
23426 PyObject
* obj0
= 0 ;
23427 PyObject
* obj1
= 0 ;
23428 char *kwnames
[] = {
23429 (char *) "self",(char *) "minSize", NULL
23432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23437 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23446 Py_INCREF(Py_None
); resultobj
= Py_None
;
23453 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23454 PyObject
*resultobj
;
23455 wxWindow
*arg1
= (wxWindow
*) 0 ;
23458 PyObject
* obj0
= 0 ;
23459 PyObject
* obj1
= 0 ;
23460 char *kwnames
[] = {
23461 (char *) "self",(char *) "maxSize", NULL
23464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23469 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23473 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 Py_INCREF(Py_None
); resultobj
= Py_None
;
23485 static PyObject
*_wrap_Window_GetMinWidth(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_GetMinWidth",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
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23501 wxPyEndAllowThreads(__tstate
);
23502 if (PyErr_Occurred()) SWIG_fail
;
23504 resultobj
= SWIG_FromInt((int)result
);
23511 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23512 PyObject
*resultobj
;
23513 wxWindow
*arg1
= (wxWindow
*) 0 ;
23515 PyObject
* obj0
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23530 resultobj
= SWIG_FromInt((int)result
);
23537 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23538 PyObject
*resultobj
;
23539 wxWindow
*arg1
= (wxWindow
*) 0 ;
23541 PyObject
* obj0
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23556 resultobj
= SWIG_FromInt((int)result
);
23563 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
;
23565 wxWindow
*arg1
= (wxWindow
*) 0 ;
23567 PyObject
* obj0
= 0 ;
23568 char *kwnames
[] = {
23569 (char *) "self", NULL
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_FromInt((int)result
);
23589 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23590 PyObject
*resultobj
;
23591 wxWindow
*arg1
= (wxWindow
*) 0 ;
23594 PyObject
* obj0
= 0 ;
23595 PyObject
* obj1
= 0 ;
23596 char *kwnames
[] = {
23597 (char *) "self",(char *) "size", NULL
23600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23605 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23611 wxPyEndAllowThreads(__tstate
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23614 Py_INCREF(Py_None
); resultobj
= Py_None
;
23621 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23622 PyObject
*resultobj
;
23623 wxWindow
*arg1
= (wxWindow
*) 0 ;
23626 PyObject
* obj0
= 0 ;
23627 PyObject
* obj1
= 0 ;
23628 PyObject
* obj2
= 0 ;
23629 char *kwnames
[] = {
23630 (char *) "self",(char *) "w",(char *) "h", NULL
23633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23636 arg2
= (int) SWIG_AsInt(obj1
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23638 arg3
= (int) SWIG_AsInt(obj2
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23642 (arg1
)->SetVirtualSize(arg2
,arg3
);
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 Py_INCREF(Py_None
); resultobj
= Py_None
;
23654 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
;
23656 wxWindow
*arg1
= (wxWindow
*) 0 ;
23658 PyObject
* obj0
= 0 ;
23659 char *kwnames
[] = {
23660 (char *) "self", NULL
23663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23674 wxSize
* resultptr
;
23675 resultptr
= new wxSize((wxSize
&) result
);
23676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23684 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23685 PyObject
*resultobj
;
23686 wxWindow
*arg1
= (wxWindow
*) 0 ;
23687 int *arg2
= (int *) 0 ;
23688 int *arg3
= (int *) 0 ;
23691 PyObject
* obj0
= 0 ;
23692 char *kwnames
[] = {
23693 (char *) "self", NULL
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 Py_INCREF(Py_None
); resultobj
= Py_None
;
23710 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23711 resultobj
= t_output_helper(resultobj
,o
);
23714 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23715 resultobj
= t_output_helper(resultobj
,o
);
23723 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
;
23725 wxWindow
*arg1
= (wxWindow
*) 0 ;
23727 PyObject
* obj0
= 0 ;
23728 char *kwnames
[] = {
23729 (char *) "self", NULL
23732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23743 wxSize
* resultptr
;
23744 resultptr
= new wxSize((wxSize
&) result
);
23745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23753 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxWindow
*arg1
= (wxWindow
*) 0 ;
23756 bool arg2
= (bool) True
;
23758 PyObject
* obj0
= 0 ;
23759 PyObject
* obj1
= 0 ;
23760 char *kwnames
[] = {
23761 (char *) "self",(char *) "show", NULL
23764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23768 arg2
= (bool) SWIG_AsBool(obj1
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 result
= (bool)(arg1
)->Show(arg2
);
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23787 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23788 PyObject
*resultobj
;
23789 wxWindow
*arg1
= (wxWindow
*) 0 ;
23791 PyObject
* obj0
= 0 ;
23792 char *kwnames
[] = {
23793 (char *) "self", NULL
23796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 result
= (bool)(arg1
)->Hide();
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23815 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23816 PyObject
*resultobj
;
23817 wxWindow
*arg1
= (wxWindow
*) 0 ;
23818 bool arg2
= (bool) True
;
23820 PyObject
* obj0
= 0 ;
23821 PyObject
* obj1
= 0 ;
23822 char *kwnames
[] = {
23823 (char *) "self",(char *) "enable", NULL
23826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23830 arg2
= (bool) SWIG_AsBool(obj1
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 result
= (bool)(arg1
)->Enable(arg2
);
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23849 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23850 PyObject
*resultobj
;
23851 wxWindow
*arg1
= (wxWindow
*) 0 ;
23853 PyObject
* obj0
= 0 ;
23854 char *kwnames
[] = {
23855 (char *) "self", NULL
23858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 result
= (bool)(arg1
)->Disable();
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23877 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23878 PyObject
*resultobj
;
23879 wxWindow
*arg1
= (wxWindow
*) 0 ;
23881 PyObject
* obj0
= 0 ;
23882 char *kwnames
[] = {
23883 (char *) "self", NULL
23886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23891 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23905 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23906 PyObject
*resultobj
;
23907 wxWindow
*arg1
= (wxWindow
*) 0 ;
23909 PyObject
* obj0
= 0 ;
23910 char *kwnames
[] = {
23911 (char *) "self", NULL
23914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23919 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23921 wxPyEndAllowThreads(__tstate
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23933 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23934 PyObject
*resultobj
;
23935 wxWindow
*arg1
= (wxWindow
*) 0 ;
23937 PyObject
* obj0
= 0 ;
23938 PyObject
* obj1
= 0 ;
23939 char *kwnames
[] = {
23940 (char *) "self",(char *) "style", NULL
23943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23946 arg2
= (long) SWIG_AsLong(obj1
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 (arg1
)->SetWindowStyleFlag(arg2
);
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23955 Py_INCREF(Py_None
); resultobj
= Py_None
;
23962 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
;
23964 wxWindow
*arg1
= (wxWindow
*) 0 ;
23966 PyObject
* obj0
= 0 ;
23967 char *kwnames
[] = {
23968 (char *) "self", NULL
23971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 resultobj
= SWIG_FromLong((long)result
);
23988 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23989 PyObject
*resultobj
;
23990 wxWindow
*arg1
= (wxWindow
*) 0 ;
23993 PyObject
* obj0
= 0 ;
23994 PyObject
* obj1
= 0 ;
23995 char *kwnames
[] = {
23996 (char *) "self",(char *) "flag", NULL
23999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24002 arg2
= (int) SWIG_AsInt(obj1
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24006 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24008 wxPyEndAllowThreads(__tstate
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24020 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24021 PyObject
*resultobj
;
24022 wxWindow
*arg1
= (wxWindow
*) 0 ;
24024 PyObject
* obj0
= 0 ;
24025 char *kwnames
[] = {
24026 (char *) "self", NULL
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24048 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24050 wxWindow
*arg1
= (wxWindow
*) 0 ;
24052 PyObject
* obj0
= 0 ;
24053 PyObject
* obj1
= 0 ;
24054 char *kwnames
[] = {
24055 (char *) "self",(char *) "exStyle", NULL
24058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24061 arg2
= (long) SWIG_AsLong(obj1
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24065 (arg1
)->SetExtraStyle(arg2
);
24067 wxPyEndAllowThreads(__tstate
);
24068 if (PyErr_Occurred()) SWIG_fail
;
24070 Py_INCREF(Py_None
); resultobj
= Py_None
;
24077 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24078 PyObject
*resultobj
;
24079 wxWindow
*arg1
= (wxWindow
*) 0 ;
24081 PyObject
* obj0
= 0 ;
24082 char *kwnames
[] = {
24083 (char *) "self", NULL
24086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24091 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24093 wxPyEndAllowThreads(__tstate
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24096 resultobj
= SWIG_FromLong((long)result
);
24103 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
;
24105 wxWindow
*arg1
= (wxWindow
*) 0 ;
24106 bool arg2
= (bool) True
;
24107 PyObject
* obj0
= 0 ;
24108 PyObject
* obj1
= 0 ;
24109 char *kwnames
[] = {
24110 (char *) "self",(char *) "modal", NULL
24113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24117 arg2
= (bool) SWIG_AsBool(obj1
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 (arg1
)->MakeModal(arg2
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 Py_INCREF(Py_None
); resultobj
= Py_None
;
24134 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
;
24136 wxWindow
*arg1
= (wxWindow
*) 0 ;
24138 PyObject
* obj0
= 0 ;
24139 PyObject
* obj1
= 0 ;
24140 char *kwnames
[] = {
24141 (char *) "self",(char *) "enableTheme", NULL
24144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24147 arg2
= (bool) SWIG_AsBool(obj1
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24151 (arg1
)->SetThemeEnabled(arg2
);
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 Py_INCREF(Py_None
); resultobj
= Py_None
;
24163 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
;
24165 wxWindow
*arg1
= (wxWindow
*) 0 ;
24167 PyObject
* obj0
= 0 ;
24168 char *kwnames
[] = {
24169 (char *) "self", NULL
24172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24191 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
;
24193 wxWindow
*arg1
= (wxWindow
*) 0 ;
24194 PyObject
* obj0
= 0 ;
24195 char *kwnames
[] = {
24196 (char *) "self", NULL
24199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24204 (arg1
)->SetFocus();
24206 wxPyEndAllowThreads(__tstate
);
24207 if (PyErr_Occurred()) SWIG_fail
;
24209 Py_INCREF(Py_None
); resultobj
= Py_None
;
24216 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24217 PyObject
*resultobj
;
24218 wxWindow
*arg1
= (wxWindow
*) 0 ;
24219 PyObject
* obj0
= 0 ;
24220 char *kwnames
[] = {
24221 (char *) "self", NULL
24224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 (arg1
)->SetFocusFromKbd();
24231 wxPyEndAllowThreads(__tstate
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24234 Py_INCREF(Py_None
); resultobj
= Py_None
;
24241 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24242 PyObject
*resultobj
;
24244 char *kwnames
[] = {
24248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24250 if (!wxPyCheckForApp()) SWIG_fail
;
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 result
= (wxWindow
*)wxWindow::FindFocus();
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24258 resultobj
= wxPyMake_wxObject(result
, 0);
24266 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24267 PyObject
*resultobj
;
24268 wxWindow
*arg1
= (wxWindow
*) 0 ;
24270 PyObject
* obj0
= 0 ;
24271 char *kwnames
[] = {
24272 (char *) "self", NULL
24275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24294 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24295 PyObject
*resultobj
;
24296 wxWindow
*arg1
= (wxWindow
*) 0 ;
24298 PyObject
* obj0
= 0 ;
24299 char *kwnames
[] = {
24300 (char *) "self", NULL
24303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24310 wxPyEndAllowThreads(__tstate
);
24311 if (PyErr_Occurred()) SWIG_fail
;
24314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24322 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24323 PyObject
*resultobj
;
24324 wxWindow
*arg1
= (wxWindow
*) 0 ;
24326 PyObject
* obj0
= 0 ;
24327 char *kwnames
[] = {
24328 (char *) "self", NULL
24331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24336 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24338 wxPyEndAllowThreads(__tstate
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24342 resultobj
= wxPyMake_wxObject(result
, 0);
24350 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24351 PyObject
*resultobj
;
24352 wxWindow
*arg1
= (wxWindow
*) 0 ;
24353 wxWindow
*arg2
= (wxWindow
*) 0 ;
24355 PyObject
* obj0
= 0 ;
24356 PyObject
* obj1
= 0 ;
24357 char *kwnames
[] = {
24358 (char *) "self",(char *) "child", NULL
24361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= wxPyMake_wxObject(result
, 0);
24382 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24383 PyObject
*resultobj
;
24384 wxWindow
*arg1
= (wxWindow
*) 0 ;
24385 wxWindow
*arg2
= (wxWindow
*) 0 ;
24386 PyObject
* obj0
= 0 ;
24387 PyObject
* obj1
= 0 ;
24388 char *kwnames
[] = {
24389 (char *) "self",(char *) "win", NULL
24392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24399 (arg1
)->SetTmpDefaultItem(arg2
);
24401 wxPyEndAllowThreads(__tstate
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24404 Py_INCREF(Py_None
); resultobj
= Py_None
;
24411 static PyObject
*_wrap_Window_Navigate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24412 PyObject
*resultobj
;
24413 wxWindow
*arg1
= (wxWindow
*) 0 ;
24414 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24416 PyObject
* obj0
= 0 ;
24417 PyObject
* obj1
= 0 ;
24418 char *kwnames
[] = {
24419 (char *) "self",(char *) "flags", NULL
24422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24426 arg2
= (int) SWIG_AsInt(obj1
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24431 result
= (bool)(arg1
)->Navigate(arg2
);
24433 wxPyEndAllowThreads(__tstate
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24445 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
;
24447 wxWindow
*arg1
= (wxWindow
*) 0 ;
24448 wxWindow
*arg2
= (wxWindow
*) 0 ;
24449 PyObject
* obj0
= 0 ;
24450 PyObject
* obj1
= 0 ;
24451 char *kwnames
[] = {
24452 (char *) "self",(char *) "win", NULL
24455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24462 (arg1
)->MoveAfterInTabOrder(arg2
);
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24467 Py_INCREF(Py_None
); resultobj
= Py_None
;
24474 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24475 PyObject
*resultobj
;
24476 wxWindow
*arg1
= (wxWindow
*) 0 ;
24477 wxWindow
*arg2
= (wxWindow
*) 0 ;
24478 PyObject
* obj0
= 0 ;
24479 PyObject
* obj1
= 0 ;
24480 char *kwnames
[] = {
24481 (char *) "self",(char *) "win", NULL
24484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 (arg1
)->MoveBeforeInTabOrder(arg2
);
24493 wxPyEndAllowThreads(__tstate
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24496 Py_INCREF(Py_None
); resultobj
= Py_None
;
24503 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24504 PyObject
*resultobj
;
24505 wxWindow
*arg1
= (wxWindow
*) 0 ;
24507 PyObject
* obj0
= 0 ;
24508 char *kwnames
[] = {
24509 (char *) "self", NULL
24512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24522 resultobj
= result
;
24529 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24530 PyObject
*resultobj
;
24531 wxWindow
*arg1
= (wxWindow
*) 0 ;
24533 PyObject
* obj0
= 0 ;
24534 char *kwnames
[] = {
24535 (char *) "self", NULL
24538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24549 resultobj
= wxPyMake_wxObject(result
, 0);
24557 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24558 PyObject
*resultobj
;
24559 wxWindow
*arg1
= (wxWindow
*) 0 ;
24561 PyObject
* obj0
= 0 ;
24562 char *kwnames
[] = {
24563 (char *) "self", NULL
24566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24571 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24573 wxPyEndAllowThreads(__tstate
);
24574 if (PyErr_Occurred()) SWIG_fail
;
24577 resultobj
= wxPyMake_wxObject(result
, 0);
24585 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24586 PyObject
*resultobj
;
24587 wxWindow
*arg1
= (wxWindow
*) 0 ;
24589 PyObject
* obj0
= 0 ;
24590 char *kwnames
[] = {
24591 (char *) "self", NULL
24594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24601 wxPyEndAllowThreads(__tstate
);
24602 if (PyErr_Occurred()) SWIG_fail
;
24605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24613 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24614 PyObject
*resultobj
;
24615 wxWindow
*arg1
= (wxWindow
*) 0 ;
24616 wxWindow
*arg2
= (wxWindow
*) 0 ;
24618 PyObject
* obj0
= 0 ;
24619 PyObject
* obj1
= 0 ;
24620 char *kwnames
[] = {
24621 (char *) "self",(char *) "newParent", NULL
24624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24631 result
= (bool)(arg1
)->Reparent(arg2
);
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24645 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
;
24647 wxWindow
*arg1
= (wxWindow
*) 0 ;
24648 wxWindow
*arg2
= (wxWindow
*) 0 ;
24649 PyObject
* obj0
= 0 ;
24650 PyObject
* obj1
= 0 ;
24651 char *kwnames
[] = {
24652 (char *) "self",(char *) "child", NULL
24655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24662 (arg1
)->AddChild(arg2
);
24664 wxPyEndAllowThreads(__tstate
);
24665 if (PyErr_Occurred()) SWIG_fail
;
24667 Py_INCREF(Py_None
); resultobj
= Py_None
;
24674 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24675 PyObject
*resultobj
;
24676 wxWindow
*arg1
= (wxWindow
*) 0 ;
24677 wxWindow
*arg2
= (wxWindow
*) 0 ;
24678 PyObject
* obj0
= 0 ;
24679 PyObject
* obj1
= 0 ;
24680 char *kwnames
[] = {
24681 (char *) "self",(char *) "child", NULL
24684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 (arg1
)->RemoveChild(arg2
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 Py_INCREF(Py_None
); resultobj
= Py_None
;
24703 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24704 PyObject
*resultobj
;
24705 wxWindow
*arg1
= (wxWindow
*) 0 ;
24708 PyObject
* obj0
= 0 ;
24709 PyObject
* obj1
= 0 ;
24710 char *kwnames
[] = {
24711 (char *) "self",(char *) "winid", NULL
24714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24717 arg2
= (long) SWIG_AsLong(obj1
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24721 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24727 resultobj
= wxPyMake_wxObject(result
, 0);
24735 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24736 PyObject
*resultobj
;
24737 wxWindow
*arg1
= (wxWindow
*) 0 ;
24738 wxString
*arg2
= 0 ;
24740 bool temp2
= False
;
24741 PyObject
* obj0
= 0 ;
24742 PyObject
* obj1
= 0 ;
24743 char *kwnames
[] = {
24744 (char *) "self",(char *) "name", NULL
24747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24751 arg2
= wxString_in_helper(obj1
);
24752 if (arg2
== NULL
) SWIG_fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= wxPyMake_wxObject(result
, 0);
24779 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24780 PyObject
*resultobj
;
24781 wxWindow
*arg1
= (wxWindow
*) 0 ;
24782 wxEvtHandler
*result
;
24783 PyObject
* obj0
= 0 ;
24784 char *kwnames
[] = {
24785 (char *) "self", NULL
24788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24799 resultobj
= wxPyMake_wxObject(result
, 0);
24807 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 wxWindow
*arg1
= (wxWindow
*) 0 ;
24810 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24811 PyObject
* obj0
= 0 ;
24812 PyObject
* obj1
= 0 ;
24813 char *kwnames
[] = {
24814 (char *) "self",(char *) "handler", NULL
24817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24824 (arg1
)->SetEventHandler(arg2
);
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24829 Py_INCREF(Py_None
); resultobj
= Py_None
;
24836 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
;
24838 wxWindow
*arg1
= (wxWindow
*) 0 ;
24839 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24840 PyObject
* obj0
= 0 ;
24841 PyObject
* obj1
= 0 ;
24842 char *kwnames
[] = {
24843 (char *) "self",(char *) "handler", NULL
24846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 (arg1
)->PushEventHandler(arg2
);
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24858 Py_INCREF(Py_None
); resultobj
= Py_None
;
24865 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24866 PyObject
*resultobj
;
24867 wxWindow
*arg1
= (wxWindow
*) 0 ;
24868 bool arg2
= (bool) False
;
24869 wxEvtHandler
*result
;
24870 PyObject
* obj0
= 0 ;
24871 PyObject
* obj1
= 0 ;
24872 char *kwnames
[] = {
24873 (char *) "self",(char *) "deleteHandler", NULL
24876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24880 arg2
= (bool) SWIG_AsBool(obj1
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24891 resultobj
= wxPyMake_wxObject(result
, 0);
24899 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
;
24901 wxWindow
*arg1
= (wxWindow
*) 0 ;
24902 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24904 PyObject
* obj0
= 0 ;
24905 PyObject
* obj1
= 0 ;
24906 char *kwnames
[] = {
24907 (char *) "self",(char *) "handler", NULL
24910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24931 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
;
24933 wxWindow
*arg1
= (wxWindow
*) 0 ;
24934 wxValidator
*arg2
= 0 ;
24935 PyObject
* obj0
= 0 ;
24936 PyObject
* obj1
= 0 ;
24937 char *kwnames
[] = {
24938 (char *) "self",(char *) "validator", NULL
24941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24947 if (arg2
== NULL
) {
24948 PyErr_SetString(PyExc_TypeError
,"null reference");
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24955 wxPyEndAllowThreads(__tstate
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24958 Py_INCREF(Py_None
); resultobj
= Py_None
;
24965 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
;
24967 wxWindow
*arg1
= (wxWindow
*) 0 ;
24968 wxValidator
*result
;
24969 PyObject
* obj0
= 0 ;
24970 char *kwnames
[] = {
24971 (char *) "self", NULL
24974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24979 result
= (wxValidator
*)(arg1
)->GetValidator();
24981 wxPyEndAllowThreads(__tstate
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24985 resultobj
= wxPyMake_wxObject(result
, 0);
24993 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24994 PyObject
*resultobj
;
24995 wxWindow
*arg1
= (wxWindow
*) 0 ;
24997 PyObject
* obj0
= 0 ;
24998 char *kwnames
[] = {
24999 (char *) "self", NULL
25002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25007 result
= (bool)(arg1
)->Validate();
25009 wxPyEndAllowThreads(__tstate
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25021 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25022 PyObject
*resultobj
;
25023 wxWindow
*arg1
= (wxWindow
*) 0 ;
25025 PyObject
* obj0
= 0 ;
25026 char *kwnames
[] = {
25027 (char *) "self", NULL
25030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25035 result
= (bool)(arg1
)->TransferDataToWindow();
25037 wxPyEndAllowThreads(__tstate
);
25038 if (PyErr_Occurred()) SWIG_fail
;
25041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25049 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25050 PyObject
*resultobj
;
25051 wxWindow
*arg1
= (wxWindow
*) 0 ;
25053 PyObject
* obj0
= 0 ;
25054 char *kwnames
[] = {
25055 (char *) "self", NULL
25058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 result
= (bool)(arg1
)->TransferDataFromWindow();
25065 wxPyEndAllowThreads(__tstate
);
25066 if (PyErr_Occurred()) SWIG_fail
;
25069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25077 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25078 PyObject
*resultobj
;
25079 wxWindow
*arg1
= (wxWindow
*) 0 ;
25080 PyObject
* obj0
= 0 ;
25081 char *kwnames
[] = {
25082 (char *) "self", NULL
25085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25090 (arg1
)->InitDialog();
25092 wxPyEndAllowThreads(__tstate
);
25093 if (PyErr_Occurred()) SWIG_fail
;
25095 Py_INCREF(Py_None
); resultobj
= Py_None
;
25102 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25103 PyObject
*resultobj
;
25104 wxWindow
*arg1
= (wxWindow
*) 0 ;
25105 wxAcceleratorTable
*arg2
= 0 ;
25106 PyObject
* obj0
= 0 ;
25107 PyObject
* obj1
= 0 ;
25108 char *kwnames
[] = {
25109 (char *) "self",(char *) "accel", NULL
25112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25118 if (arg2
== NULL
) {
25119 PyErr_SetString(PyExc_TypeError
,"null reference");
25123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25124 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25126 wxPyEndAllowThreads(__tstate
);
25127 if (PyErr_Occurred()) SWIG_fail
;
25129 Py_INCREF(Py_None
); resultobj
= Py_None
;
25136 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25137 PyObject
*resultobj
;
25138 wxWindow
*arg1
= (wxWindow
*) 0 ;
25139 wxAcceleratorTable
*result
;
25140 PyObject
* obj0
= 0 ;
25141 char *kwnames
[] = {
25142 (char *) "self", NULL
25145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25150 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25152 wxPyEndAllowThreads(__tstate
);
25153 if (PyErr_Occurred()) SWIG_fail
;
25155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25162 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25163 PyObject
*resultobj
;
25164 wxWindow
*arg1
= (wxWindow
*) 0 ;
25169 PyObject
* obj0
= 0 ;
25170 PyObject
* obj1
= 0 ;
25171 PyObject
* obj2
= 0 ;
25172 PyObject
* obj3
= 0 ;
25173 char *kwnames
[] = {
25174 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25180 arg2
= (int) SWIG_AsInt(obj1
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25182 arg3
= (int) SWIG_AsInt(obj2
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25184 arg4
= (int) SWIG_AsInt(obj3
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25188 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25190 wxPyEndAllowThreads(__tstate
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25202 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25203 PyObject
*resultobj
;
25204 wxWindow
*arg1
= (wxWindow
*) 0 ;
25207 PyObject
* obj0
= 0 ;
25208 PyObject
* obj1
= 0 ;
25209 char *kwnames
[] = {
25210 (char *) "self",(char *) "hotkeyId", NULL
25213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25216 arg2
= (int) SWIG_AsInt(obj1
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25234 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25235 PyObject
*resultobj
;
25236 wxWindow
*arg1
= (wxWindow
*) 0 ;
25237 wxPoint
*arg2
= 0 ;
25240 PyObject
* obj0
= 0 ;
25241 PyObject
* obj1
= 0 ;
25242 char *kwnames
[] = {
25243 (char *) "self",(char *) "pt", NULL
25246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25251 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25255 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25261 wxPoint
* resultptr
;
25262 resultptr
= new wxPoint((wxPoint
&) result
);
25263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25271 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25272 PyObject
*resultobj
;
25273 wxWindow
*arg1
= (wxWindow
*) 0 ;
25277 PyObject
* obj0
= 0 ;
25278 PyObject
* obj1
= 0 ;
25279 char *kwnames
[] = {
25280 (char *) "self",(char *) "sz", NULL
25283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25288 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25292 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25298 wxSize
* resultptr
;
25299 resultptr
= new wxSize((wxSize
&) result
);
25300 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25308 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
;
25310 wxWindow
*arg1
= (wxWindow
*) 0 ;
25311 wxPoint
*arg2
= 0 ;
25314 PyObject
* obj0
= 0 ;
25315 PyObject
* obj1
= 0 ;
25316 char *kwnames
[] = {
25317 (char *) "self",(char *) "pt", NULL
25320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25325 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25329 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25331 wxPyEndAllowThreads(__tstate
);
25332 if (PyErr_Occurred()) SWIG_fail
;
25335 wxPoint
* resultptr
;
25336 resultptr
= new wxPoint((wxPoint
&) result
);
25337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25345 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25346 PyObject
*resultobj
;
25347 wxWindow
*arg1
= (wxWindow
*) 0 ;
25351 PyObject
* obj0
= 0 ;
25352 PyObject
* obj1
= 0 ;
25353 char *kwnames
[] = {
25354 (char *) "self",(char *) "sz", NULL
25357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25362 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25372 wxSize
* resultptr
;
25373 resultptr
= new wxSize((wxSize
&) result
);
25374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25382 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25384 wxWindow
*arg1
= (wxWindow
*) 0 ;
25385 wxPoint
*arg2
= 0 ;
25388 PyObject
* obj0
= 0 ;
25389 PyObject
* obj1
= 0 ;
25390 char *kwnames
[] = {
25391 (char *) "self",(char *) "pt", NULL
25394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25399 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25409 wxPoint
* resultptr
;
25410 resultptr
= new wxPoint((wxPoint
&) result
);
25411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25419 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25420 PyObject
*resultobj
;
25421 wxWindow
*arg1
= (wxWindow
*) 0 ;
25425 PyObject
* obj0
= 0 ;
25426 PyObject
* obj1
= 0 ;
25427 char *kwnames
[] = {
25428 (char *) "self",(char *) "sz", NULL
25431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25436 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25440 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25442 wxPyEndAllowThreads(__tstate
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25446 wxSize
* resultptr
;
25447 resultptr
= new wxSize((wxSize
&) result
);
25448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25456 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25457 PyObject
*resultobj
;
25458 wxWindow
*arg1
= (wxWindow
*) 0 ;
25461 PyObject
* obj0
= 0 ;
25462 PyObject
* obj1
= 0 ;
25463 PyObject
* obj2
= 0 ;
25464 char *kwnames
[] = {
25465 (char *) "self",(char *) "x",(char *) "y", NULL
25468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25471 arg2
= (int) SWIG_AsInt(obj1
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25473 arg3
= (int) SWIG_AsInt(obj2
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 (arg1
)->WarpPointer(arg2
,arg3
);
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25482 Py_INCREF(Py_None
); resultobj
= Py_None
;
25489 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25490 PyObject
*resultobj
;
25491 wxWindow
*arg1
= (wxWindow
*) 0 ;
25492 PyObject
* obj0
= 0 ;
25493 char *kwnames
[] = {
25494 (char *) "self", NULL
25497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 (arg1
)->CaptureMouse();
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 Py_INCREF(Py_None
); resultobj
= Py_None
;
25514 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
;
25516 wxWindow
*arg1
= (wxWindow
*) 0 ;
25517 PyObject
* obj0
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "self", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 (arg1
)->ReleaseMouse();
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25532 Py_INCREF(Py_None
); resultobj
= Py_None
;
25539 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25540 PyObject
*resultobj
;
25542 char *kwnames
[] = {
25546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25548 if (!wxPyCheckForApp()) SWIG_fail
;
25549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25550 result
= (wxWindow
*)wxWindow::GetCapture();
25552 wxPyEndAllowThreads(__tstate
);
25553 if (PyErr_Occurred()) SWIG_fail
;
25556 resultobj
= wxPyMake_wxObject(result
, 0);
25564 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25565 PyObject
*resultobj
;
25566 wxWindow
*arg1
= (wxWindow
*) 0 ;
25568 PyObject
* obj0
= 0 ;
25569 char *kwnames
[] = {
25570 (char *) "self", NULL
25573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25592 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25593 PyObject
*resultobj
;
25594 wxWindow
*arg1
= (wxWindow
*) 0 ;
25595 bool arg2
= (bool) True
;
25596 wxRect
*arg3
= (wxRect
*) NULL
;
25597 PyObject
* obj0
= 0 ;
25598 PyObject
* obj1
= 0 ;
25599 PyObject
* obj2
= 0 ;
25600 char *kwnames
[] = {
25601 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25608 arg2
= (bool) SWIG_AsBool(obj1
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25612 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25617 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25619 wxPyEndAllowThreads(__tstate
);
25620 if (PyErr_Occurred()) SWIG_fail
;
25622 Py_INCREF(Py_None
); resultobj
= Py_None
;
25629 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25630 PyObject
*resultobj
;
25631 wxWindow
*arg1
= (wxWindow
*) 0 ;
25634 PyObject
* obj0
= 0 ;
25635 PyObject
* obj1
= 0 ;
25636 char *kwnames
[] = {
25637 (char *) "self",(char *) "rect", NULL
25640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25645 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25649 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25651 wxPyEndAllowThreads(__tstate
);
25652 if (PyErr_Occurred()) SWIG_fail
;
25654 Py_INCREF(Py_None
); resultobj
= Py_None
;
25661 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25662 PyObject
*resultobj
;
25663 wxWindow
*arg1
= (wxWindow
*) 0 ;
25664 PyObject
* obj0
= 0 ;
25665 char *kwnames
[] = {
25666 (char *) "self", NULL
25669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25676 wxPyEndAllowThreads(__tstate
);
25677 if (PyErr_Occurred()) SWIG_fail
;
25679 Py_INCREF(Py_None
); resultobj
= Py_None
;
25686 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25687 PyObject
*resultobj
;
25688 wxWindow
*arg1
= (wxWindow
*) 0 ;
25689 PyObject
* obj0
= 0 ;
25690 char *kwnames
[] = {
25691 (char *) "self", NULL
25694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25699 (arg1
)->ClearBackground();
25701 wxPyEndAllowThreads(__tstate
);
25702 if (PyErr_Occurred()) SWIG_fail
;
25704 Py_INCREF(Py_None
); resultobj
= Py_None
;
25711 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25712 PyObject
*resultobj
;
25713 wxWindow
*arg1
= (wxWindow
*) 0 ;
25714 PyObject
* obj0
= 0 ;
25715 char *kwnames
[] = {
25716 (char *) "self", NULL
25719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 Py_INCREF(Py_None
); resultobj
= Py_None
;
25736 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25737 PyObject
*resultobj
;
25738 wxWindow
*arg1
= (wxWindow
*) 0 ;
25739 PyObject
* obj0
= 0 ;
25740 char *kwnames
[] = {
25741 (char *) "self", NULL
25744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25754 Py_INCREF(Py_None
); resultobj
= Py_None
;
25761 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25762 PyObject
*resultobj
;
25763 wxWindow
*arg1
= (wxWindow
*) 0 ;
25765 PyObject
* obj0
= 0 ;
25766 PyObject
* obj1
= 0 ;
25767 char *kwnames
[] = {
25768 (char *) "self",(char *) "dc", NULL
25771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25777 if (arg2
== NULL
) {
25778 PyErr_SetString(PyExc_TypeError
,"null reference");
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 (arg1
)->PrepareDC(*arg2
);
25785 wxPyEndAllowThreads(__tstate
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25788 Py_INCREF(Py_None
); resultobj
= Py_None
;
25795 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25796 PyObject
*resultobj
;
25797 wxWindow
*arg1
= (wxWindow
*) 0 ;
25799 PyObject
* obj0
= 0 ;
25800 char *kwnames
[] = {
25801 (char *) "self", NULL
25804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25810 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25811 result
= (wxRegion
*) &_result_ref
;
25814 wxPyEndAllowThreads(__tstate
);
25815 if (PyErr_Occurred()) SWIG_fail
;
25817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25824 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25825 PyObject
*resultobj
;
25826 wxWindow
*arg1
= (wxWindow
*) 0 ;
25828 PyObject
* obj0
= 0 ;
25829 char *kwnames
[] = {
25830 (char *) "self", NULL
25833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25840 wxPyEndAllowThreads(__tstate
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25844 wxRect
* resultptr
;
25845 resultptr
= new wxRect((wxRect
&) result
);
25846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25854 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25855 PyObject
*resultobj
;
25856 wxWindow
*arg1
= (wxWindow
*) 0 ;
25859 int arg4
= (int) 1 ;
25860 int arg5
= (int) 1 ;
25862 PyObject
* obj0
= 0 ;
25863 PyObject
* obj1
= 0 ;
25864 PyObject
* obj2
= 0 ;
25865 PyObject
* obj3
= 0 ;
25866 PyObject
* obj4
= 0 ;
25867 char *kwnames
[] = {
25868 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25874 arg2
= (int) SWIG_AsInt(obj1
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25876 arg3
= (int) SWIG_AsInt(obj2
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25879 arg4
= (int) SWIG_AsInt(obj3
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25883 arg5
= (int) SWIG_AsInt(obj4
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25888 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25890 wxPyEndAllowThreads(__tstate
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25902 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25903 PyObject
*resultobj
;
25904 wxWindow
*arg1
= (wxWindow
*) 0 ;
25905 wxPoint
*arg2
= 0 ;
25908 PyObject
* obj0
= 0 ;
25909 PyObject
* obj1
= 0 ;
25910 char *kwnames
[] = {
25911 (char *) "self",(char *) "pt", NULL
25914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25919 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25923 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25937 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25938 PyObject
*resultobj
;
25939 wxWindow
*arg1
= (wxWindow
*) 0 ;
25943 PyObject
* obj0
= 0 ;
25944 PyObject
* obj1
= 0 ;
25945 char *kwnames
[] = {
25946 (char *) "self",(char *) "rect", NULL
25949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25954 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25958 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25972 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25973 PyObject
*resultobj
;
25974 wxWindow
*arg1
= (wxWindow
*) 0 ;
25975 wxVisualAttributes result
;
25976 PyObject
* obj0
= 0 ;
25977 char *kwnames
[] = {
25978 (char *) "self", NULL
25981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25986 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25992 wxVisualAttributes
* resultptr
;
25993 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26002 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26003 PyObject
*resultobj
;
26004 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26005 wxVisualAttributes result
;
26006 PyObject
* obj0
= 0 ;
26007 char *kwnames
[] = {
26008 (char *) "variant", NULL
26011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26013 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26017 if (!wxPyCheckForApp()) SWIG_fail
;
26018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26019 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26021 wxPyEndAllowThreads(__tstate
);
26022 if (PyErr_Occurred()) SWIG_fail
;
26025 wxVisualAttributes
* resultptr
;
26026 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26027 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26035 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26036 PyObject
*resultobj
;
26037 wxWindow
*arg1
= (wxWindow
*) 0 ;
26038 wxColour
*arg2
= 0 ;
26041 PyObject
* obj0
= 0 ;
26042 PyObject
* obj1
= 0 ;
26043 char *kwnames
[] = {
26044 (char *) "self",(char *) "colour", NULL
26047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26052 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26056 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26058 wxPyEndAllowThreads(__tstate
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26070 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
;
26072 wxWindow
*arg1
= (wxWindow
*) 0 ;
26073 wxColour
*arg2
= 0 ;
26075 PyObject
* obj0
= 0 ;
26076 PyObject
* obj1
= 0 ;
26077 char *kwnames
[] = {
26078 (char *) "self",(char *) "colour", NULL
26081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26086 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26092 wxPyEndAllowThreads(__tstate
);
26093 if (PyErr_Occurred()) SWIG_fail
;
26095 Py_INCREF(Py_None
); resultobj
= Py_None
;
26102 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26103 PyObject
*resultobj
;
26104 wxWindow
*arg1
= (wxWindow
*) 0 ;
26105 wxColour
*arg2
= 0 ;
26108 PyObject
* obj0
= 0 ;
26109 PyObject
* obj1
= 0 ;
26110 char *kwnames
[] = {
26111 (char *) "self",(char *) "colour", NULL
26114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26119 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26137 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26138 PyObject
*resultobj
;
26139 wxWindow
*arg1
= (wxWindow
*) 0 ;
26140 wxColour
*arg2
= 0 ;
26142 PyObject
* obj0
= 0 ;
26143 PyObject
* obj1
= 0 ;
26144 char *kwnames
[] = {
26145 (char *) "self",(char *) "colour", NULL
26148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26153 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26157 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26159 wxPyEndAllowThreads(__tstate
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26162 Py_INCREF(Py_None
); resultobj
= Py_None
;
26169 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26170 PyObject
*resultobj
;
26171 wxWindow
*arg1
= (wxWindow
*) 0 ;
26173 PyObject
* obj0
= 0 ;
26174 char *kwnames
[] = {
26175 (char *) "self", NULL
26178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26183 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26185 wxPyEndAllowThreads(__tstate
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26189 wxColour
* resultptr
;
26190 resultptr
= new wxColour((wxColour
&) result
);
26191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26199 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26200 PyObject
*resultobj
;
26201 wxWindow
*arg1
= (wxWindow
*) 0 ;
26203 PyObject
* obj0
= 0 ;
26204 char *kwnames
[] = {
26205 (char *) "self", NULL
26208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26219 wxColour
* resultptr
;
26220 resultptr
= new wxColour((wxColour
&) result
);
26221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26229 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26230 PyObject
*resultobj
;
26231 wxWindow
*arg1
= (wxWindow
*) 0 ;
26232 wxCursor
*arg2
= 0 ;
26234 PyObject
* obj0
= 0 ;
26235 PyObject
* obj1
= 0 ;
26236 char *kwnames
[] = {
26237 (char *) "self",(char *) "cursor", NULL
26240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26244 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26246 if (arg2
== NULL
) {
26247 PyErr_SetString(PyExc_TypeError
,"null reference");
26251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26252 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26266 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26267 PyObject
*resultobj
;
26268 wxWindow
*arg1
= (wxWindow
*) 0 ;
26270 PyObject
* obj0
= 0 ;
26271 char *kwnames
[] = {
26272 (char *) "self", NULL
26275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 result
= (arg1
)->GetCursor();
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26286 wxCursor
* resultptr
;
26287 resultptr
= new wxCursor((wxCursor
&) result
);
26288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26296 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26297 PyObject
*resultobj
;
26298 wxWindow
*arg1
= (wxWindow
*) 0 ;
26301 PyObject
* obj0
= 0 ;
26302 PyObject
* obj1
= 0 ;
26303 char *kwnames
[] = {
26304 (char *) "self",(char *) "font", NULL
26307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26311 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26313 if (arg2
== NULL
) {
26314 PyErr_SetString(PyExc_TypeError
,"null reference");
26318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26319 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26321 wxPyEndAllowThreads(__tstate
);
26322 if (PyErr_Occurred()) SWIG_fail
;
26325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26333 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26334 PyObject
*resultobj
;
26335 wxWindow
*arg1
= (wxWindow
*) 0 ;
26337 PyObject
* obj0
= 0 ;
26338 PyObject
* obj1
= 0 ;
26339 char *kwnames
[] = {
26340 (char *) "self",(char *) "font", NULL
26343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26349 if (arg2
== NULL
) {
26350 PyErr_SetString(PyExc_TypeError
,"null reference");
26354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26355 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26357 wxPyEndAllowThreads(__tstate
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26360 Py_INCREF(Py_None
); resultobj
= Py_None
;
26367 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26368 PyObject
*resultobj
;
26369 wxWindow
*arg1
= (wxWindow
*) 0 ;
26371 PyObject
* obj0
= 0 ;
26372 char *kwnames
[] = {
26373 (char *) "self", NULL
26376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 result
= (arg1
)->GetFont();
26383 wxPyEndAllowThreads(__tstate
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26387 wxFont
* resultptr
;
26388 resultptr
= new wxFont((wxFont
&) result
);
26389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26397 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26398 PyObject
*resultobj
;
26399 wxWindow
*arg1
= (wxWindow
*) 0 ;
26400 wxCaret
*arg2
= (wxCaret
*) 0 ;
26401 PyObject
* obj0
= 0 ;
26402 PyObject
* obj1
= 0 ;
26403 char *kwnames
[] = {
26404 (char *) "self",(char *) "caret", NULL
26407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26414 (arg1
)->SetCaret(arg2
);
26416 wxPyEndAllowThreads(__tstate
);
26417 if (PyErr_Occurred()) SWIG_fail
;
26419 Py_INCREF(Py_None
); resultobj
= Py_None
;
26426 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26427 PyObject
*resultobj
;
26428 wxWindow
*arg1
= (wxWindow
*) 0 ;
26430 PyObject
* obj0
= 0 ;
26431 char *kwnames
[] = {
26432 (char *) "self", NULL
26435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26440 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26452 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26453 PyObject
*resultobj
;
26454 wxWindow
*arg1
= (wxWindow
*) 0 ;
26456 PyObject
* obj0
= 0 ;
26457 char *kwnames
[] = {
26458 (char *) "self", NULL
26461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26466 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26468 wxPyEndAllowThreads(__tstate
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26471 resultobj
= SWIG_FromInt((int)result
);
26478 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26479 PyObject
*resultobj
;
26480 wxWindow
*arg1
= (wxWindow
*) 0 ;
26482 PyObject
* obj0
= 0 ;
26483 char *kwnames
[] = {
26484 (char *) "self", NULL
26487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26492 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26494 wxPyEndAllowThreads(__tstate
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26497 resultobj
= SWIG_FromInt((int)result
);
26504 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
;
26506 wxWindow
*arg1
= (wxWindow
*) 0 ;
26507 wxString
*arg2
= 0 ;
26508 int *arg3
= (int *) 0 ;
26509 int *arg4
= (int *) 0 ;
26510 bool temp2
= False
;
26513 PyObject
* obj0
= 0 ;
26514 PyObject
* obj1
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self",(char *) "string", NULL
26521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26525 arg2
= wxString_in_helper(obj1
);
26526 if (arg2
== NULL
) SWIG_fail
;
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26533 wxPyEndAllowThreads(__tstate
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26536 Py_INCREF(Py_None
); resultobj
= Py_None
;
26538 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26539 resultobj
= t_output_helper(resultobj
,o
);
26542 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26543 resultobj
= t_output_helper(resultobj
,o
);
26559 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
;
26561 wxWindow
*arg1
= (wxWindow
*) 0 ;
26562 wxString
*arg2
= 0 ;
26563 int *arg3
= (int *) 0 ;
26564 int *arg4
= (int *) 0 ;
26565 int *arg5
= (int *) 0 ;
26566 int *arg6
= (int *) 0 ;
26567 wxFont
*arg7
= (wxFont
*) NULL
;
26568 bool temp2
= False
;
26573 PyObject
* obj0
= 0 ;
26574 PyObject
* obj1
= 0 ;
26575 PyObject
* obj2
= 0 ;
26576 char *kwnames
[] = {
26577 (char *) "self",(char *) "string",(char *) "font", NULL
26584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26588 arg2
= wxString_in_helper(obj1
);
26589 if (arg2
== NULL
) SWIG_fail
;
26593 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 Py_INCREF(Py_None
); resultobj
= Py_None
;
26605 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26606 resultobj
= t_output_helper(resultobj
,o
);
26609 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26610 resultobj
= t_output_helper(resultobj
,o
);
26613 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26614 resultobj
= t_output_helper(resultobj
,o
);
26617 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26618 resultobj
= t_output_helper(resultobj
,o
);
26634 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
;
26636 wxWindow
*arg1
= (wxWindow
*) 0 ;
26637 int *arg2
= (int *) 0 ;
26638 int *arg3
= (int *) 0 ;
26641 PyObject
* obj0
= 0 ;
26642 PyObject
* obj1
= 0 ;
26643 PyObject
* obj2
= 0 ;
26644 char *kwnames
[] = {
26645 (char *) "self",(char *) "x",(char *) "y", NULL
26648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26652 temp2
= PyInt_AsLong(obj1
);
26653 if (PyErr_Occurred()) SWIG_fail
;
26657 temp3
= PyInt_AsLong(obj2
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26668 Py_INCREF(Py_None
); resultobj
= Py_None
;
26670 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26671 resultobj
= t_output_helper(resultobj
,o
);
26674 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26675 resultobj
= t_output_helper(resultobj
,o
);
26683 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26684 PyObject
*resultobj
;
26685 wxWindow
*arg1
= (wxWindow
*) 0 ;
26686 int *arg2
= (int *) 0 ;
26687 int *arg3
= (int *) 0 ;
26690 PyObject
* obj0
= 0 ;
26691 PyObject
* obj1
= 0 ;
26692 PyObject
* obj2
= 0 ;
26693 char *kwnames
[] = {
26694 (char *) "self",(char *) "x",(char *) "y", NULL
26697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26701 temp2
= PyInt_AsLong(obj1
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26706 temp3
= PyInt_AsLong(obj2
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26712 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26714 wxPyEndAllowThreads(__tstate
);
26715 if (PyErr_Occurred()) SWIG_fail
;
26717 Py_INCREF(Py_None
); resultobj
= Py_None
;
26719 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26720 resultobj
= t_output_helper(resultobj
,o
);
26723 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26724 resultobj
= t_output_helper(resultobj
,o
);
26732 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26733 PyObject
*resultobj
;
26734 wxWindow
*arg1
= (wxWindow
*) 0 ;
26735 wxPoint
*arg2
= 0 ;
26738 PyObject
* obj0
= 0 ;
26739 PyObject
* obj1
= 0 ;
26740 char *kwnames
[] = {
26741 (char *) "self",(char *) "pt", NULL
26744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26749 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26753 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26759 wxPoint
* resultptr
;
26760 resultptr
= new wxPoint((wxPoint
&) result
);
26761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26769 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26770 PyObject
*resultobj
;
26771 wxWindow
*arg1
= (wxWindow
*) 0 ;
26772 wxPoint
*arg2
= 0 ;
26775 PyObject
* obj0
= 0 ;
26776 PyObject
* obj1
= 0 ;
26777 char *kwnames
[] = {
26778 (char *) "self",(char *) "pt", NULL
26781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26786 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26796 wxPoint
* resultptr
;
26797 resultptr
= new wxPoint((wxPoint
&) result
);
26798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26806 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26807 PyObject
*resultobj
;
26808 wxWindow
*arg1
= (wxWindow
*) 0 ;
26812 PyObject
* obj0
= 0 ;
26813 PyObject
* obj1
= 0 ;
26814 PyObject
* obj2
= 0 ;
26815 char *kwnames
[] = {
26816 (char *) "self",(char *) "x",(char *) "y", NULL
26819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26822 arg2
= (int) SWIG_AsInt(obj1
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26824 arg3
= (int) SWIG_AsInt(obj2
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26828 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26830 wxPyEndAllowThreads(__tstate
);
26831 if (PyErr_Occurred()) SWIG_fail
;
26833 resultobj
= SWIG_FromInt((int)result
);
26840 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26841 PyObject
*resultobj
;
26842 wxWindow
*arg1
= (wxWindow
*) 0 ;
26843 wxPoint
*arg2
= 0 ;
26846 PyObject
* obj0
= 0 ;
26847 PyObject
* obj1
= 0 ;
26848 char *kwnames
[] = {
26849 (char *) "self",(char *) "pt", NULL
26852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26857 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26861 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26863 wxPyEndAllowThreads(__tstate
);
26864 if (PyErr_Occurred()) SWIG_fail
;
26866 resultobj
= SWIG_FromInt((int)result
);
26873 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26874 PyObject
*resultobj
;
26875 wxWindow
*arg1
= (wxWindow
*) 0 ;
26878 PyObject
* obj0
= 0 ;
26879 PyObject
* obj1
= 0 ;
26881 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26884 arg2
= (long) SWIG_AsLong(obj1
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26888 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26890 wxPyEndAllowThreads(__tstate
);
26891 if (PyErr_Occurred()) SWIG_fail
;
26893 resultobj
= SWIG_FromInt((int)result
);
26900 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26901 PyObject
*resultobj
;
26902 wxWindow
*arg1
= (wxWindow
*) 0 ;
26904 PyObject
* obj0
= 0 ;
26906 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26916 resultobj
= SWIG_FromInt((int)result
);
26923 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26928 argc
= PyObject_Length(args
);
26929 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26930 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26936 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26944 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26951 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26959 _v
= SWIG_CheckLong(argv
[1]);
26961 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26966 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26971 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26972 PyObject
*resultobj
;
26973 wxWindow
*arg1
= (wxWindow
*) 0 ;
26974 long arg2
= (long) wxUPDATE_UI_NONE
;
26975 PyObject
* obj0
= 0 ;
26976 PyObject
* obj1
= 0 ;
26977 char *kwnames
[] = {
26978 (char *) "self",(char *) "flags", NULL
26981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26985 arg2
= (long) SWIG_AsLong(obj1
);
26986 if (PyErr_Occurred()) SWIG_fail
;
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 (arg1
)->UpdateWindowUI(arg2
);
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26995 Py_INCREF(Py_None
); resultobj
= Py_None
;
27002 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27003 PyObject
*resultobj
;
27004 wxWindow
*arg1
= (wxWindow
*) 0 ;
27005 wxMenu
*arg2
= (wxMenu
*) 0 ;
27006 int arg3
= (int) -1 ;
27007 int arg4
= (int) -1 ;
27009 PyObject
* obj0
= 0 ;
27010 PyObject
* obj1
= 0 ;
27011 PyObject
* obj2
= 0 ;
27012 PyObject
* obj3
= 0 ;
27013 char *kwnames
[] = {
27014 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27023 arg3
= (int) SWIG_AsInt(obj2
);
27024 if (PyErr_Occurred()) SWIG_fail
;
27027 arg4
= (int) SWIG_AsInt(obj3
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27032 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27034 wxPyEndAllowThreads(__tstate
);
27035 if (PyErr_Occurred()) SWIG_fail
;
27038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27046 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27047 PyObject
*resultobj
;
27048 wxWindow
*arg1
= (wxWindow
*) 0 ;
27049 wxMenu
*arg2
= (wxMenu
*) 0 ;
27050 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27051 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27054 PyObject
* obj0
= 0 ;
27055 PyObject
* obj1
= 0 ;
27056 PyObject
* obj2
= 0 ;
27057 char *kwnames
[] = {
27058 (char *) "self",(char *) "menu",(char *) "pos", NULL
27061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27069 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27076 wxPyEndAllowThreads(__tstate
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27088 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27089 PyObject
*resultobj
;
27090 wxWindow
*arg1
= (wxWindow
*) 0 ;
27092 PyObject
* obj0
= 0 ;
27093 char *kwnames
[] = {
27094 (char *) "self", NULL
27097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27102 result
= (long)wxWindow_GetHandle(arg1
);
27104 wxPyEndAllowThreads(__tstate
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27107 resultobj
= SWIG_FromLong((long)result
);
27114 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27115 PyObject
*resultobj
;
27116 wxWindow
*arg1
= (wxWindow
*) 0 ;
27119 PyObject
* obj0
= 0 ;
27120 PyObject
* obj1
= 0 ;
27121 char *kwnames
[] = {
27122 (char *) "self",(char *) "orient", NULL
27125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27128 arg2
= (int) SWIG_AsInt(obj1
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27134 wxPyEndAllowThreads(__tstate
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27146 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27147 PyObject
*resultobj
;
27148 wxWindow
*arg1
= (wxWindow
*) 0 ;
27153 bool arg6
= (bool) True
;
27154 PyObject
* obj0
= 0 ;
27155 PyObject
* obj1
= 0 ;
27156 PyObject
* obj2
= 0 ;
27157 PyObject
* obj3
= 0 ;
27158 PyObject
* obj4
= 0 ;
27159 PyObject
* obj5
= 0 ;
27160 char *kwnames
[] = {
27161 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27167 arg2
= (int) SWIG_AsInt(obj1
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27169 arg3
= (int) SWIG_AsInt(obj2
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27171 arg4
= (int) SWIG_AsInt(obj3
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27173 arg5
= (int) SWIG_AsInt(obj4
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27176 arg6
= (bool) SWIG_AsBool(obj5
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27186 Py_INCREF(Py_None
); resultobj
= Py_None
;
27193 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27194 PyObject
*resultobj
;
27195 wxWindow
*arg1
= (wxWindow
*) 0 ;
27198 bool arg4
= (bool) True
;
27199 PyObject
* obj0
= 0 ;
27200 PyObject
* obj1
= 0 ;
27201 PyObject
* obj2
= 0 ;
27202 PyObject
* obj3
= 0 ;
27203 char *kwnames
[] = {
27204 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27210 arg2
= (int) SWIG_AsInt(obj1
);
27211 if (PyErr_Occurred()) SWIG_fail
;
27212 arg3
= (int) SWIG_AsInt(obj2
);
27213 if (PyErr_Occurred()) SWIG_fail
;
27215 arg4
= (bool) SWIG_AsBool(obj3
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27220 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27222 wxPyEndAllowThreads(__tstate
);
27223 if (PyErr_Occurred()) SWIG_fail
;
27225 Py_INCREF(Py_None
); resultobj
= Py_None
;
27232 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27233 PyObject
*resultobj
;
27234 wxWindow
*arg1
= (wxWindow
*) 0 ;
27237 PyObject
* obj0
= 0 ;
27238 PyObject
* obj1
= 0 ;
27239 char *kwnames
[] = {
27240 (char *) "self",(char *) "orientation", NULL
27243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27246 arg2
= (int) SWIG_AsInt(obj1
);
27247 if (PyErr_Occurred()) SWIG_fail
;
27249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27250 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27252 wxPyEndAllowThreads(__tstate
);
27253 if (PyErr_Occurred()) SWIG_fail
;
27255 resultobj
= SWIG_FromInt((int)result
);
27262 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27263 PyObject
*resultobj
;
27264 wxWindow
*arg1
= (wxWindow
*) 0 ;
27267 PyObject
* obj0
= 0 ;
27268 PyObject
* obj1
= 0 ;
27269 char *kwnames
[] = {
27270 (char *) "self",(char *) "orientation", NULL
27273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27276 arg2
= (int) SWIG_AsInt(obj1
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27282 wxPyEndAllowThreads(__tstate
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27285 resultobj
= SWIG_FromInt((int)result
);
27292 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27293 PyObject
*resultobj
;
27294 wxWindow
*arg1
= (wxWindow
*) 0 ;
27297 PyObject
* obj0
= 0 ;
27298 PyObject
* obj1
= 0 ;
27299 char *kwnames
[] = {
27300 (char *) "self",(char *) "orientation", NULL
27303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27306 arg2
= (int) SWIG_AsInt(obj1
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27310 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27312 wxPyEndAllowThreads(__tstate
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27315 resultobj
= SWIG_FromInt((int)result
);
27322 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27323 PyObject
*resultobj
;
27324 wxWindow
*arg1
= (wxWindow
*) 0 ;
27327 wxRect
*arg4
= (wxRect
*) NULL
;
27328 PyObject
* obj0
= 0 ;
27329 PyObject
* obj1
= 0 ;
27330 PyObject
* obj2
= 0 ;
27331 PyObject
* obj3
= 0 ;
27332 char *kwnames
[] = {
27333 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27339 arg2
= (int) SWIG_AsInt(obj1
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27341 arg3
= (int) SWIG_AsInt(obj2
);
27342 if (PyErr_Occurred()) SWIG_fail
;
27344 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27349 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27351 wxPyEndAllowThreads(__tstate
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27354 Py_INCREF(Py_None
); resultobj
= Py_None
;
27361 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27362 PyObject
*resultobj
;
27363 wxWindow
*arg1
= (wxWindow
*) 0 ;
27366 PyObject
* obj0
= 0 ;
27367 PyObject
* obj1
= 0 ;
27368 char *kwnames
[] = {
27369 (char *) "self",(char *) "lines", NULL
27372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27375 arg2
= (int) SWIG_AsInt(obj1
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27379 result
= (bool)(arg1
)->ScrollLines(arg2
);
27381 wxPyEndAllowThreads(__tstate
);
27382 if (PyErr_Occurred()) SWIG_fail
;
27385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27393 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27394 PyObject
*resultobj
;
27395 wxWindow
*arg1
= (wxWindow
*) 0 ;
27398 PyObject
* obj0
= 0 ;
27399 PyObject
* obj1
= 0 ;
27400 char *kwnames
[] = {
27401 (char *) "self",(char *) "pages", NULL
27404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27407 arg2
= (int) SWIG_AsInt(obj1
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 result
= (bool)(arg1
)->ScrollPages(arg2
);
27413 wxPyEndAllowThreads(__tstate
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27425 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
;
27427 wxWindow
*arg1
= (wxWindow
*) 0 ;
27429 PyObject
* obj0
= 0 ;
27430 char *kwnames
[] = {
27431 (char *) "self", NULL
27434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27439 result
= (bool)(arg1
)->LineUp();
27441 wxPyEndAllowThreads(__tstate
);
27442 if (PyErr_Occurred()) SWIG_fail
;
27445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27453 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27454 PyObject
*resultobj
;
27455 wxWindow
*arg1
= (wxWindow
*) 0 ;
27457 PyObject
* obj0
= 0 ;
27458 char *kwnames
[] = {
27459 (char *) "self", NULL
27462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27467 result
= (bool)(arg1
)->LineDown();
27469 wxPyEndAllowThreads(__tstate
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27481 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27482 PyObject
*resultobj
;
27483 wxWindow
*arg1
= (wxWindow
*) 0 ;
27485 PyObject
* obj0
= 0 ;
27486 char *kwnames
[] = {
27487 (char *) "self", NULL
27490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27495 result
= (bool)(arg1
)->PageUp();
27497 wxPyEndAllowThreads(__tstate
);
27498 if (PyErr_Occurred()) SWIG_fail
;
27501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27509 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27510 PyObject
*resultobj
;
27511 wxWindow
*arg1
= (wxWindow
*) 0 ;
27513 PyObject
* obj0
= 0 ;
27514 char *kwnames
[] = {
27515 (char *) "self", NULL
27518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27523 result
= (bool)(arg1
)->PageDown();
27525 wxPyEndAllowThreads(__tstate
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27537 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27538 PyObject
*resultobj
;
27539 wxWindow
*arg1
= (wxWindow
*) 0 ;
27540 wxString
*arg2
= 0 ;
27541 bool temp2
= False
;
27542 PyObject
* obj0
= 0 ;
27543 PyObject
* obj1
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self",(char *) "text", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27552 arg2
= wxString_in_helper(obj1
);
27553 if (arg2
== NULL
) SWIG_fail
;
27557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27558 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27560 wxPyEndAllowThreads(__tstate
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27563 Py_INCREF(Py_None
); resultobj
= Py_None
;
27578 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27579 PyObject
*resultobj
;
27580 wxWindow
*arg1
= (wxWindow
*) 0 ;
27581 wxString
*arg2
= 0 ;
27582 bool temp2
= False
;
27583 PyObject
* obj0
= 0 ;
27584 PyObject
* obj1
= 0 ;
27585 char *kwnames
[] = {
27586 (char *) "self",(char *) "text", NULL
27589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27593 arg2
= wxString_in_helper(obj1
);
27594 if (arg2
== NULL
) SWIG_fail
;
27598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27599 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27601 wxPyEndAllowThreads(__tstate
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27604 Py_INCREF(Py_None
); resultobj
= Py_None
;
27619 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27620 PyObject
*resultobj
;
27621 wxWindow
*arg1
= (wxWindow
*) 0 ;
27623 PyObject
* obj0
= 0 ;
27624 char *kwnames
[] = {
27625 (char *) "self", NULL
27628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27651 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxWindow
*arg1
= (wxWindow
*) 0 ;
27654 wxString
*arg2
= 0 ;
27655 bool temp2
= False
;
27656 PyObject
* obj0
= 0 ;
27657 PyObject
* obj1
= 0 ;
27658 char *kwnames
[] = {
27659 (char *) "self",(char *) "tip", NULL
27662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27666 arg2
= wxString_in_helper(obj1
);
27667 if (arg2
== NULL
) SWIG_fail
;
27671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27677 Py_INCREF(Py_None
); resultobj
= Py_None
;
27692 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27693 PyObject
*resultobj
;
27694 wxWindow
*arg1
= (wxWindow
*) 0 ;
27695 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27696 PyObject
* obj0
= 0 ;
27697 PyObject
* obj1
= 0 ;
27698 char *kwnames
[] = {
27699 (char *) "self",(char *) "tip", NULL
27702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 (arg1
)->SetToolTip(arg2
);
27711 wxPyEndAllowThreads(__tstate
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27714 Py_INCREF(Py_None
); resultobj
= Py_None
;
27721 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27722 PyObject
*resultobj
;
27723 wxWindow
*arg1
= (wxWindow
*) 0 ;
27725 PyObject
* obj0
= 0 ;
27726 char *kwnames
[] = {
27727 (char *) "self", NULL
27730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27735 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27737 wxPyEndAllowThreads(__tstate
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27741 resultobj
= wxPyMake_wxObject(result
, 0);
27749 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27750 PyObject
*resultobj
;
27751 wxWindow
*arg1
= (wxWindow
*) 0 ;
27752 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27753 PyObject
* obj0
= 0 ;
27754 PyObject
* obj1
= 0 ;
27755 char *kwnames
[] = {
27756 (char *) "self",(char *) "dropTarget", NULL
27759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27763 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 (arg1
)->SetDropTarget(arg2
);
27768 wxPyEndAllowThreads(__tstate
);
27769 if (PyErr_Occurred()) SWIG_fail
;
27771 Py_INCREF(Py_None
); resultobj
= Py_None
;
27778 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27779 PyObject
*resultobj
;
27780 wxWindow
*arg1
= (wxWindow
*) 0 ;
27781 wxPyDropTarget
*result
;
27782 PyObject
* obj0
= 0 ;
27783 char *kwnames
[] = {
27784 (char *) "self", NULL
27787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27792 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27794 wxPyEndAllowThreads(__tstate
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27804 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27805 PyObject
*resultobj
;
27806 wxWindow
*arg1
= (wxWindow
*) 0 ;
27807 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27808 PyObject
* obj0
= 0 ;
27809 PyObject
* obj1
= 0 ;
27810 char *kwnames
[] = {
27811 (char *) "self",(char *) "constraints", NULL
27814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 (arg1
)->SetConstraints(arg2
);
27823 wxPyEndAllowThreads(__tstate
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27826 Py_INCREF(Py_None
); resultobj
= Py_None
;
27833 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27834 PyObject
*resultobj
;
27835 wxWindow
*arg1
= (wxWindow
*) 0 ;
27836 wxLayoutConstraints
*result
;
27837 PyObject
* obj0
= 0 ;
27838 char *kwnames
[] = {
27839 (char *) "self", NULL
27842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27847 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27849 wxPyEndAllowThreads(__tstate
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27859 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27860 PyObject
*resultobj
;
27861 wxWindow
*arg1
= (wxWindow
*) 0 ;
27863 PyObject
* obj0
= 0 ;
27864 PyObject
* obj1
= 0 ;
27865 char *kwnames
[] = {
27866 (char *) "self",(char *) "autoLayout", NULL
27869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27872 arg2
= (bool) SWIG_AsBool(obj1
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27876 (arg1
)->SetAutoLayout(arg2
);
27878 wxPyEndAllowThreads(__tstate
);
27879 if (PyErr_Occurred()) SWIG_fail
;
27881 Py_INCREF(Py_None
); resultobj
= Py_None
;
27888 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27889 PyObject
*resultobj
;
27890 wxWindow
*arg1
= (wxWindow
*) 0 ;
27892 PyObject
* obj0
= 0 ;
27893 char *kwnames
[] = {
27894 (char *) "self", NULL
27897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27902 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27904 wxPyEndAllowThreads(__tstate
);
27905 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27916 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27917 PyObject
*resultobj
;
27918 wxWindow
*arg1
= (wxWindow
*) 0 ;
27920 PyObject
* obj0
= 0 ;
27921 char *kwnames
[] = {
27922 (char *) "self", NULL
27925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27930 result
= (bool)(arg1
)->Layout();
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27944 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27945 PyObject
*resultobj
;
27946 wxWindow
*arg1
= (wxWindow
*) 0 ;
27947 wxSizer
*arg2
= (wxSizer
*) 0 ;
27948 bool arg3
= (bool) True
;
27949 PyObject
* obj0
= 0 ;
27950 PyObject
* obj1
= 0 ;
27951 PyObject
* obj2
= 0 ;
27952 char *kwnames
[] = {
27953 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27962 arg3
= (bool) SWIG_AsBool(obj2
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27967 (arg1
)->SetSizer(arg2
,arg3
);
27969 wxPyEndAllowThreads(__tstate
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27972 Py_INCREF(Py_None
); resultobj
= Py_None
;
27979 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27980 PyObject
*resultobj
;
27981 wxWindow
*arg1
= (wxWindow
*) 0 ;
27982 wxSizer
*arg2
= (wxSizer
*) 0 ;
27983 bool arg3
= (bool) True
;
27984 PyObject
* obj0
= 0 ;
27985 PyObject
* obj1
= 0 ;
27986 PyObject
* obj2
= 0 ;
27987 char *kwnames
[] = {
27988 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27997 arg3
= (bool) SWIG_AsBool(obj2
);
27998 if (PyErr_Occurred()) SWIG_fail
;
28001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28002 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28004 wxPyEndAllowThreads(__tstate
);
28005 if (PyErr_Occurred()) SWIG_fail
;
28007 Py_INCREF(Py_None
); resultobj
= Py_None
;
28014 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28015 PyObject
*resultobj
;
28016 wxWindow
*arg1
= (wxWindow
*) 0 ;
28018 PyObject
* obj0
= 0 ;
28019 char *kwnames
[] = {
28020 (char *) "self", NULL
28023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28028 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28030 wxPyEndAllowThreads(__tstate
);
28031 if (PyErr_Occurred()) SWIG_fail
;
28034 resultobj
= wxPyMake_wxSizer(result
, 0);
28042 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28043 PyObject
*resultobj
;
28044 wxWindow
*arg1
= (wxWindow
*) 0 ;
28045 wxSizer
*arg2
= (wxSizer
*) 0 ;
28046 PyObject
* obj0
= 0 ;
28047 PyObject
* obj1
= 0 ;
28048 char *kwnames
[] = {
28049 (char *) "self",(char *) "sizer", NULL
28052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28059 (arg1
)->SetContainingSizer(arg2
);
28061 wxPyEndAllowThreads(__tstate
);
28062 if (PyErr_Occurred()) SWIG_fail
;
28064 Py_INCREF(Py_None
); resultobj
= Py_None
;
28071 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28072 PyObject
*resultobj
;
28073 wxWindow
*arg1
= (wxWindow
*) 0 ;
28075 PyObject
* obj0
= 0 ;
28076 char *kwnames
[] = {
28077 (char *) "self", NULL
28080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28085 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28087 wxPyEndAllowThreads(__tstate
);
28088 if (PyErr_Occurred()) SWIG_fail
;
28091 resultobj
= wxPyMake_wxSizer(result
, 0);
28099 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28100 PyObject
*resultobj
;
28101 wxWindow
*arg1
= (wxWindow
*) 0 ;
28102 PyObject
* obj0
= 0 ;
28103 char *kwnames
[] = {
28104 (char *) "self", NULL
28107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28112 (arg1
)->InheritAttributes();
28114 wxPyEndAllowThreads(__tstate
);
28115 if (PyErr_Occurred()) SWIG_fail
;
28117 Py_INCREF(Py_None
); resultobj
= Py_None
;
28124 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28125 PyObject
*resultobj
;
28126 wxWindow
*arg1
= (wxWindow
*) 0 ;
28128 PyObject
* obj0
= 0 ;
28129 char *kwnames
[] = {
28130 (char *) "self", NULL
28133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28138 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28140 wxPyEndAllowThreads(__tstate
);
28141 if (PyErr_Occurred()) SWIG_fail
;
28144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28152 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
28154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28155 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28157 return Py_BuildValue((char *)"");
28159 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28160 PyObject
*resultobj
;
28162 wxWindow
*arg2
= (wxWindow
*) NULL
;
28164 PyObject
* obj0
= 0 ;
28165 PyObject
* obj1
= 0 ;
28166 char *kwnames
[] = {
28167 (char *) "id",(char *) "parent", NULL
28170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28171 arg1
= (long) SWIG_AsLong(obj0
);
28172 if (PyErr_Occurred()) SWIG_fail
;
28174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28178 if (!wxPyCheckForApp()) SWIG_fail
;
28179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28180 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28186 resultobj
= wxPyMake_wxObject(result
, 0);
28194 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28195 PyObject
*resultobj
;
28196 wxString
*arg1
= 0 ;
28197 wxWindow
*arg2
= (wxWindow
*) NULL
;
28199 bool temp1
= False
;
28200 PyObject
* obj0
= 0 ;
28201 PyObject
* obj1
= 0 ;
28202 char *kwnames
[] = {
28203 (char *) "name",(char *) "parent", NULL
28206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28208 arg1
= wxString_in_helper(obj0
);
28209 if (arg1
== NULL
) SWIG_fail
;
28213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28217 if (!wxPyCheckForApp()) SWIG_fail
;
28218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28219 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28221 wxPyEndAllowThreads(__tstate
);
28222 if (PyErr_Occurred()) SWIG_fail
;
28225 resultobj
= wxPyMake_wxObject(result
, 0);
28241 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28242 PyObject
*resultobj
;
28243 wxString
*arg1
= 0 ;
28244 wxWindow
*arg2
= (wxWindow
*) NULL
;
28246 bool temp1
= False
;
28247 PyObject
* obj0
= 0 ;
28248 PyObject
* obj1
= 0 ;
28249 char *kwnames
[] = {
28250 (char *) "label",(char *) "parent", NULL
28253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28255 arg1
= wxString_in_helper(obj0
);
28256 if (arg1
== NULL
) SWIG_fail
;
28260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28264 if (!wxPyCheckForApp()) SWIG_fail
;
28265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28266 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28268 wxPyEndAllowThreads(__tstate
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28272 resultobj
= wxPyMake_wxObject(result
, 0);
28288 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28289 PyObject
*resultobj
;
28290 wxWindow
*arg1
= (wxWindow
*) 0 ;
28291 unsigned long arg2
;
28293 PyObject
* obj0
= 0 ;
28294 PyObject
* obj1
= 0 ;
28295 char *kwnames
[] = {
28296 (char *) "parent",(char *) "_hWnd", NULL
28299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28302 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28306 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28308 wxPyEndAllowThreads(__tstate
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28312 resultobj
= wxPyMake_wxObject(result
, 0);
28320 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28321 PyObject
*resultobj
;
28322 wxValidator
*result
;
28323 char *kwnames
[] = {
28327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28330 result
= (wxValidator
*)new wxValidator();
28332 wxPyEndAllowThreads(__tstate
);
28333 if (PyErr_Occurred()) SWIG_fail
;
28335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
28342 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28343 PyObject
*resultobj
;
28344 wxValidator
*arg1
= (wxValidator
*) 0 ;
28345 wxValidator
*result
;
28346 PyObject
* obj0
= 0 ;
28347 char *kwnames
[] = {
28348 (char *) "self", NULL
28351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28356 result
= (wxValidator
*)(arg1
)->Clone();
28358 wxPyEndAllowThreads(__tstate
);
28359 if (PyErr_Occurred()) SWIG_fail
;
28362 resultobj
= wxPyMake_wxObject(result
, 0);
28370 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28371 PyObject
*resultobj
;
28372 wxValidator
*arg1
= (wxValidator
*) 0 ;
28373 wxWindow
*arg2
= (wxWindow
*) 0 ;
28375 PyObject
* obj0
= 0 ;
28376 PyObject
* obj1
= 0 ;
28377 char *kwnames
[] = {
28378 (char *) "self",(char *) "parent", NULL
28381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28388 result
= (bool)(arg1
)->Validate(arg2
);
28390 wxPyEndAllowThreads(__tstate
);
28391 if (PyErr_Occurred()) SWIG_fail
;
28394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28402 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28403 PyObject
*resultobj
;
28404 wxValidator
*arg1
= (wxValidator
*) 0 ;
28406 PyObject
* obj0
= 0 ;
28407 char *kwnames
[] = {
28408 (char *) "self", NULL
28411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28416 result
= (bool)(arg1
)->TransferToWindow();
28418 wxPyEndAllowThreads(__tstate
);
28419 if (PyErr_Occurred()) SWIG_fail
;
28422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28430 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28431 PyObject
*resultobj
;
28432 wxValidator
*arg1
= (wxValidator
*) 0 ;
28434 PyObject
* obj0
= 0 ;
28435 char *kwnames
[] = {
28436 (char *) "self", NULL
28439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28444 result
= (bool)(arg1
)->TransferFromWindow();
28446 wxPyEndAllowThreads(__tstate
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28458 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28459 PyObject
*resultobj
;
28460 wxValidator
*arg1
= (wxValidator
*) 0 ;
28462 PyObject
* obj0
= 0 ;
28463 char *kwnames
[] = {
28464 (char *) "self", NULL
28467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28472 result
= (wxWindow
*)(arg1
)->GetWindow();
28474 wxPyEndAllowThreads(__tstate
);
28475 if (PyErr_Occurred()) SWIG_fail
;
28478 resultobj
= wxPyMake_wxObject(result
, 0);
28486 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28487 PyObject
*resultobj
;
28488 wxValidator
*arg1
= (wxValidator
*) 0 ;
28489 wxWindow
*arg2
= (wxWindow
*) 0 ;
28490 PyObject
* obj0
= 0 ;
28491 PyObject
* obj1
= 0 ;
28492 char *kwnames
[] = {
28493 (char *) "self",(char *) "window", NULL
28496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28503 (arg1
)->SetWindow(arg2
);
28505 wxPyEndAllowThreads(__tstate
);
28506 if (PyErr_Occurred()) SWIG_fail
;
28508 Py_INCREF(Py_None
); resultobj
= Py_None
;
28515 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28516 PyObject
*resultobj
;
28518 char *kwnames
[] = {
28522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28525 result
= (bool)wxValidator::IsSilent();
28527 wxPyEndAllowThreads(__tstate
);
28528 if (PyErr_Occurred()) SWIG_fail
;
28531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28539 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28540 PyObject
*resultobj
;
28541 int arg1
= (int) True
;
28542 PyObject
* obj0
= 0 ;
28543 char *kwnames
[] = {
28544 (char *) "doIt", NULL
28547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28549 arg1
= (int) SWIG_AsInt(obj0
);
28550 if (PyErr_Occurred()) SWIG_fail
;
28553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28554 wxValidator::SetBellOnError(arg1
);
28556 wxPyEndAllowThreads(__tstate
);
28557 if (PyErr_Occurred()) SWIG_fail
;
28559 Py_INCREF(Py_None
); resultobj
= Py_None
;
28566 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28569 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28571 return Py_BuildValue((char *)"");
28573 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28574 PyObject
*resultobj
;
28575 wxPyValidator
*result
;
28576 char *kwnames
[] = {
28580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 result
= (wxPyValidator
*)new wxPyValidator();
28585 wxPyEndAllowThreads(__tstate
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28595 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28596 PyObject
*resultobj
;
28597 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28598 PyObject
*arg2
= (PyObject
*) 0 ;
28599 PyObject
*arg3
= (PyObject
*) 0 ;
28600 int arg4
= (int) True
;
28601 PyObject
* obj0
= 0 ;
28602 PyObject
* obj1
= 0 ;
28603 PyObject
* obj2
= 0 ;
28604 PyObject
* obj3
= 0 ;
28605 char *kwnames
[] = {
28606 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28615 arg4
= (int) SWIG_AsInt(obj3
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28622 wxPyEndAllowThreads(__tstate
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28625 Py_INCREF(Py_None
); resultobj
= Py_None
;
28632 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28635 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28637 return Py_BuildValue((char *)"");
28639 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28640 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28645 static PyObject
*_wrap_DefaultValidator_get() {
28648 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28653 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28654 PyObject
*resultobj
;
28655 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28656 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28657 long arg2
= (long) 0 ;
28659 bool temp1
= False
;
28660 PyObject
* obj0
= 0 ;
28661 PyObject
* obj1
= 0 ;
28662 char *kwnames
[] = {
28663 (char *) "title",(char *) "style", NULL
28666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28669 arg1
= wxString_in_helper(obj0
);
28670 if (arg1
== NULL
) SWIG_fail
;
28675 arg2
= (long) SWIG_AsLong(obj1
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28679 if (!wxPyCheckForApp()) SWIG_fail
;
28680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28681 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28683 wxPyEndAllowThreads(__tstate
);
28684 if (PyErr_Occurred()) SWIG_fail
;
28686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
28701 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28702 PyObject
*resultobj
;
28703 wxMenu
*arg1
= (wxMenu
*) 0 ;
28705 wxString
*arg3
= 0 ;
28706 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28707 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28708 int arg5
= (int) wxITEM_NORMAL
;
28709 wxMenuItem
*result
;
28710 bool temp3
= False
;
28711 bool temp4
= False
;
28712 PyObject
* obj0
= 0 ;
28713 PyObject
* obj1
= 0 ;
28714 PyObject
* obj2
= 0 ;
28715 PyObject
* obj3
= 0 ;
28716 PyObject
* obj4
= 0 ;
28717 char *kwnames
[] = {
28718 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28724 arg2
= (int) SWIG_AsInt(obj1
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28727 arg3
= wxString_in_helper(obj2
);
28728 if (arg3
== NULL
) SWIG_fail
;
28733 arg4
= wxString_in_helper(obj3
);
28734 if (arg4
== NULL
) SWIG_fail
;
28739 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28740 if (PyErr_Occurred()) SWIG_fail
;
28743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28744 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28746 wxPyEndAllowThreads(__tstate
);
28747 if (PyErr_Occurred()) SWIG_fail
;
28750 resultobj
= wxPyMake_wxObject(result
, 0);
28774 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28775 PyObject
*resultobj
;
28776 wxMenu
*arg1
= (wxMenu
*) 0 ;
28777 wxMenuItem
*result
;
28778 PyObject
* obj0
= 0 ;
28779 char *kwnames
[] = {
28780 (char *) "self", NULL
28783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28788 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28790 wxPyEndAllowThreads(__tstate
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28794 resultobj
= wxPyMake_wxObject(result
, 0);
28802 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28803 PyObject
*resultobj
;
28804 wxMenu
*arg1
= (wxMenu
*) 0 ;
28806 wxString
*arg3
= 0 ;
28807 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28808 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28809 wxMenuItem
*result
;
28810 bool temp3
= False
;
28811 bool temp4
= False
;
28812 PyObject
* obj0
= 0 ;
28813 PyObject
* obj1
= 0 ;
28814 PyObject
* obj2
= 0 ;
28815 PyObject
* obj3
= 0 ;
28816 char *kwnames
[] = {
28817 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28823 arg2
= (int) SWIG_AsInt(obj1
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28826 arg3
= wxString_in_helper(obj2
);
28827 if (arg3
== NULL
) SWIG_fail
;
28832 arg4
= wxString_in_helper(obj3
);
28833 if (arg4
== NULL
) SWIG_fail
;
28838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28839 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28841 wxPyEndAllowThreads(__tstate
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28845 resultobj
= wxPyMake_wxObject(result
, 0);
28869 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28870 PyObject
*resultobj
;
28871 wxMenu
*arg1
= (wxMenu
*) 0 ;
28873 wxString
*arg3
= 0 ;
28874 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28875 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28876 wxMenuItem
*result
;
28877 bool temp3
= False
;
28878 bool temp4
= False
;
28879 PyObject
* obj0
= 0 ;
28880 PyObject
* obj1
= 0 ;
28881 PyObject
* obj2
= 0 ;
28882 PyObject
* obj3
= 0 ;
28883 char *kwnames
[] = {
28884 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28890 arg2
= (int) SWIG_AsInt(obj1
);
28891 if (PyErr_Occurred()) SWIG_fail
;
28893 arg3
= wxString_in_helper(obj2
);
28894 if (arg3
== NULL
) SWIG_fail
;
28899 arg4
= wxString_in_helper(obj3
);
28900 if (arg4
== NULL
) SWIG_fail
;
28905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28906 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28912 resultobj
= wxPyMake_wxObject(result
, 0);
28936 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28937 PyObject
*resultobj
;
28938 wxMenu
*arg1
= (wxMenu
*) 0 ;
28940 wxString
*arg3
= 0 ;
28941 wxMenu
*arg4
= (wxMenu
*) 0 ;
28942 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28943 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28944 wxMenuItem
*result
;
28945 bool temp3
= False
;
28946 bool temp5
= False
;
28947 PyObject
* obj0
= 0 ;
28948 PyObject
* obj1
= 0 ;
28949 PyObject
* obj2
= 0 ;
28950 PyObject
* obj3
= 0 ;
28951 PyObject
* obj4
= 0 ;
28952 char *kwnames
[] = {
28953 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28959 arg2
= (int) SWIG_AsInt(obj1
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28962 arg3
= wxString_in_helper(obj2
);
28963 if (arg3
== NULL
) SWIG_fail
;
28966 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28970 arg5
= wxString_in_helper(obj4
);
28971 if (arg5
== NULL
) SWIG_fail
;
28976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28977 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28979 wxPyEndAllowThreads(__tstate
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28983 resultobj
= wxPyMake_wxObject(result
, 0);
29007 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29008 PyObject
*resultobj
;
29009 wxMenu
*arg1
= (wxMenu
*) 0 ;
29010 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29011 wxMenuItem
*result
;
29012 PyObject
* obj0
= 0 ;
29013 PyObject
* obj1
= 0 ;
29014 char *kwnames
[] = {
29015 (char *) "self",(char *) "item", NULL
29018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29025 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29027 wxPyEndAllowThreads(__tstate
);
29028 if (PyErr_Occurred()) SWIG_fail
;
29031 resultobj
= wxPyMake_wxObject(result
, 0);
29039 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29040 PyObject
*resultobj
;
29041 wxMenu
*arg1
= (wxMenu
*) 0 ;
29042 PyObject
* obj0
= 0 ;
29043 char *kwnames
[] = {
29044 (char *) "self", NULL
29047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29054 wxPyEndAllowThreads(__tstate
);
29055 if (PyErr_Occurred()) SWIG_fail
;
29057 Py_INCREF(Py_None
); resultobj
= Py_None
;
29064 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29065 PyObject
*resultobj
;
29066 wxMenu
*arg1
= (wxMenu
*) 0 ;
29068 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29069 wxMenuItem
*result
;
29070 PyObject
* obj0
= 0 ;
29071 PyObject
* obj1
= 0 ;
29072 PyObject
* obj2
= 0 ;
29073 char *kwnames
[] = {
29074 (char *) "self",(char *) "pos",(char *) "item", NULL
29077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29080 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29082 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29086 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29088 wxPyEndAllowThreads(__tstate
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29092 resultobj
= wxPyMake_wxObject(result
, 0);
29100 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29101 PyObject
*resultobj
;
29102 wxMenu
*arg1
= (wxMenu
*) 0 ;
29105 wxString
*arg4
= 0 ;
29106 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29107 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29108 int arg6
= (int) wxITEM_NORMAL
;
29109 wxMenuItem
*result
;
29110 bool temp4
= False
;
29111 bool temp5
= False
;
29112 PyObject
* obj0
= 0 ;
29113 PyObject
* obj1
= 0 ;
29114 PyObject
* obj2
= 0 ;
29115 PyObject
* obj3
= 0 ;
29116 PyObject
* obj4
= 0 ;
29117 PyObject
* obj5
= 0 ;
29118 char *kwnames
[] = {
29119 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29125 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29126 if (PyErr_Occurred()) SWIG_fail
;
29127 arg3
= (int) SWIG_AsInt(obj2
);
29128 if (PyErr_Occurred()) SWIG_fail
;
29130 arg4
= wxString_in_helper(obj3
);
29131 if (arg4
== NULL
) SWIG_fail
;
29136 arg5
= wxString_in_helper(obj4
);
29137 if (arg5
== NULL
) SWIG_fail
;
29142 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
29143 if (PyErr_Occurred()) SWIG_fail
;
29146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29147 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29149 wxPyEndAllowThreads(__tstate
);
29150 if (PyErr_Occurred()) SWIG_fail
;
29153 resultobj
= wxPyMake_wxObject(result
, 0);
29177 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29178 PyObject
*resultobj
;
29179 wxMenu
*arg1
= (wxMenu
*) 0 ;
29181 wxMenuItem
*result
;
29182 PyObject
* obj0
= 0 ;
29183 PyObject
* obj1
= 0 ;
29184 char *kwnames
[] = {
29185 (char *) "self",(char *) "pos", NULL
29188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29191 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29192 if (PyErr_Occurred()) SWIG_fail
;
29194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29195 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29197 wxPyEndAllowThreads(__tstate
);
29198 if (PyErr_Occurred()) SWIG_fail
;
29201 resultobj
= wxPyMake_wxObject(result
, 0);
29209 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29210 PyObject
*resultobj
;
29211 wxMenu
*arg1
= (wxMenu
*) 0 ;
29214 wxString
*arg4
= 0 ;
29215 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29216 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29217 wxMenuItem
*result
;
29218 bool temp4
= False
;
29219 bool temp5
= False
;
29220 PyObject
* obj0
= 0 ;
29221 PyObject
* obj1
= 0 ;
29222 PyObject
* obj2
= 0 ;
29223 PyObject
* obj3
= 0 ;
29224 PyObject
* obj4
= 0 ;
29225 char *kwnames
[] = {
29226 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29232 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29234 arg3
= (int) SWIG_AsInt(obj2
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29237 arg4
= wxString_in_helper(obj3
);
29238 if (arg4
== NULL
) SWIG_fail
;
29243 arg5
= wxString_in_helper(obj4
);
29244 if (arg5
== NULL
) SWIG_fail
;
29249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29250 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29252 wxPyEndAllowThreads(__tstate
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29256 resultobj
= wxPyMake_wxObject(result
, 0);
29280 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29281 PyObject
*resultobj
;
29282 wxMenu
*arg1
= (wxMenu
*) 0 ;
29285 wxString
*arg4
= 0 ;
29286 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29287 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29288 wxMenuItem
*result
;
29289 bool temp4
= False
;
29290 bool temp5
= False
;
29291 PyObject
* obj0
= 0 ;
29292 PyObject
* obj1
= 0 ;
29293 PyObject
* obj2
= 0 ;
29294 PyObject
* obj3
= 0 ;
29295 PyObject
* obj4
= 0 ;
29296 char *kwnames
[] = {
29297 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29303 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29305 arg3
= (int) SWIG_AsInt(obj2
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29308 arg4
= wxString_in_helper(obj3
);
29309 if (arg4
== NULL
) SWIG_fail
;
29314 arg5
= wxString_in_helper(obj4
);
29315 if (arg5
== NULL
) SWIG_fail
;
29320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29321 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29323 wxPyEndAllowThreads(__tstate
);
29324 if (PyErr_Occurred()) SWIG_fail
;
29327 resultobj
= wxPyMake_wxObject(result
, 0);
29351 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
;
29353 wxMenu
*arg1
= (wxMenu
*) 0 ;
29356 wxString
*arg4
= 0 ;
29357 wxMenu
*arg5
= (wxMenu
*) 0 ;
29358 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29359 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29360 wxMenuItem
*result
;
29361 bool temp4
= False
;
29362 bool temp6
= False
;
29363 PyObject
* obj0
= 0 ;
29364 PyObject
* obj1
= 0 ;
29365 PyObject
* obj2
= 0 ;
29366 PyObject
* obj3
= 0 ;
29367 PyObject
* obj4
= 0 ;
29368 PyObject
* obj5
= 0 ;
29369 char *kwnames
[] = {
29370 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29376 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29377 if (PyErr_Occurred()) SWIG_fail
;
29378 arg3
= (int) SWIG_AsInt(obj2
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29381 arg4
= wxString_in_helper(obj3
);
29382 if (arg4
== NULL
) SWIG_fail
;
29385 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29389 arg6
= wxString_in_helper(obj5
);
29390 if (arg6
== NULL
) SWIG_fail
;
29395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29396 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29398 wxPyEndAllowThreads(__tstate
);
29399 if (PyErr_Occurred()) SWIG_fail
;
29402 resultobj
= wxPyMake_wxObject(result
, 0);
29426 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29427 PyObject
*resultobj
;
29428 wxMenu
*arg1
= (wxMenu
*) 0 ;
29429 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29430 wxMenuItem
*result
;
29431 PyObject
* obj0
= 0 ;
29432 PyObject
* obj1
= 0 ;
29433 char *kwnames
[] = {
29434 (char *) "self",(char *) "item", NULL
29437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29444 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29446 wxPyEndAllowThreads(__tstate
);
29447 if (PyErr_Occurred()) SWIG_fail
;
29450 resultobj
= wxPyMake_wxObject(result
, 0);
29458 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29459 PyObject
*resultobj
;
29460 wxMenu
*arg1
= (wxMenu
*) 0 ;
29462 wxString
*arg3
= 0 ;
29463 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29464 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29465 int arg5
= (int) wxITEM_NORMAL
;
29466 wxMenuItem
*result
;
29467 bool temp3
= False
;
29468 bool temp4
= False
;
29469 PyObject
* obj0
= 0 ;
29470 PyObject
* obj1
= 0 ;
29471 PyObject
* obj2
= 0 ;
29472 PyObject
* obj3
= 0 ;
29473 PyObject
* obj4
= 0 ;
29474 char *kwnames
[] = {
29475 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29481 arg2
= (int) SWIG_AsInt(obj1
);
29482 if (PyErr_Occurred()) SWIG_fail
;
29484 arg3
= wxString_in_helper(obj2
);
29485 if (arg3
== NULL
) SWIG_fail
;
29490 arg4
= wxString_in_helper(obj3
);
29491 if (arg4
== NULL
) SWIG_fail
;
29496 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29497 if (PyErr_Occurred()) SWIG_fail
;
29500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29501 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29503 wxPyEndAllowThreads(__tstate
);
29504 if (PyErr_Occurred()) SWIG_fail
;
29507 resultobj
= wxPyMake_wxObject(result
, 0);
29531 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29532 PyObject
*resultobj
;
29533 wxMenu
*arg1
= (wxMenu
*) 0 ;
29534 wxMenuItem
*result
;
29535 PyObject
* obj0
= 0 ;
29536 char *kwnames
[] = {
29537 (char *) "self", NULL
29540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29545 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29547 wxPyEndAllowThreads(__tstate
);
29548 if (PyErr_Occurred()) SWIG_fail
;
29551 resultobj
= wxPyMake_wxObject(result
, 0);
29559 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29560 PyObject
*resultobj
;
29561 wxMenu
*arg1
= (wxMenu
*) 0 ;
29563 wxString
*arg3
= 0 ;
29564 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29565 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29566 wxMenuItem
*result
;
29567 bool temp3
= False
;
29568 bool temp4
= False
;
29569 PyObject
* obj0
= 0 ;
29570 PyObject
* obj1
= 0 ;
29571 PyObject
* obj2
= 0 ;
29572 PyObject
* obj3
= 0 ;
29573 char *kwnames
[] = {
29574 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29580 arg2
= (int) SWIG_AsInt(obj1
);
29581 if (PyErr_Occurred()) SWIG_fail
;
29583 arg3
= wxString_in_helper(obj2
);
29584 if (arg3
== NULL
) SWIG_fail
;
29589 arg4
= wxString_in_helper(obj3
);
29590 if (arg4
== NULL
) SWIG_fail
;
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29598 wxPyEndAllowThreads(__tstate
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29602 resultobj
= wxPyMake_wxObject(result
, 0);
29626 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29627 PyObject
*resultobj
;
29628 wxMenu
*arg1
= (wxMenu
*) 0 ;
29630 wxString
*arg3
= 0 ;
29631 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29632 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29633 wxMenuItem
*result
;
29634 bool temp3
= False
;
29635 bool temp4
= False
;
29636 PyObject
* obj0
= 0 ;
29637 PyObject
* obj1
= 0 ;
29638 PyObject
* obj2
= 0 ;
29639 PyObject
* obj3
= 0 ;
29640 char *kwnames
[] = {
29641 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29647 arg2
= (int) SWIG_AsInt(obj1
);
29648 if (PyErr_Occurred()) SWIG_fail
;
29650 arg3
= wxString_in_helper(obj2
);
29651 if (arg3
== NULL
) SWIG_fail
;
29656 arg4
= wxString_in_helper(obj3
);
29657 if (arg4
== NULL
) SWIG_fail
;
29662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29663 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29665 wxPyEndAllowThreads(__tstate
);
29666 if (PyErr_Occurred()) SWIG_fail
;
29669 resultobj
= wxPyMake_wxObject(result
, 0);
29693 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29694 PyObject
*resultobj
;
29695 wxMenu
*arg1
= (wxMenu
*) 0 ;
29697 wxString
*arg3
= 0 ;
29698 wxMenu
*arg4
= (wxMenu
*) 0 ;
29699 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29700 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29701 wxMenuItem
*result
;
29702 bool temp3
= False
;
29703 bool temp5
= False
;
29704 PyObject
* obj0
= 0 ;
29705 PyObject
* obj1
= 0 ;
29706 PyObject
* obj2
= 0 ;
29707 PyObject
* obj3
= 0 ;
29708 PyObject
* obj4
= 0 ;
29709 char *kwnames
[] = {
29710 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29716 arg2
= (int) SWIG_AsInt(obj1
);
29717 if (PyErr_Occurred()) SWIG_fail
;
29719 arg3
= wxString_in_helper(obj2
);
29720 if (arg3
== NULL
) SWIG_fail
;
29723 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29727 arg5
= wxString_in_helper(obj4
);
29728 if (arg5
== NULL
) SWIG_fail
;
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29736 wxPyEndAllowThreads(__tstate
);
29737 if (PyErr_Occurred()) SWIG_fail
;
29740 resultobj
= wxPyMake_wxObject(result
, 0);
29764 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29765 PyObject
*resultobj
;
29766 wxMenu
*arg1
= (wxMenu
*) 0 ;
29768 wxMenuItem
*result
;
29769 PyObject
* obj0
= 0 ;
29770 PyObject
* obj1
= 0 ;
29771 char *kwnames
[] = {
29772 (char *) "self",(char *) "id", NULL
29775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29778 arg2
= (int) SWIG_AsInt(obj1
);
29779 if (PyErr_Occurred()) SWIG_fail
;
29781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29782 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29784 wxPyEndAllowThreads(__tstate
);
29785 if (PyErr_Occurred()) SWIG_fail
;
29788 resultobj
= wxPyMake_wxObject(result
, 0);
29796 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29797 PyObject
*resultobj
;
29798 wxMenu
*arg1
= (wxMenu
*) 0 ;
29799 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29800 wxMenuItem
*result
;
29801 PyObject
* obj0
= 0 ;
29802 PyObject
* obj1
= 0 ;
29803 char *kwnames
[] = {
29804 (char *) "self",(char *) "item", NULL
29807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29814 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29816 wxPyEndAllowThreads(__tstate
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29820 resultobj
= wxPyMake_wxObject(result
, 0);
29828 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29829 PyObject
*resultobj
;
29830 wxMenu
*arg1
= (wxMenu
*) 0 ;
29833 PyObject
* obj0
= 0 ;
29834 PyObject
* obj1
= 0 ;
29835 char *kwnames
[] = {
29836 (char *) "self",(char *) "id", NULL
29839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29842 arg2
= (int) SWIG_AsInt(obj1
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 result
= (bool)(arg1
)->Delete(arg2
);
29848 wxPyEndAllowThreads(__tstate
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29860 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29861 PyObject
*resultobj
;
29862 wxMenu
*arg1
= (wxMenu
*) 0 ;
29863 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29865 PyObject
* obj0
= 0 ;
29866 PyObject
* obj1
= 0 ;
29867 char *kwnames
[] = {
29868 (char *) "self",(char *) "item", NULL
29871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29878 result
= (bool)(arg1
)->Delete(arg2
);
29880 wxPyEndAllowThreads(__tstate
);
29881 if (PyErr_Occurred()) SWIG_fail
;
29884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29892 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29893 PyObject
*resultobj
;
29894 wxMenu
*arg1
= (wxMenu
*) 0 ;
29895 PyObject
* obj0
= 0 ;
29896 char *kwnames
[] = {
29897 (char *) "self", NULL
29900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29905 wxMenu_Destroy(arg1
);
29907 wxPyEndAllowThreads(__tstate
);
29908 if (PyErr_Occurred()) SWIG_fail
;
29910 Py_INCREF(Py_None
); resultobj
= Py_None
;
29917 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29918 PyObject
*resultobj
;
29919 wxMenu
*arg1
= (wxMenu
*) 0 ;
29922 PyObject
* obj0
= 0 ;
29923 PyObject
* obj1
= 0 ;
29924 char *kwnames
[] = {
29925 (char *) "self",(char *) "id", NULL
29928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29931 arg2
= (int) SWIG_AsInt(obj1
);
29932 if (PyErr_Occurred()) SWIG_fail
;
29934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29935 result
= (bool)(arg1
)->Destroy(arg2
);
29937 wxPyEndAllowThreads(__tstate
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29949 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29950 PyObject
*resultobj
;
29951 wxMenu
*arg1
= (wxMenu
*) 0 ;
29952 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29954 PyObject
* obj0
= 0 ;
29955 PyObject
* obj1
= 0 ;
29956 char *kwnames
[] = {
29957 (char *) "self",(char *) "item", NULL
29960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29967 result
= (bool)(arg1
)->Destroy(arg2
);
29969 wxPyEndAllowThreads(__tstate
);
29970 if (PyErr_Occurred()) SWIG_fail
;
29973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29981 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29982 PyObject
*resultobj
;
29983 wxMenu
*arg1
= (wxMenu
*) 0 ;
29985 PyObject
* obj0
= 0 ;
29986 char *kwnames
[] = {
29987 (char *) "self", NULL
29990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29995 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29997 wxPyEndAllowThreads(__tstate
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30000 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30007 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30008 PyObject
*resultobj
;
30009 wxMenu
*arg1
= (wxMenu
*) 0 ;
30011 PyObject
* obj0
= 0 ;
30012 char *kwnames
[] = {
30013 (char *) "self", NULL
30016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30021 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30023 wxPyEndAllowThreads(__tstate
);
30024 if (PyErr_Occurred()) SWIG_fail
;
30026 resultobj
= result
;
30033 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30034 PyObject
*resultobj
;
30035 wxMenu
*arg1
= (wxMenu
*) 0 ;
30036 wxString
*arg2
= 0 ;
30038 bool temp2
= False
;
30039 PyObject
* obj0
= 0 ;
30040 PyObject
* obj1
= 0 ;
30041 char *kwnames
[] = {
30042 (char *) "self",(char *) "item", NULL
30045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30049 arg2
= wxString_in_helper(obj1
);
30050 if (arg2
== NULL
) SWIG_fail
;
30054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30055 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30057 wxPyEndAllowThreads(__tstate
);
30058 if (PyErr_Occurred()) SWIG_fail
;
30060 resultobj
= SWIG_FromInt((int)result
);
30075 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30076 PyObject
*resultobj
;
30077 wxMenu
*arg1
= (wxMenu
*) 0 ;
30079 wxMenuItem
*result
;
30080 PyObject
* obj0
= 0 ;
30081 PyObject
* obj1
= 0 ;
30082 char *kwnames
[] = {
30083 (char *) "self",(char *) "id", NULL
30086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30089 arg2
= (int) SWIG_AsInt(obj1
);
30090 if (PyErr_Occurred()) SWIG_fail
;
30092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30093 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30095 wxPyEndAllowThreads(__tstate
);
30096 if (PyErr_Occurred()) SWIG_fail
;
30099 resultobj
= wxPyMake_wxObject(result
, 0);
30107 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30108 PyObject
*resultobj
;
30109 wxMenu
*arg1
= (wxMenu
*) 0 ;
30111 wxMenuItem
*result
;
30112 PyObject
* obj0
= 0 ;
30113 PyObject
* obj1
= 0 ;
30114 char *kwnames
[] = {
30115 (char *) "self",(char *) "position", NULL
30118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30121 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30122 if (PyErr_Occurred()) SWIG_fail
;
30124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30125 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30127 wxPyEndAllowThreads(__tstate
);
30128 if (PyErr_Occurred()) SWIG_fail
;
30131 resultobj
= wxPyMake_wxObject(result
, 0);
30139 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30140 PyObject
*resultobj
;
30141 wxMenu
*arg1
= (wxMenu
*) 0 ;
30144 PyObject
* obj0
= 0 ;
30145 PyObject
* obj1
= 0 ;
30146 PyObject
* obj2
= 0 ;
30147 char *kwnames
[] = {
30148 (char *) "self",(char *) "id",(char *) "enable", NULL
30151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30154 arg2
= (int) SWIG_AsInt(obj1
);
30155 if (PyErr_Occurred()) SWIG_fail
;
30156 arg3
= (bool) SWIG_AsBool(obj2
);
30157 if (PyErr_Occurred()) SWIG_fail
;
30159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30160 (arg1
)->Enable(arg2
,arg3
);
30162 wxPyEndAllowThreads(__tstate
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30165 Py_INCREF(Py_None
); resultobj
= Py_None
;
30172 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30173 PyObject
*resultobj
;
30174 wxMenu
*arg1
= (wxMenu
*) 0 ;
30177 PyObject
* obj0
= 0 ;
30178 PyObject
* obj1
= 0 ;
30179 char *kwnames
[] = {
30180 (char *) "self",(char *) "id", NULL
30183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30186 arg2
= (int) SWIG_AsInt(obj1
);
30187 if (PyErr_Occurred()) SWIG_fail
;
30189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30190 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30192 wxPyEndAllowThreads(__tstate
);
30193 if (PyErr_Occurred()) SWIG_fail
;
30196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30204 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30205 PyObject
*resultobj
;
30206 wxMenu
*arg1
= (wxMenu
*) 0 ;
30209 PyObject
* obj0
= 0 ;
30210 PyObject
* obj1
= 0 ;
30211 PyObject
* obj2
= 0 ;
30212 char *kwnames
[] = {
30213 (char *) "self",(char *) "id",(char *) "check", NULL
30216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30219 arg2
= (int) SWIG_AsInt(obj1
);
30220 if (PyErr_Occurred()) SWIG_fail
;
30221 arg3
= (bool) SWIG_AsBool(obj2
);
30222 if (PyErr_Occurred()) SWIG_fail
;
30224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30225 (arg1
)->Check(arg2
,arg3
);
30227 wxPyEndAllowThreads(__tstate
);
30228 if (PyErr_Occurred()) SWIG_fail
;
30230 Py_INCREF(Py_None
); resultobj
= Py_None
;
30237 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30238 PyObject
*resultobj
;
30239 wxMenu
*arg1
= (wxMenu
*) 0 ;
30242 PyObject
* obj0
= 0 ;
30243 PyObject
* obj1
= 0 ;
30244 char *kwnames
[] = {
30245 (char *) "self",(char *) "id", NULL
30248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30251 arg2
= (int) SWIG_AsInt(obj1
);
30252 if (PyErr_Occurred()) SWIG_fail
;
30254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30255 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30257 wxPyEndAllowThreads(__tstate
);
30258 if (PyErr_Occurred()) SWIG_fail
;
30261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30269 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30270 PyObject
*resultobj
;
30271 wxMenu
*arg1
= (wxMenu
*) 0 ;
30273 wxString
*arg3
= 0 ;
30274 bool temp3
= False
;
30275 PyObject
* obj0
= 0 ;
30276 PyObject
* obj1
= 0 ;
30277 PyObject
* obj2
= 0 ;
30278 char *kwnames
[] = {
30279 (char *) "self",(char *) "id",(char *) "label", NULL
30282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30285 arg2
= (int) SWIG_AsInt(obj1
);
30286 if (PyErr_Occurred()) SWIG_fail
;
30288 arg3
= wxString_in_helper(obj2
);
30289 if (arg3
== NULL
) SWIG_fail
;
30293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30294 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30296 wxPyEndAllowThreads(__tstate
);
30297 if (PyErr_Occurred()) SWIG_fail
;
30299 Py_INCREF(Py_None
); resultobj
= Py_None
;
30314 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30315 PyObject
*resultobj
;
30316 wxMenu
*arg1
= (wxMenu
*) 0 ;
30319 PyObject
* obj0
= 0 ;
30320 PyObject
* obj1
= 0 ;
30321 char *kwnames
[] = {
30322 (char *) "self",(char *) "id", NULL
30325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30328 arg2
= (int) SWIG_AsInt(obj1
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30332 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30334 wxPyEndAllowThreads(__tstate
);
30335 if (PyErr_Occurred()) SWIG_fail
;
30339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30350 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30351 PyObject
*resultobj
;
30352 wxMenu
*arg1
= (wxMenu
*) 0 ;
30354 wxString
*arg3
= 0 ;
30355 bool temp3
= False
;
30356 PyObject
* obj0
= 0 ;
30357 PyObject
* obj1
= 0 ;
30358 PyObject
* obj2
= 0 ;
30359 char *kwnames
[] = {
30360 (char *) "self",(char *) "id",(char *) "helpString", NULL
30363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30366 arg2
= (int) SWIG_AsInt(obj1
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30369 arg3
= wxString_in_helper(obj2
);
30370 if (arg3
== NULL
) SWIG_fail
;
30374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30375 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30377 wxPyEndAllowThreads(__tstate
);
30378 if (PyErr_Occurred()) SWIG_fail
;
30380 Py_INCREF(Py_None
); resultobj
= Py_None
;
30395 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30396 PyObject
*resultobj
;
30397 wxMenu
*arg1
= (wxMenu
*) 0 ;
30400 PyObject
* obj0
= 0 ;
30401 PyObject
* obj1
= 0 ;
30402 char *kwnames
[] = {
30403 (char *) "self",(char *) "id", NULL
30406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30409 arg2
= (int) SWIG_AsInt(obj1
);
30410 if (PyErr_Occurred()) SWIG_fail
;
30412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30413 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30415 wxPyEndAllowThreads(__tstate
);
30416 if (PyErr_Occurred()) SWIG_fail
;
30420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30431 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30432 PyObject
*resultobj
;
30433 wxMenu
*arg1
= (wxMenu
*) 0 ;
30434 wxString
*arg2
= 0 ;
30435 bool temp2
= False
;
30436 PyObject
* obj0
= 0 ;
30437 PyObject
* obj1
= 0 ;
30438 char *kwnames
[] = {
30439 (char *) "self",(char *) "title", NULL
30442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30446 arg2
= wxString_in_helper(obj1
);
30447 if (arg2
== NULL
) SWIG_fail
;
30451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30452 (arg1
)->SetTitle((wxString
const &)*arg2
);
30454 wxPyEndAllowThreads(__tstate
);
30455 if (PyErr_Occurred()) SWIG_fail
;
30457 Py_INCREF(Py_None
); resultobj
= Py_None
;
30472 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30473 PyObject
*resultobj
;
30474 wxMenu
*arg1
= (wxMenu
*) 0 ;
30476 PyObject
* obj0
= 0 ;
30477 char *kwnames
[] = {
30478 (char *) "self", NULL
30481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30486 result
= ((wxMenu
const *)arg1
)->GetTitle();
30488 wxPyEndAllowThreads(__tstate
);
30489 if (PyErr_Occurred()) SWIG_fail
;
30493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30504 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30505 PyObject
*resultobj
;
30506 wxMenu
*arg1
= (wxMenu
*) 0 ;
30507 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30508 PyObject
* obj0
= 0 ;
30509 PyObject
* obj1
= 0 ;
30510 char *kwnames
[] = {
30511 (char *) "self",(char *) "handler", NULL
30514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30521 (arg1
)->SetEventHandler(arg2
);
30523 wxPyEndAllowThreads(__tstate
);
30524 if (PyErr_Occurred()) SWIG_fail
;
30526 Py_INCREF(Py_None
); resultobj
= Py_None
;
30533 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30534 PyObject
*resultobj
;
30535 wxMenu
*arg1
= (wxMenu
*) 0 ;
30536 wxEvtHandler
*result
;
30537 PyObject
* obj0
= 0 ;
30538 char *kwnames
[] = {
30539 (char *) "self", NULL
30542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30547 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30549 wxPyEndAllowThreads(__tstate
);
30550 if (PyErr_Occurred()) SWIG_fail
;
30553 resultobj
= wxPyMake_wxObject(result
, 0);
30561 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30562 PyObject
*resultobj
;
30563 wxMenu
*arg1
= (wxMenu
*) 0 ;
30564 wxWindow
*arg2
= (wxWindow
*) 0 ;
30565 PyObject
* obj0
= 0 ;
30566 PyObject
* obj1
= 0 ;
30567 char *kwnames
[] = {
30568 (char *) "self",(char *) "win", NULL
30571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30578 (arg1
)->SetInvokingWindow(arg2
);
30580 wxPyEndAllowThreads(__tstate
);
30581 if (PyErr_Occurred()) SWIG_fail
;
30583 Py_INCREF(Py_None
); resultobj
= Py_None
;
30590 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30591 PyObject
*resultobj
;
30592 wxMenu
*arg1
= (wxMenu
*) 0 ;
30594 PyObject
* obj0
= 0 ;
30595 char *kwnames
[] = {
30596 (char *) "self", NULL
30599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30604 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30606 wxPyEndAllowThreads(__tstate
);
30607 if (PyErr_Occurred()) SWIG_fail
;
30610 resultobj
= wxPyMake_wxObject(result
, 0);
30618 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30619 PyObject
*resultobj
;
30620 wxMenu
*arg1
= (wxMenu
*) 0 ;
30622 PyObject
* obj0
= 0 ;
30623 char *kwnames
[] = {
30624 (char *) "self", NULL
30627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30632 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30634 wxPyEndAllowThreads(__tstate
);
30635 if (PyErr_Occurred()) SWIG_fail
;
30637 resultobj
= SWIG_FromLong((long)result
);
30644 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30645 PyObject
*resultobj
;
30646 wxMenu
*arg1
= (wxMenu
*) 0 ;
30647 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30648 PyObject
* obj0
= 0 ;
30649 PyObject
* obj1
= 0 ;
30650 char *kwnames
[] = {
30651 (char *) "self",(char *) "source", NULL
30654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30663 (arg1
)->UpdateUI(arg2
);
30665 wxPyEndAllowThreads(__tstate
);
30666 if (PyErr_Occurred()) SWIG_fail
;
30668 Py_INCREF(Py_None
); resultobj
= Py_None
;
30675 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30676 PyObject
*resultobj
;
30677 wxMenu
*arg1
= (wxMenu
*) 0 ;
30679 PyObject
* obj0
= 0 ;
30680 char *kwnames
[] = {
30681 (char *) "self", NULL
30684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30689 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30691 wxPyEndAllowThreads(__tstate
);
30692 if (PyErr_Occurred()) SWIG_fail
;
30695 resultobj
= wxPyMake_wxObject(result
, 0);
30703 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30704 PyObject
*resultobj
;
30705 wxMenu
*arg1
= (wxMenu
*) 0 ;
30706 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30707 PyObject
* obj0
= 0 ;
30708 PyObject
* obj1
= 0 ;
30709 char *kwnames
[] = {
30710 (char *) "self",(char *) "menubar", NULL
30713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30720 (arg1
)->Attach(arg2
);
30722 wxPyEndAllowThreads(__tstate
);
30723 if (PyErr_Occurred()) SWIG_fail
;
30725 Py_INCREF(Py_None
); resultobj
= Py_None
;
30732 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30733 PyObject
*resultobj
;
30734 wxMenu
*arg1
= (wxMenu
*) 0 ;
30735 PyObject
* obj0
= 0 ;
30736 char *kwnames
[] = {
30737 (char *) "self", NULL
30740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30747 wxPyEndAllowThreads(__tstate
);
30748 if (PyErr_Occurred()) SWIG_fail
;
30750 Py_INCREF(Py_None
); resultobj
= Py_None
;
30757 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30758 PyObject
*resultobj
;
30759 wxMenu
*arg1
= (wxMenu
*) 0 ;
30761 PyObject
* obj0
= 0 ;
30762 char *kwnames
[] = {
30763 (char *) "self", NULL
30766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30773 wxPyEndAllowThreads(__tstate
);
30774 if (PyErr_Occurred()) SWIG_fail
;
30777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30785 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30786 PyObject
*resultobj
;
30787 wxMenu
*arg1
= (wxMenu
*) 0 ;
30788 wxMenu
*arg2
= (wxMenu
*) 0 ;
30789 PyObject
* obj0
= 0 ;
30790 PyObject
* obj1
= 0 ;
30791 char *kwnames
[] = {
30792 (char *) "self",(char *) "parent", NULL
30795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30802 (arg1
)->SetParent(arg2
);
30804 wxPyEndAllowThreads(__tstate
);
30805 if (PyErr_Occurred()) SWIG_fail
;
30807 Py_INCREF(Py_None
); resultobj
= Py_None
;
30814 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30815 PyObject
*resultobj
;
30816 wxMenu
*arg1
= (wxMenu
*) 0 ;
30818 PyObject
* obj0
= 0 ;
30819 char *kwnames
[] = {
30820 (char *) "self", NULL
30823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30828 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30830 wxPyEndAllowThreads(__tstate
);
30831 if (PyErr_Occurred()) SWIG_fail
;
30834 resultobj
= wxPyMake_wxObject(result
, 0);
30842 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30845 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30847 return Py_BuildValue((char *)"");
30849 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30850 PyObject
*resultobj
;
30851 long arg1
= (long) 0 ;
30853 PyObject
* obj0
= 0 ;
30854 char *kwnames
[] = {
30855 (char *) "style", NULL
30858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30860 arg1
= (long) SWIG_AsLong(obj0
);
30861 if (PyErr_Occurred()) SWIG_fail
;
30864 if (!wxPyCheckForApp()) SWIG_fail
;
30865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30866 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30868 wxPyEndAllowThreads(__tstate
);
30869 if (PyErr_Occurred()) SWIG_fail
;
30871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
30878 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30879 PyObject
*resultobj
;
30880 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30881 wxMenu
*arg2
= (wxMenu
*) 0 ;
30882 wxString
*arg3
= 0 ;
30884 bool temp3
= False
;
30885 PyObject
* obj0
= 0 ;
30886 PyObject
* obj1
= 0 ;
30887 PyObject
* obj2
= 0 ;
30888 char *kwnames
[] = {
30889 (char *) "self",(char *) "menu",(char *) "title", NULL
30892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30898 arg3
= wxString_in_helper(obj2
);
30899 if (arg3
== NULL
) SWIG_fail
;
30903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30904 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30906 wxPyEndAllowThreads(__tstate
);
30907 if (PyErr_Occurred()) SWIG_fail
;
30910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30926 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30927 PyObject
*resultobj
;
30928 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30930 wxMenu
*arg3
= (wxMenu
*) 0 ;
30931 wxString
*arg4
= 0 ;
30933 bool temp4
= False
;
30934 PyObject
* obj0
= 0 ;
30935 PyObject
* obj1
= 0 ;
30936 PyObject
* obj2
= 0 ;
30937 PyObject
* obj3
= 0 ;
30938 char *kwnames
[] = {
30939 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30945 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30946 if (PyErr_Occurred()) SWIG_fail
;
30947 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30950 arg4
= wxString_in_helper(obj3
);
30951 if (arg4
== NULL
) SWIG_fail
;
30955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30956 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30958 wxPyEndAllowThreads(__tstate
);
30959 if (PyErr_Occurred()) SWIG_fail
;
30962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30978 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30979 PyObject
*resultobj
;
30980 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30982 PyObject
* obj0
= 0 ;
30983 char *kwnames
[] = {
30984 (char *) "self", NULL
30987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30992 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30994 wxPyEndAllowThreads(__tstate
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30997 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
31004 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31005 PyObject
*resultobj
;
31006 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31009 PyObject
* obj0
= 0 ;
31010 PyObject
* obj1
= 0 ;
31011 char *kwnames
[] = {
31012 (char *) "self",(char *) "pos", NULL
31015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31018 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31019 if (PyErr_Occurred()) SWIG_fail
;
31021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31022 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31024 wxPyEndAllowThreads(__tstate
);
31025 if (PyErr_Occurred()) SWIG_fail
;
31028 resultobj
= wxPyMake_wxObject(result
, 0);
31036 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
;
31038 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31040 wxMenu
*arg3
= (wxMenu
*) 0 ;
31041 wxString
*arg4
= 0 ;
31043 bool temp4
= False
;
31044 PyObject
* obj0
= 0 ;
31045 PyObject
* obj1
= 0 ;
31046 PyObject
* obj2
= 0 ;
31047 PyObject
* obj3
= 0 ;
31048 char *kwnames
[] = {
31049 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31055 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31056 if (PyErr_Occurred()) SWIG_fail
;
31057 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31060 arg4
= wxString_in_helper(obj3
);
31061 if (arg4
== NULL
) SWIG_fail
;
31065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31066 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31068 wxPyEndAllowThreads(__tstate
);
31069 if (PyErr_Occurred()) SWIG_fail
;
31072 resultobj
= wxPyMake_wxObject(result
, 0);
31088 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31089 PyObject
*resultobj
;
31090 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31093 PyObject
* obj0
= 0 ;
31094 PyObject
* obj1
= 0 ;
31095 char *kwnames
[] = {
31096 (char *) "self",(char *) "pos", NULL
31099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31102 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31103 if (PyErr_Occurred()) SWIG_fail
;
31105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31106 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31108 wxPyEndAllowThreads(__tstate
);
31109 if (PyErr_Occurred()) SWIG_fail
;
31112 resultobj
= wxPyMake_wxObject(result
, 0);
31120 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31121 PyObject
*resultobj
;
31122 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31125 PyObject
* obj0
= 0 ;
31126 PyObject
* obj1
= 0 ;
31127 PyObject
* obj2
= 0 ;
31128 char *kwnames
[] = {
31129 (char *) "self",(char *) "pos",(char *) "enable", NULL
31132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31135 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31136 if (PyErr_Occurred()) SWIG_fail
;
31137 arg3
= (bool) SWIG_AsBool(obj2
);
31138 if (PyErr_Occurred()) SWIG_fail
;
31140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31141 (arg1
)->EnableTop(arg2
,arg3
);
31143 wxPyEndAllowThreads(__tstate
);
31144 if (PyErr_Occurred()) SWIG_fail
;
31146 Py_INCREF(Py_None
); resultobj
= Py_None
;
31153 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31154 PyObject
*resultobj
;
31155 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31158 PyObject
* obj0
= 0 ;
31159 PyObject
* obj1
= 0 ;
31160 char *kwnames
[] = {
31161 (char *) "self",(char *) "pos", NULL
31164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31167 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31168 if (PyErr_Occurred()) SWIG_fail
;
31170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31171 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31173 wxPyEndAllowThreads(__tstate
);
31174 if (PyErr_Occurred()) SWIG_fail
;
31177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31185 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31186 PyObject
*resultobj
;
31187 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31189 wxString
*arg3
= 0 ;
31190 bool temp3
= False
;
31191 PyObject
* obj0
= 0 ;
31192 PyObject
* obj1
= 0 ;
31193 PyObject
* obj2
= 0 ;
31194 char *kwnames
[] = {
31195 (char *) "self",(char *) "pos",(char *) "label", NULL
31198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31201 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31204 arg3
= wxString_in_helper(obj2
);
31205 if (arg3
== NULL
) SWIG_fail
;
31209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31210 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31212 wxPyEndAllowThreads(__tstate
);
31213 if (PyErr_Occurred()) SWIG_fail
;
31215 Py_INCREF(Py_None
); resultobj
= Py_None
;
31230 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31231 PyObject
*resultobj
;
31232 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31235 PyObject
* obj0
= 0 ;
31236 PyObject
* obj1
= 0 ;
31237 char *kwnames
[] = {
31238 (char *) "self",(char *) "pos", NULL
31241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31244 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31245 if (PyErr_Occurred()) SWIG_fail
;
31247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31248 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31250 wxPyEndAllowThreads(__tstate
);
31251 if (PyErr_Occurred()) SWIG_fail
;
31255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31266 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31267 PyObject
*resultobj
;
31268 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31269 wxString
*arg2
= 0 ;
31270 wxString
*arg3
= 0 ;
31272 bool temp2
= False
;
31273 bool temp3
= False
;
31274 PyObject
* obj0
= 0 ;
31275 PyObject
* obj1
= 0 ;
31276 PyObject
* obj2
= 0 ;
31277 char *kwnames
[] = {
31278 (char *) "self",(char *) "menu",(char *) "item", NULL
31281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31285 arg2
= wxString_in_helper(obj1
);
31286 if (arg2
== NULL
) SWIG_fail
;
31290 arg3
= wxString_in_helper(obj2
);
31291 if (arg3
== NULL
) SWIG_fail
;
31295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31296 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31298 wxPyEndAllowThreads(__tstate
);
31299 if (PyErr_Occurred()) SWIG_fail
;
31301 resultobj
= SWIG_FromInt((int)result
);
31324 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31325 PyObject
*resultobj
;
31326 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31328 wxMenuItem
*result
;
31329 PyObject
* obj0
= 0 ;
31330 PyObject
* obj1
= 0 ;
31331 char *kwnames
[] = {
31332 (char *) "self",(char *) "id", NULL
31335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31338 arg2
= (int) SWIG_AsInt(obj1
);
31339 if (PyErr_Occurred()) SWIG_fail
;
31341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31342 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31344 wxPyEndAllowThreads(__tstate
);
31345 if (PyErr_Occurred()) SWIG_fail
;
31348 resultobj
= wxPyMake_wxObject(result
, 0);
31356 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31357 PyObject
*resultobj
;
31358 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31359 wxString
*arg2
= 0 ;
31361 bool temp2
= False
;
31362 PyObject
* obj0
= 0 ;
31363 PyObject
* obj1
= 0 ;
31364 char *kwnames
[] = {
31365 (char *) "self",(char *) "title", NULL
31368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31372 arg2
= wxString_in_helper(obj1
);
31373 if (arg2
== NULL
) SWIG_fail
;
31377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31378 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31380 wxPyEndAllowThreads(__tstate
);
31381 if (PyErr_Occurred()) SWIG_fail
;
31383 resultobj
= SWIG_FromInt((int)result
);
31398 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31399 PyObject
*resultobj
;
31400 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31403 PyObject
* obj0
= 0 ;
31404 PyObject
* obj1
= 0 ;
31405 PyObject
* obj2
= 0 ;
31406 char *kwnames
[] = {
31407 (char *) "self",(char *) "id",(char *) "enable", NULL
31410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31413 arg2
= (int) SWIG_AsInt(obj1
);
31414 if (PyErr_Occurred()) SWIG_fail
;
31415 arg3
= (bool) SWIG_AsBool(obj2
);
31416 if (PyErr_Occurred()) SWIG_fail
;
31418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31419 (arg1
)->Enable(arg2
,arg3
);
31421 wxPyEndAllowThreads(__tstate
);
31422 if (PyErr_Occurred()) SWIG_fail
;
31424 Py_INCREF(Py_None
); resultobj
= Py_None
;
31431 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31432 PyObject
*resultobj
;
31433 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31436 PyObject
* obj0
= 0 ;
31437 PyObject
* obj1
= 0 ;
31438 PyObject
* obj2
= 0 ;
31439 char *kwnames
[] = {
31440 (char *) "self",(char *) "id",(char *) "check", NULL
31443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31446 arg2
= (int) SWIG_AsInt(obj1
);
31447 if (PyErr_Occurred()) SWIG_fail
;
31448 arg3
= (bool) SWIG_AsBool(obj2
);
31449 if (PyErr_Occurred()) SWIG_fail
;
31451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31452 (arg1
)->Check(arg2
,arg3
);
31454 wxPyEndAllowThreads(__tstate
);
31455 if (PyErr_Occurred()) SWIG_fail
;
31457 Py_INCREF(Py_None
); resultobj
= Py_None
;
31464 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31465 PyObject
*resultobj
;
31466 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31469 PyObject
* obj0
= 0 ;
31470 PyObject
* obj1
= 0 ;
31471 char *kwnames
[] = {
31472 (char *) "self",(char *) "id", NULL
31475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31478 arg2
= (int) SWIG_AsInt(obj1
);
31479 if (PyErr_Occurred()) SWIG_fail
;
31481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31482 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31484 wxPyEndAllowThreads(__tstate
);
31485 if (PyErr_Occurred()) SWIG_fail
;
31488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31496 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31497 PyObject
*resultobj
;
31498 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31501 PyObject
* obj0
= 0 ;
31502 PyObject
* obj1
= 0 ;
31503 char *kwnames
[] = {
31504 (char *) "self",(char *) "id", NULL
31507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31510 arg2
= (int) SWIG_AsInt(obj1
);
31511 if (PyErr_Occurred()) SWIG_fail
;
31513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31514 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31516 wxPyEndAllowThreads(__tstate
);
31517 if (PyErr_Occurred()) SWIG_fail
;
31520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31528 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31529 PyObject
*resultobj
;
31530 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31532 wxString
*arg3
= 0 ;
31533 bool temp3
= False
;
31534 PyObject
* obj0
= 0 ;
31535 PyObject
* obj1
= 0 ;
31536 PyObject
* obj2
= 0 ;
31537 char *kwnames
[] = {
31538 (char *) "self",(char *) "id",(char *) "label", NULL
31541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31544 arg2
= (int) SWIG_AsInt(obj1
);
31545 if (PyErr_Occurred()) SWIG_fail
;
31547 arg3
= wxString_in_helper(obj2
);
31548 if (arg3
== NULL
) SWIG_fail
;
31552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31553 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31555 wxPyEndAllowThreads(__tstate
);
31556 if (PyErr_Occurred()) SWIG_fail
;
31558 Py_INCREF(Py_None
); resultobj
= Py_None
;
31573 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31574 PyObject
*resultobj
;
31575 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31578 PyObject
* obj0
= 0 ;
31579 PyObject
* obj1
= 0 ;
31580 char *kwnames
[] = {
31581 (char *) "self",(char *) "id", NULL
31584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31587 arg2
= (int) SWIG_AsInt(obj1
);
31588 if (PyErr_Occurred()) SWIG_fail
;
31590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31591 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31593 wxPyEndAllowThreads(__tstate
);
31594 if (PyErr_Occurred()) SWIG_fail
;
31598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31609 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31610 PyObject
*resultobj
;
31611 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31613 wxString
*arg3
= 0 ;
31614 bool temp3
= False
;
31615 PyObject
* obj0
= 0 ;
31616 PyObject
* obj1
= 0 ;
31617 PyObject
* obj2
= 0 ;
31618 char *kwnames
[] = {
31619 (char *) "self",(char *) "id",(char *) "helpString", NULL
31622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31625 arg2
= (int) SWIG_AsInt(obj1
);
31626 if (PyErr_Occurred()) SWIG_fail
;
31628 arg3
= wxString_in_helper(obj2
);
31629 if (arg3
== NULL
) SWIG_fail
;
31633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31634 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31636 wxPyEndAllowThreads(__tstate
);
31637 if (PyErr_Occurred()) SWIG_fail
;
31639 Py_INCREF(Py_None
); resultobj
= Py_None
;
31654 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31655 PyObject
*resultobj
;
31656 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31659 PyObject
* obj0
= 0 ;
31660 PyObject
* obj1
= 0 ;
31661 char *kwnames
[] = {
31662 (char *) "self",(char *) "id", NULL
31665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31668 arg2
= (int) SWIG_AsInt(obj1
);
31669 if (PyErr_Occurred()) SWIG_fail
;
31671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31672 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31674 wxPyEndAllowThreads(__tstate
);
31675 if (PyErr_Occurred()) SWIG_fail
;
31679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31690 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31691 PyObject
*resultobj
;
31692 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31694 PyObject
* obj0
= 0 ;
31695 char *kwnames
[] = {
31696 (char *) "self", NULL
31699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31704 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31706 wxPyEndAllowThreads(__tstate
);
31707 if (PyErr_Occurred()) SWIG_fail
;
31710 resultobj
= wxPyMake_wxObject(result
, 0);
31718 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31719 PyObject
*resultobj
;
31720 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31722 PyObject
* obj0
= 0 ;
31723 char *kwnames
[] = {
31724 (char *) "self", NULL
31727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31732 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31734 wxPyEndAllowThreads(__tstate
);
31735 if (PyErr_Occurred()) SWIG_fail
;
31738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31746 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31747 PyObject
*resultobj
;
31748 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31749 wxFrame
*arg2
= (wxFrame
*) 0 ;
31750 PyObject
* obj0
= 0 ;
31751 PyObject
* obj1
= 0 ;
31752 char *kwnames
[] = {
31753 (char *) "self",(char *) "frame", NULL
31756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31763 (arg1
)->Attach(arg2
);
31765 wxPyEndAllowThreads(__tstate
);
31766 if (PyErr_Occurred()) SWIG_fail
;
31768 Py_INCREF(Py_None
); resultobj
= Py_None
;
31775 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31776 PyObject
*resultobj
;
31777 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31778 PyObject
* obj0
= 0 ;
31779 char *kwnames
[] = {
31780 (char *) "self", NULL
31783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31790 wxPyEndAllowThreads(__tstate
);
31791 if (PyErr_Occurred()) SWIG_fail
;
31793 Py_INCREF(Py_None
); resultobj
= Py_None
;
31800 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31803 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31805 return Py_BuildValue((char *)"");
31807 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31808 PyObject
*resultobj
;
31809 wxMenu
*arg1
= (wxMenu
*) NULL
;
31810 int arg2
= (int) wxID_ANY
;
31811 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31812 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31813 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31814 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31815 int arg5
= (int) wxITEM_NORMAL
;
31816 wxMenu
*arg6
= (wxMenu
*) NULL
;
31817 wxMenuItem
*result
;
31818 bool temp3
= False
;
31819 bool temp4
= False
;
31820 PyObject
* obj0
= 0 ;
31821 PyObject
* obj1
= 0 ;
31822 PyObject
* obj2
= 0 ;
31823 PyObject
* obj3
= 0 ;
31824 PyObject
* obj4
= 0 ;
31825 PyObject
* obj5
= 0 ;
31826 char *kwnames
[] = {
31827 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31836 arg2
= (int) SWIG_AsInt(obj1
);
31837 if (PyErr_Occurred()) SWIG_fail
;
31841 arg3
= wxString_in_helper(obj2
);
31842 if (arg3
== NULL
) SWIG_fail
;
31848 arg4
= wxString_in_helper(obj3
);
31849 if (arg4
== NULL
) SWIG_fail
;
31854 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31855 if (PyErr_Occurred()) SWIG_fail
;
31858 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31863 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31865 wxPyEndAllowThreads(__tstate
);
31866 if (PyErr_Occurred()) SWIG_fail
;
31869 resultobj
= wxPyMake_wxObject(result
, 1);
31893 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31894 PyObject
*resultobj
;
31895 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31897 PyObject
* obj0
= 0 ;
31898 char *kwnames
[] = {
31899 (char *) "self", NULL
31902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31907 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31909 wxPyEndAllowThreads(__tstate
);
31910 if (PyErr_Occurred()) SWIG_fail
;
31913 resultobj
= wxPyMake_wxObject(result
, 0);
31921 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31922 PyObject
*resultobj
;
31923 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31924 wxMenu
*arg2
= (wxMenu
*) 0 ;
31925 PyObject
* obj0
= 0 ;
31926 PyObject
* obj1
= 0 ;
31927 char *kwnames
[] = {
31928 (char *) "self",(char *) "menu", NULL
31931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31938 (arg1
)->SetMenu(arg2
);
31940 wxPyEndAllowThreads(__tstate
);
31941 if (PyErr_Occurred()) SWIG_fail
;
31943 Py_INCREF(Py_None
); resultobj
= Py_None
;
31950 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31951 PyObject
*resultobj
;
31952 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31954 PyObject
* obj0
= 0 ;
31955 PyObject
* obj1
= 0 ;
31956 char *kwnames
[] = {
31957 (char *) "self",(char *) "id", NULL
31960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31963 arg2
= (int) SWIG_AsInt(obj1
);
31964 if (PyErr_Occurred()) SWIG_fail
;
31966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31967 (arg1
)->SetId(arg2
);
31969 wxPyEndAllowThreads(__tstate
);
31970 if (PyErr_Occurred()) SWIG_fail
;
31972 Py_INCREF(Py_None
); resultobj
= Py_None
;
31979 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31980 PyObject
*resultobj
;
31981 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31983 PyObject
* obj0
= 0 ;
31984 char *kwnames
[] = {
31985 (char *) "self", NULL
31988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31993 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31995 wxPyEndAllowThreads(__tstate
);
31996 if (PyErr_Occurred()) SWIG_fail
;
31998 resultobj
= SWIG_FromInt((int)result
);
32005 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32006 PyObject
*resultobj
;
32007 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32009 PyObject
* obj0
= 0 ;
32010 char *kwnames
[] = {
32011 (char *) "self", NULL
32014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32019 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32021 wxPyEndAllowThreads(__tstate
);
32022 if (PyErr_Occurred()) SWIG_fail
;
32025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32033 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32034 PyObject
*resultobj
;
32035 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32036 wxString
*arg2
= 0 ;
32037 bool temp2
= False
;
32038 PyObject
* obj0
= 0 ;
32039 PyObject
* obj1
= 0 ;
32040 char *kwnames
[] = {
32041 (char *) "self",(char *) "str", NULL
32044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32048 arg2
= wxString_in_helper(obj1
);
32049 if (arg2
== NULL
) SWIG_fail
;
32053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32054 (arg1
)->SetText((wxString
const &)*arg2
);
32056 wxPyEndAllowThreads(__tstate
);
32057 if (PyErr_Occurred()) SWIG_fail
;
32059 Py_INCREF(Py_None
); resultobj
= Py_None
;
32074 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32075 PyObject
*resultobj
;
32076 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32078 PyObject
* obj0
= 0 ;
32079 char *kwnames
[] = {
32080 (char *) "self", NULL
32083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32088 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32090 wxPyEndAllowThreads(__tstate
);
32091 if (PyErr_Occurred()) SWIG_fail
;
32095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32106 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32107 PyObject
*resultobj
;
32108 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32110 PyObject
* obj0
= 0 ;
32111 char *kwnames
[] = {
32112 (char *) "self", NULL
32115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32121 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32122 result
= (wxString
*) &_result_ref
;
32125 wxPyEndAllowThreads(__tstate
);
32126 if (PyErr_Occurred()) SWIG_fail
;
32130 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32132 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32141 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32142 PyObject
*resultobj
;
32143 wxString
*arg1
= 0 ;
32145 bool temp1
= False
;
32146 PyObject
* obj0
= 0 ;
32147 char *kwnames
[] = {
32148 (char *) "text", NULL
32151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32153 arg1
= wxString_in_helper(obj0
);
32154 if (arg1
== NULL
) SWIG_fail
;
32158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32159 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32161 wxPyEndAllowThreads(__tstate
);
32162 if (PyErr_Occurred()) SWIG_fail
;
32166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32185 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32186 PyObject
*resultobj
;
32187 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32189 PyObject
* obj0
= 0 ;
32190 char *kwnames
[] = {
32191 (char *) "self", NULL
32194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32199 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32201 wxPyEndAllowThreads(__tstate
);
32202 if (PyErr_Occurred()) SWIG_fail
;
32204 resultobj
= SWIG_FromInt((int)result
);
32211 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32212 PyObject
*resultobj
;
32213 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32215 PyObject
* obj0
= 0 ;
32216 PyObject
* obj1
= 0 ;
32217 char *kwnames
[] = {
32218 (char *) "self",(char *) "kind", NULL
32221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32224 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32225 if (PyErr_Occurred()) SWIG_fail
;
32227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32228 (arg1
)->SetKind((wxItemKind
)arg2
);
32230 wxPyEndAllowThreads(__tstate
);
32231 if (PyErr_Occurred()) SWIG_fail
;
32233 Py_INCREF(Py_None
); resultobj
= Py_None
;
32240 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32241 PyObject
*resultobj
;
32242 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32244 PyObject
* obj0
= 0 ;
32245 PyObject
* obj1
= 0 ;
32246 char *kwnames
[] = {
32247 (char *) "self",(char *) "checkable", NULL
32250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32253 arg2
= (bool) SWIG_AsBool(obj1
);
32254 if (PyErr_Occurred()) SWIG_fail
;
32256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32257 (arg1
)->SetCheckable(arg2
);
32259 wxPyEndAllowThreads(__tstate
);
32260 if (PyErr_Occurred()) SWIG_fail
;
32262 Py_INCREF(Py_None
); resultobj
= Py_None
;
32269 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32270 PyObject
*resultobj
;
32271 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32273 PyObject
* obj0
= 0 ;
32274 char *kwnames
[] = {
32275 (char *) "self", NULL
32278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32283 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32285 wxPyEndAllowThreads(__tstate
);
32286 if (PyErr_Occurred()) SWIG_fail
;
32289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32297 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32298 PyObject
*resultobj
;
32299 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32301 PyObject
* obj0
= 0 ;
32302 char *kwnames
[] = {
32303 (char *) "self", NULL
32306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32311 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32313 wxPyEndAllowThreads(__tstate
);
32314 if (PyErr_Occurred()) SWIG_fail
;
32317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32325 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32326 PyObject
*resultobj
;
32327 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32328 wxMenu
*arg2
= (wxMenu
*) 0 ;
32329 PyObject
* obj0
= 0 ;
32330 PyObject
* obj1
= 0 ;
32331 char *kwnames
[] = {
32332 (char *) "self",(char *) "menu", NULL
32335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32342 (arg1
)->SetSubMenu(arg2
);
32344 wxPyEndAllowThreads(__tstate
);
32345 if (PyErr_Occurred()) SWIG_fail
;
32347 Py_INCREF(Py_None
); resultobj
= Py_None
;
32354 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32355 PyObject
*resultobj
;
32356 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32358 PyObject
* obj0
= 0 ;
32359 char *kwnames
[] = {
32360 (char *) "self", NULL
32363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32368 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32370 wxPyEndAllowThreads(__tstate
);
32371 if (PyErr_Occurred()) SWIG_fail
;
32374 resultobj
= wxPyMake_wxObject(result
, 0);
32382 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32383 PyObject
*resultobj
;
32384 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32385 bool arg2
= (bool) True
;
32386 PyObject
* obj0
= 0 ;
32387 PyObject
* obj1
= 0 ;
32388 char *kwnames
[] = {
32389 (char *) "self",(char *) "enable", NULL
32392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32396 arg2
= (bool) SWIG_AsBool(obj1
);
32397 if (PyErr_Occurred()) SWIG_fail
;
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32401 (arg1
)->Enable(arg2
);
32403 wxPyEndAllowThreads(__tstate
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32406 Py_INCREF(Py_None
); resultobj
= Py_None
;
32413 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32414 PyObject
*resultobj
;
32415 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32417 PyObject
* obj0
= 0 ;
32418 char *kwnames
[] = {
32419 (char *) "self", NULL
32422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32427 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32429 wxPyEndAllowThreads(__tstate
);
32430 if (PyErr_Occurred()) SWIG_fail
;
32433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32441 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32442 PyObject
*resultobj
;
32443 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32444 bool arg2
= (bool) True
;
32445 PyObject
* obj0
= 0 ;
32446 PyObject
* obj1
= 0 ;
32447 char *kwnames
[] = {
32448 (char *) "self",(char *) "check", NULL
32451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32455 arg2
= (bool) SWIG_AsBool(obj1
);
32456 if (PyErr_Occurred()) SWIG_fail
;
32459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32460 (arg1
)->Check(arg2
);
32462 wxPyEndAllowThreads(__tstate
);
32463 if (PyErr_Occurred()) SWIG_fail
;
32465 Py_INCREF(Py_None
); resultobj
= Py_None
;
32472 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32473 PyObject
*resultobj
;
32474 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32476 PyObject
* obj0
= 0 ;
32477 char *kwnames
[] = {
32478 (char *) "self", NULL
32481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32486 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32488 wxPyEndAllowThreads(__tstate
);
32489 if (PyErr_Occurred()) SWIG_fail
;
32492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32500 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32501 PyObject
*resultobj
;
32502 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32503 PyObject
* obj0
= 0 ;
32504 char *kwnames
[] = {
32505 (char *) "self", NULL
32508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32515 wxPyEndAllowThreads(__tstate
);
32516 if (PyErr_Occurred()) SWIG_fail
;
32518 Py_INCREF(Py_None
); resultobj
= Py_None
;
32525 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32526 PyObject
*resultobj
;
32527 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32528 wxString
*arg2
= 0 ;
32529 bool temp2
= False
;
32530 PyObject
* obj0
= 0 ;
32531 PyObject
* obj1
= 0 ;
32532 char *kwnames
[] = {
32533 (char *) "self",(char *) "str", NULL
32536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32540 arg2
= wxString_in_helper(obj1
);
32541 if (arg2
== NULL
) SWIG_fail
;
32545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32546 (arg1
)->SetHelp((wxString
const &)*arg2
);
32548 wxPyEndAllowThreads(__tstate
);
32549 if (PyErr_Occurred()) SWIG_fail
;
32551 Py_INCREF(Py_None
); resultobj
= Py_None
;
32566 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32567 PyObject
*resultobj
;
32568 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32570 PyObject
* obj0
= 0 ;
32571 char *kwnames
[] = {
32572 (char *) "self", NULL
32575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32581 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32582 result
= (wxString
*) &_result_ref
;
32585 wxPyEndAllowThreads(__tstate
);
32586 if (PyErr_Occurred()) SWIG_fail
;
32590 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32592 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32601 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32602 PyObject
*resultobj
;
32603 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32604 wxAcceleratorEntry
*result
;
32605 PyObject
* obj0
= 0 ;
32606 char *kwnames
[] = {
32607 (char *) "self", NULL
32610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32615 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32617 wxPyEndAllowThreads(__tstate
);
32618 if (PyErr_Occurred()) SWIG_fail
;
32620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32627 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32628 PyObject
*resultobj
;
32629 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32630 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32631 PyObject
* obj0
= 0 ;
32632 PyObject
* obj1
= 0 ;
32633 char *kwnames
[] = {
32634 (char *) "self",(char *) "accel", NULL
32637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32644 (arg1
)->SetAccel(arg2
);
32646 wxPyEndAllowThreads(__tstate
);
32647 if (PyErr_Occurred()) SWIG_fail
;
32649 Py_INCREF(Py_None
); resultobj
= Py_None
;
32656 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32657 PyObject
*resultobj
;
32659 char *kwnames
[] = {
32663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32666 result
= (int)MenuItem_GetDefaultMarginWidth();
32668 wxPyEndAllowThreads(__tstate
);
32669 if (PyErr_Occurred()) SWIG_fail
;
32671 resultobj
= SWIG_FromInt((int)result
);
32678 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32679 PyObject
*resultobj
;
32680 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32681 wxBitmap
*arg2
= 0 ;
32682 PyObject
* obj0
= 0 ;
32683 PyObject
* obj1
= 0 ;
32684 char *kwnames
[] = {
32685 (char *) "self",(char *) "bitmap", NULL
32688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32694 if (arg2
== NULL
) {
32695 PyErr_SetString(PyExc_TypeError
,"null reference");
32699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32700 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32702 wxPyEndAllowThreads(__tstate
);
32703 if (PyErr_Occurred()) SWIG_fail
;
32705 Py_INCREF(Py_None
); resultobj
= Py_None
;
32712 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32713 PyObject
*resultobj
;
32714 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32716 PyObject
* obj0
= 0 ;
32717 char *kwnames
[] = {
32718 (char *) "self", NULL
32721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
32722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32727 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
32728 result
= (wxBitmap
*) &_result_ref
;
32731 wxPyEndAllowThreads(__tstate
);
32732 if (PyErr_Occurred()) SWIG_fail
;
32735 wxBitmap
* resultptr
= new wxBitmap(*result
);
32736 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32744 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
32746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32747 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
32749 return Py_BuildValue((char *)"");
32751 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
32752 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
32757 static PyObject
*_wrap_ControlNameStr_get() {
32762 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32764 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32771 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32772 PyObject
*resultobj
;
32773 wxWindow
*arg1
= (wxWindow
*) 0 ;
32774 int arg2
= (int) -1 ;
32775 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32776 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32777 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32778 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32779 long arg5
= (long) 0 ;
32780 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32781 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32782 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32783 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32787 bool temp7
= False
;
32788 PyObject
* obj0
= 0 ;
32789 PyObject
* obj1
= 0 ;
32790 PyObject
* obj2
= 0 ;
32791 PyObject
* obj3
= 0 ;
32792 PyObject
* obj4
= 0 ;
32793 PyObject
* obj5
= 0 ;
32794 PyObject
* obj6
= 0 ;
32795 char *kwnames
[] = {
32796 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32803 arg2
= (int) SWIG_AsInt(obj1
);
32804 if (PyErr_Occurred()) SWIG_fail
;
32809 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32815 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32819 arg5
= (long) SWIG_AsLong(obj4
);
32820 if (PyErr_Occurred()) SWIG_fail
;
32823 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
32824 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32826 if (arg6
== NULL
) {
32827 PyErr_SetString(PyExc_TypeError
,"null reference");
32833 arg7
= wxString_in_helper(obj6
);
32834 if (arg7
== NULL
) SWIG_fail
;
32839 if (!wxPyCheckForApp()) SWIG_fail
;
32840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32841 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32843 wxPyEndAllowThreads(__tstate
);
32844 if (PyErr_Occurred()) SWIG_fail
;
32846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
32861 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32862 PyObject
*resultobj
;
32864 char *kwnames
[] = {
32868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
32870 if (!wxPyCheckForApp()) SWIG_fail
;
32871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32872 result
= (wxControl
*)new wxControl();
32874 wxPyEndAllowThreads(__tstate
);
32875 if (PyErr_Occurred()) SWIG_fail
;
32877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
32884 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32885 PyObject
*resultobj
;
32886 wxControl
*arg1
= (wxControl
*) 0 ;
32887 wxWindow
*arg2
= (wxWindow
*) 0 ;
32888 int arg3
= (int) -1 ;
32889 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32890 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32891 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32892 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32893 long arg6
= (long) 0 ;
32894 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32895 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32896 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
32897 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32901 bool temp8
= False
;
32902 PyObject
* obj0
= 0 ;
32903 PyObject
* obj1
= 0 ;
32904 PyObject
* obj2
= 0 ;
32905 PyObject
* obj3
= 0 ;
32906 PyObject
* obj4
= 0 ;
32907 PyObject
* obj5
= 0 ;
32908 PyObject
* obj6
= 0 ;
32909 PyObject
* obj7
= 0 ;
32910 char *kwnames
[] = {
32911 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
32915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
32918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32920 arg3
= (int) SWIG_AsInt(obj2
);
32921 if (PyErr_Occurred()) SWIG_fail
;
32926 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32932 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32936 arg6
= (long) SWIG_AsLong(obj5
);
32937 if (PyErr_Occurred()) SWIG_fail
;
32940 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
32941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32943 if (arg7
== NULL
) {
32944 PyErr_SetString(PyExc_TypeError
,"null reference");
32950 arg8
= wxString_in_helper(obj7
);
32951 if (arg8
== NULL
) SWIG_fail
;
32956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32957 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32959 wxPyEndAllowThreads(__tstate
);
32960 if (PyErr_Occurred()) SWIG_fail
;
32963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32979 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32980 PyObject
*resultobj
;
32981 wxControl
*arg1
= (wxControl
*) 0 ;
32982 wxCommandEvent
*arg2
= 0 ;
32983 PyObject
* obj0
= 0 ;
32984 PyObject
* obj1
= 0 ;
32985 char *kwnames
[] = {
32986 (char *) "self",(char *) "event", NULL
32989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
32990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
32993 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32995 if (arg2
== NULL
) {
32996 PyErr_SetString(PyExc_TypeError
,"null reference");
33000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33001 (arg1
)->Command(*arg2
);
33003 wxPyEndAllowThreads(__tstate
);
33004 if (PyErr_Occurred()) SWIG_fail
;
33006 Py_INCREF(Py_None
); resultobj
= Py_None
;
33013 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33014 PyObject
*resultobj
;
33015 wxControl
*arg1
= (wxControl
*) 0 ;
33017 PyObject
* obj0
= 0 ;
33018 char *kwnames
[] = {
33019 (char *) "self", NULL
33022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33027 result
= (arg1
)->GetLabel();
33029 wxPyEndAllowThreads(__tstate
);
33030 if (PyErr_Occurred()) SWIG_fail
;
33034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33045 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33046 PyObject
*resultobj
;
33047 wxControl
*arg1
= (wxControl
*) 0 ;
33048 wxString
*arg2
= 0 ;
33049 bool temp2
= False
;
33050 PyObject
* obj0
= 0 ;
33051 PyObject
* obj1
= 0 ;
33052 char *kwnames
[] = {
33053 (char *) "self",(char *) "label", NULL
33056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33060 arg2
= wxString_in_helper(obj1
);
33061 if (arg2
== NULL
) SWIG_fail
;
33065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33066 (arg1
)->SetLabel((wxString
const &)*arg2
);
33068 wxPyEndAllowThreads(__tstate
);
33069 if (PyErr_Occurred()) SWIG_fail
;
33071 Py_INCREF(Py_None
); resultobj
= Py_None
;
33086 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33087 PyObject
*resultobj
;
33088 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33089 wxVisualAttributes result
;
33090 PyObject
* obj0
= 0 ;
33091 char *kwnames
[] = {
33092 (char *) "variant", NULL
33095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33097 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33098 if (PyErr_Occurred()) SWIG_fail
;
33101 if (!wxPyCheckForApp()) SWIG_fail
;
33102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33103 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33105 wxPyEndAllowThreads(__tstate
);
33106 if (PyErr_Occurred()) SWIG_fail
;
33109 wxVisualAttributes
* resultptr
;
33110 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33119 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33122 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33124 return Py_BuildValue((char *)"");
33126 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33127 PyObject
*resultobj
;
33128 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33129 wxString
*arg2
= 0 ;
33130 PyObject
*arg3
= (PyObject
*) NULL
;
33132 bool temp2
= False
;
33133 PyObject
* obj0
= 0 ;
33134 PyObject
* obj1
= 0 ;
33135 PyObject
* obj2
= 0 ;
33136 char *kwnames
[] = {
33137 (char *) "self",(char *) "item",(char *) "clientData", NULL
33140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33144 arg2
= wxString_in_helper(obj1
);
33145 if (arg2
== NULL
) SWIG_fail
;
33152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33153 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33155 wxPyEndAllowThreads(__tstate
);
33156 if (PyErr_Occurred()) SWIG_fail
;
33158 resultobj
= SWIG_FromInt((int)result
);
33173 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33174 PyObject
*resultobj
;
33175 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33176 wxArrayString
*arg2
= 0 ;
33177 bool temp2
= False
;
33178 PyObject
* obj0
= 0 ;
33179 PyObject
* obj1
= 0 ;
33180 char *kwnames
[] = {
33181 (char *) "self",(char *) "strings", NULL
33184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33188 if (! PySequence_Check(obj1
)) {
33189 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33192 arg2
= new wxArrayString
;
33194 int i
, len
=PySequence_Length(obj1
);
33195 for (i
=0; i
<len
; i
++) {
33196 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33198 PyObject
* str
= PyObject_Unicode(item
);
33200 PyObject
* str
= PyObject_Str(item
);
33202 if (PyErr_Occurred()) SWIG_fail
;
33203 arg2
->Add(Py2wxString(str
));
33209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33210 (arg1
)->Append((wxArrayString
const &)*arg2
);
33212 wxPyEndAllowThreads(__tstate
);
33213 if (PyErr_Occurred()) SWIG_fail
;
33215 Py_INCREF(Py_None
); resultobj
= Py_None
;
33217 if (temp2
) delete arg2
;
33222 if (temp2
) delete arg2
;
33228 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33229 PyObject
*resultobj
;
33230 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33231 wxString
*arg2
= 0 ;
33233 PyObject
*arg4
= (PyObject
*) NULL
;
33235 bool temp2
= False
;
33236 PyObject
* obj0
= 0 ;
33237 PyObject
* obj1
= 0 ;
33238 PyObject
* obj2
= 0 ;
33239 PyObject
* obj3
= 0 ;
33240 char *kwnames
[] = {
33241 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33248 arg2
= wxString_in_helper(obj1
);
33249 if (arg2
== NULL
) SWIG_fail
;
33252 arg3
= (int) SWIG_AsInt(obj2
);
33253 if (PyErr_Occurred()) SWIG_fail
;
33258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33259 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33261 wxPyEndAllowThreads(__tstate
);
33262 if (PyErr_Occurred()) SWIG_fail
;
33264 resultobj
= SWIG_FromInt((int)result
);
33279 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33280 PyObject
*resultobj
;
33281 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33282 PyObject
* obj0
= 0 ;
33283 char *kwnames
[] = {
33284 (char *) "self", NULL
33287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33294 wxPyEndAllowThreads(__tstate
);
33295 if (PyErr_Occurred()) SWIG_fail
;
33297 Py_INCREF(Py_None
); resultobj
= Py_None
;
33304 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33305 PyObject
*resultobj
;
33306 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33308 PyObject
* obj0
= 0 ;
33309 PyObject
* obj1
= 0 ;
33310 char *kwnames
[] = {
33311 (char *) "self",(char *) "n", NULL
33314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33317 arg2
= (int) SWIG_AsInt(obj1
);
33318 if (PyErr_Occurred()) SWIG_fail
;
33320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33321 (arg1
)->Delete(arg2
);
33323 wxPyEndAllowThreads(__tstate
);
33324 if (PyErr_Occurred()) SWIG_fail
;
33326 Py_INCREF(Py_None
); resultobj
= Py_None
;
33333 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33334 PyObject
*resultobj
;
33335 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33337 PyObject
* obj0
= 0 ;
33338 char *kwnames
[] = {
33339 (char *) "self", NULL
33342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33347 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33349 wxPyEndAllowThreads(__tstate
);
33350 if (PyErr_Occurred()) SWIG_fail
;
33352 resultobj
= SWIG_FromInt((int)result
);
33359 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33360 PyObject
*resultobj
;
33361 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33363 PyObject
* obj0
= 0 ;
33364 char *kwnames
[] = {
33365 (char *) "self", NULL
33368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33373 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33375 wxPyEndAllowThreads(__tstate
);
33376 if (PyErr_Occurred()) SWIG_fail
;
33379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33387 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33388 PyObject
*resultobj
;
33389 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33392 PyObject
* obj0
= 0 ;
33393 PyObject
* obj1
= 0 ;
33394 char *kwnames
[] = {
33395 (char *) "self",(char *) "n", NULL
33398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33401 arg2
= (int) SWIG_AsInt(obj1
);
33402 if (PyErr_Occurred()) SWIG_fail
;
33404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33405 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33407 wxPyEndAllowThreads(__tstate
);
33408 if (PyErr_Occurred()) SWIG_fail
;
33412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33423 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33424 PyObject
*resultobj
;
33425 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33426 wxArrayString result
;
33427 PyObject
* obj0
= 0 ;
33428 char *kwnames
[] = {
33429 (char *) "self", NULL
33432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33437 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33439 wxPyEndAllowThreads(__tstate
);
33440 if (PyErr_Occurred()) SWIG_fail
;
33443 resultobj
= wxArrayString2PyList_helper(result
);
33451 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33452 PyObject
*resultobj
;
33453 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33455 wxString
*arg3
= 0 ;
33456 bool temp3
= False
;
33457 PyObject
* obj0
= 0 ;
33458 PyObject
* obj1
= 0 ;
33459 PyObject
* obj2
= 0 ;
33460 char *kwnames
[] = {
33461 (char *) "self",(char *) "n",(char *) "s", NULL
33464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33467 arg2
= (int) SWIG_AsInt(obj1
);
33468 if (PyErr_Occurred()) SWIG_fail
;
33470 arg3
= wxString_in_helper(obj2
);
33471 if (arg3
== NULL
) SWIG_fail
;
33475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33476 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33478 wxPyEndAllowThreads(__tstate
);
33479 if (PyErr_Occurred()) SWIG_fail
;
33481 Py_INCREF(Py_None
); resultobj
= Py_None
;
33496 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33497 PyObject
*resultobj
;
33498 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33499 wxString
*arg2
= 0 ;
33501 bool temp2
= False
;
33502 PyObject
* obj0
= 0 ;
33503 PyObject
* obj1
= 0 ;
33504 char *kwnames
[] = {
33505 (char *) "self",(char *) "s", NULL
33508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33512 arg2
= wxString_in_helper(obj1
);
33513 if (arg2
== NULL
) SWIG_fail
;
33517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33518 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33520 wxPyEndAllowThreads(__tstate
);
33521 if (PyErr_Occurred()) SWIG_fail
;
33523 resultobj
= SWIG_FromInt((int)result
);
33538 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33539 PyObject
*resultobj
;
33540 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33542 PyObject
* obj0
= 0 ;
33543 PyObject
* obj1
= 0 ;
33544 char *kwnames
[] = {
33545 (char *) "self",(char *) "n", NULL
33548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33551 arg2
= (int) SWIG_AsInt(obj1
);
33552 if (PyErr_Occurred()) SWIG_fail
;
33554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33555 (arg1
)->Select(arg2
);
33557 wxPyEndAllowThreads(__tstate
);
33558 if (PyErr_Occurred()) SWIG_fail
;
33560 Py_INCREF(Py_None
); resultobj
= Py_None
;
33567 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33568 PyObject
*resultobj
;
33569 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33571 PyObject
* obj0
= 0 ;
33572 char *kwnames
[] = {
33573 (char *) "self", NULL
33576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33581 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33583 wxPyEndAllowThreads(__tstate
);
33584 if (PyErr_Occurred()) SWIG_fail
;
33586 resultobj
= SWIG_FromInt((int)result
);
33593 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33594 PyObject
*resultobj
;
33595 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33597 PyObject
* obj0
= 0 ;
33598 char *kwnames
[] = {
33599 (char *) "self", NULL
33602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33607 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33609 wxPyEndAllowThreads(__tstate
);
33610 if (PyErr_Occurred()) SWIG_fail
;
33614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33625 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33626 PyObject
*resultobj
;
33627 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33630 PyObject
* obj0
= 0 ;
33631 PyObject
* obj1
= 0 ;
33632 char *kwnames
[] = {
33633 (char *) "self",(char *) "n", NULL
33636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33639 arg2
= (int) SWIG_AsInt(obj1
);
33640 if (PyErr_Occurred()) SWIG_fail
;
33642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33643 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33645 wxPyEndAllowThreads(__tstate
);
33646 if (PyErr_Occurred()) SWIG_fail
;
33648 resultobj
= result
;
33655 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33656 PyObject
*resultobj
;
33657 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33659 PyObject
*arg3
= (PyObject
*) 0 ;
33660 PyObject
* obj0
= 0 ;
33661 PyObject
* obj1
= 0 ;
33662 PyObject
* obj2
= 0 ;
33663 char *kwnames
[] = {
33664 (char *) "self",(char *) "n",(char *) "clientData", NULL
33667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33670 arg2
= (int) SWIG_AsInt(obj1
);
33671 if (PyErr_Occurred()) SWIG_fail
;
33674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33675 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33677 wxPyEndAllowThreads(__tstate
);
33678 if (PyErr_Occurred()) SWIG_fail
;
33680 Py_INCREF(Py_None
); resultobj
= Py_None
;
33687 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33690 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33692 return Py_BuildValue((char *)"");
33694 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33697 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33699 return Py_BuildValue((char *)"");
33701 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33702 PyObject
*resultobj
;
33703 wxSizerItem
*result
;
33704 char *kwnames
[] = {
33708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33711 result
= (wxSizerItem
*)new wxSizerItem();
33713 wxPyEndAllowThreads(__tstate
);
33714 if (PyErr_Occurred()) SWIG_fail
;
33716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33723 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33724 PyObject
*resultobj
;
33725 wxWindow
*arg1
= (wxWindow
*) 0 ;
33729 PyObject
*arg5
= (PyObject
*) NULL
;
33730 wxSizerItem
*result
;
33731 PyObject
* obj0
= 0 ;
33732 PyObject
* obj1
= 0 ;
33733 PyObject
* obj2
= 0 ;
33734 PyObject
* obj3
= 0 ;
33735 PyObject
* obj4
= 0 ;
33736 char *kwnames
[] = {
33737 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33743 arg2
= (int) SWIG_AsInt(obj1
);
33744 if (PyErr_Occurred()) SWIG_fail
;
33745 arg3
= (int) SWIG_AsInt(obj2
);
33746 if (PyErr_Occurred()) SWIG_fail
;
33747 arg4
= (int) SWIG_AsInt(obj3
);
33748 if (PyErr_Occurred()) SWIG_fail
;
33753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33754 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33756 wxPyEndAllowThreads(__tstate
);
33757 if (PyErr_Occurred()) SWIG_fail
;
33759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33766 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33767 PyObject
*resultobj
;
33773 PyObject
*arg6
= (PyObject
*) NULL
;
33774 wxSizerItem
*result
;
33775 PyObject
* obj0
= 0 ;
33776 PyObject
* obj1
= 0 ;
33777 PyObject
* obj2
= 0 ;
33778 PyObject
* obj3
= 0 ;
33779 PyObject
* obj4
= 0 ;
33780 PyObject
* obj5
= 0 ;
33781 char *kwnames
[] = {
33782 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33786 arg1
= (int) SWIG_AsInt(obj0
);
33787 if (PyErr_Occurred()) SWIG_fail
;
33788 arg2
= (int) SWIG_AsInt(obj1
);
33789 if (PyErr_Occurred()) SWIG_fail
;
33790 arg3
= (int) SWIG_AsInt(obj2
);
33791 if (PyErr_Occurred()) SWIG_fail
;
33792 arg4
= (int) SWIG_AsInt(obj3
);
33793 if (PyErr_Occurred()) SWIG_fail
;
33794 arg5
= (int) SWIG_AsInt(obj4
);
33795 if (PyErr_Occurred()) SWIG_fail
;
33800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33801 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33803 wxPyEndAllowThreads(__tstate
);
33804 if (PyErr_Occurred()) SWIG_fail
;
33806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33813 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33814 PyObject
*resultobj
;
33815 wxSizer
*arg1
= (wxSizer
*) 0 ;
33819 PyObject
*arg5
= (PyObject
*) NULL
;
33820 wxSizerItem
*result
;
33821 PyObject
* obj0
= 0 ;
33822 PyObject
* obj1
= 0 ;
33823 PyObject
* obj2
= 0 ;
33824 PyObject
* obj3
= 0 ;
33825 PyObject
* obj4
= 0 ;
33826 char *kwnames
[] = {
33827 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33833 arg2
= (int) SWIG_AsInt(obj1
);
33834 if (PyErr_Occurred()) SWIG_fail
;
33835 arg3
= (int) SWIG_AsInt(obj2
);
33836 if (PyErr_Occurred()) SWIG_fail
;
33837 arg4
= (int) SWIG_AsInt(obj3
);
33838 if (PyErr_Occurred()) SWIG_fail
;
33843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33844 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33846 wxPyEndAllowThreads(__tstate
);
33847 if (PyErr_Occurred()) SWIG_fail
;
33849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33856 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33857 PyObject
*resultobj
;
33858 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33859 PyObject
* obj0
= 0 ;
33860 char *kwnames
[] = {
33861 (char *) "self", NULL
33864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33869 (arg1
)->DeleteWindows();
33871 wxPyEndAllowThreads(__tstate
);
33872 if (PyErr_Occurred()) SWIG_fail
;
33874 Py_INCREF(Py_None
); resultobj
= Py_None
;
33881 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33882 PyObject
*resultobj
;
33883 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33884 PyObject
* obj0
= 0 ;
33885 char *kwnames
[] = {
33886 (char *) "self", NULL
33889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
33890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33894 (arg1
)->DetachSizer();
33896 wxPyEndAllowThreads(__tstate
);
33897 if (PyErr_Occurred()) SWIG_fail
;
33899 Py_INCREF(Py_None
); resultobj
= Py_None
;
33906 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33907 PyObject
*resultobj
;
33908 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33910 PyObject
* obj0
= 0 ;
33911 char *kwnames
[] = {
33912 (char *) "self", NULL
33915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
33916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33920 result
= (arg1
)->GetSize();
33922 wxPyEndAllowThreads(__tstate
);
33923 if (PyErr_Occurred()) SWIG_fail
;
33926 wxSize
* resultptr
;
33927 resultptr
= new wxSize((wxSize
&) result
);
33928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33936 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33937 PyObject
*resultobj
;
33938 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33940 PyObject
* obj0
= 0 ;
33941 char *kwnames
[] = {
33942 (char *) "self", NULL
33945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
33946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33950 result
= (arg1
)->CalcMin();
33952 wxPyEndAllowThreads(__tstate
);
33953 if (PyErr_Occurred()) SWIG_fail
;
33956 wxSize
* resultptr
;
33957 resultptr
= new wxSize((wxSize
&) result
);
33958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33966 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33967 PyObject
*resultobj
;
33968 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33973 PyObject
* obj0
= 0 ;
33974 PyObject
* obj1
= 0 ;
33975 PyObject
* obj2
= 0 ;
33976 char *kwnames
[] = {
33977 (char *) "self",(char *) "pos",(char *) "size", NULL
33980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33983 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
33984 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33986 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
33987 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33991 (arg1
)->SetDimension(arg2
,arg3
);
33993 wxPyEndAllowThreads(__tstate
);
33994 if (PyErr_Occurred()) SWIG_fail
;
33996 Py_INCREF(Py_None
); resultobj
= Py_None
;
34003 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34004 PyObject
*resultobj
;
34005 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34007 PyObject
* obj0
= 0 ;
34008 char *kwnames
[] = {
34009 (char *) "self", NULL
34012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34017 result
= (arg1
)->GetMinSize();
34019 wxPyEndAllowThreads(__tstate
);
34020 if (PyErr_Occurred()) SWIG_fail
;
34023 wxSize
* resultptr
;
34024 resultptr
= new wxSize((wxSize
&) result
);
34025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34033 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34034 PyObject
*resultobj
;
34035 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34037 PyObject
* obj0
= 0 ;
34038 char *kwnames
[] = {
34039 (char *) "self", NULL
34042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34047 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34049 wxPyEndAllowThreads(__tstate
);
34050 if (PyErr_Occurred()) SWIG_fail
;
34053 wxSize
* resultptr
;
34054 resultptr
= new wxSize((wxSize
&) result
);
34055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34063 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34064 PyObject
*resultobj
;
34065 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34068 PyObject
* obj0
= 0 ;
34069 PyObject
* obj1
= 0 ;
34070 PyObject
* obj2
= 0 ;
34071 char *kwnames
[] = {
34072 (char *) "self",(char *) "x",(char *) "y", NULL
34075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34078 arg2
= (int) SWIG_AsInt(obj1
);
34079 if (PyErr_Occurred()) SWIG_fail
;
34080 arg3
= (int) SWIG_AsInt(obj2
);
34081 if (PyErr_Occurred()) SWIG_fail
;
34083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34084 (arg1
)->SetInitSize(arg2
,arg3
);
34086 wxPyEndAllowThreads(__tstate
);
34087 if (PyErr_Occurred()) SWIG_fail
;
34089 Py_INCREF(Py_None
); resultobj
= Py_None
;
34096 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34097 PyObject
*resultobj
;
34098 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34101 PyObject
* obj0
= 0 ;
34102 PyObject
* obj1
= 0 ;
34103 PyObject
* obj2
= 0 ;
34104 char *kwnames
[] = {
34105 (char *) "self",(char *) "width",(char *) "height", NULL
34108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34111 arg2
= (int) SWIG_AsInt(obj1
);
34112 if (PyErr_Occurred()) SWIG_fail
;
34113 arg3
= (int) SWIG_AsInt(obj2
);
34114 if (PyErr_Occurred()) SWIG_fail
;
34116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34117 (arg1
)->SetRatio(arg2
,arg3
);
34119 wxPyEndAllowThreads(__tstate
);
34120 if (PyErr_Occurred()) SWIG_fail
;
34122 Py_INCREF(Py_None
); resultobj
= Py_None
;
34129 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34130 PyObject
*resultobj
;
34131 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34134 PyObject
* obj0
= 0 ;
34135 PyObject
* obj1
= 0 ;
34136 char *kwnames
[] = {
34137 (char *) "self",(char *) "size", NULL
34140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34143 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34144 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34148 (arg1
)->SetRatio(arg2
);
34150 wxPyEndAllowThreads(__tstate
);
34151 if (PyErr_Occurred()) SWIG_fail
;
34153 Py_INCREF(Py_None
); resultobj
= Py_None
;
34160 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34161 PyObject
*resultobj
;
34162 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34164 PyObject
* obj0
= 0 ;
34165 PyObject
* obj1
= 0 ;
34166 char *kwnames
[] = {
34167 (char *) "self",(char *) "ratio", NULL
34170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34173 arg2
= (float) SWIG_AsFloat(obj1
);
34174 if (PyErr_Occurred()) SWIG_fail
;
34176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34177 (arg1
)->SetRatio(arg2
);
34179 wxPyEndAllowThreads(__tstate
);
34180 if (PyErr_Occurred()) SWIG_fail
;
34182 Py_INCREF(Py_None
); resultobj
= Py_None
;
34189 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34190 PyObject
*resultobj
;
34191 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34193 PyObject
* obj0
= 0 ;
34194 char *kwnames
[] = {
34195 (char *) "self", NULL
34198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34203 result
= (float)(arg1
)->GetRatio();
34205 wxPyEndAllowThreads(__tstate
);
34206 if (PyErr_Occurred()) SWIG_fail
;
34208 resultobj
= SWIG_FromFloat((float)result
);
34215 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34216 PyObject
*resultobj
;
34217 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34219 PyObject
* obj0
= 0 ;
34220 char *kwnames
[] = {
34221 (char *) "self", NULL
34224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34229 result
= (bool)(arg1
)->IsWindow();
34231 wxPyEndAllowThreads(__tstate
);
34232 if (PyErr_Occurred()) SWIG_fail
;
34235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34243 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34244 PyObject
*resultobj
;
34245 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34247 PyObject
* obj0
= 0 ;
34248 char *kwnames
[] = {
34249 (char *) "self", NULL
34252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34257 result
= (bool)(arg1
)->IsSizer();
34259 wxPyEndAllowThreads(__tstate
);
34260 if (PyErr_Occurred()) SWIG_fail
;
34263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34271 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34272 PyObject
*resultobj
;
34273 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34275 PyObject
* obj0
= 0 ;
34276 char *kwnames
[] = {
34277 (char *) "self", NULL
34280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34285 result
= (bool)(arg1
)->IsSpacer();
34287 wxPyEndAllowThreads(__tstate
);
34288 if (PyErr_Occurred()) SWIG_fail
;
34291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34299 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34300 PyObject
*resultobj
;
34301 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34303 PyObject
* obj0
= 0 ;
34304 PyObject
* obj1
= 0 ;
34305 char *kwnames
[] = {
34306 (char *) "self",(char *) "proportion", NULL
34309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34312 arg2
= (int) SWIG_AsInt(obj1
);
34313 if (PyErr_Occurred()) SWIG_fail
;
34315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34316 (arg1
)->SetProportion(arg2
);
34318 wxPyEndAllowThreads(__tstate
);
34319 if (PyErr_Occurred()) SWIG_fail
;
34321 Py_INCREF(Py_None
); resultobj
= Py_None
;
34328 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34329 PyObject
*resultobj
;
34330 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34332 PyObject
* obj0
= 0 ;
34333 char *kwnames
[] = {
34334 (char *) "self", NULL
34337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34342 result
= (int)(arg1
)->GetProportion();
34344 wxPyEndAllowThreads(__tstate
);
34345 if (PyErr_Occurred()) SWIG_fail
;
34347 resultobj
= SWIG_FromInt((int)result
);
34354 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34355 PyObject
*resultobj
;
34356 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34358 PyObject
* obj0
= 0 ;
34359 PyObject
* obj1
= 0 ;
34360 char *kwnames
[] = {
34361 (char *) "self",(char *) "flag", NULL
34364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34367 arg2
= (int) SWIG_AsInt(obj1
);
34368 if (PyErr_Occurred()) SWIG_fail
;
34370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34371 (arg1
)->SetFlag(arg2
);
34373 wxPyEndAllowThreads(__tstate
);
34374 if (PyErr_Occurred()) SWIG_fail
;
34376 Py_INCREF(Py_None
); resultobj
= Py_None
;
34383 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34384 PyObject
*resultobj
;
34385 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34387 PyObject
* obj0
= 0 ;
34388 char *kwnames
[] = {
34389 (char *) "self", NULL
34392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34397 result
= (int)(arg1
)->GetFlag();
34399 wxPyEndAllowThreads(__tstate
);
34400 if (PyErr_Occurred()) SWIG_fail
;
34402 resultobj
= SWIG_FromInt((int)result
);
34409 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34410 PyObject
*resultobj
;
34411 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34413 PyObject
* obj0
= 0 ;
34414 PyObject
* obj1
= 0 ;
34415 char *kwnames
[] = {
34416 (char *) "self",(char *) "border", NULL
34419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34422 arg2
= (int) SWIG_AsInt(obj1
);
34423 if (PyErr_Occurred()) SWIG_fail
;
34425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34426 (arg1
)->SetBorder(arg2
);
34428 wxPyEndAllowThreads(__tstate
);
34429 if (PyErr_Occurred()) SWIG_fail
;
34431 Py_INCREF(Py_None
); resultobj
= Py_None
;
34438 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34439 PyObject
*resultobj
;
34440 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34442 PyObject
* obj0
= 0 ;
34443 char *kwnames
[] = {
34444 (char *) "self", NULL
34447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34452 result
= (int)(arg1
)->GetBorder();
34454 wxPyEndAllowThreads(__tstate
);
34455 if (PyErr_Occurred()) SWIG_fail
;
34457 resultobj
= SWIG_FromInt((int)result
);
34464 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34465 PyObject
*resultobj
;
34466 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34468 PyObject
* obj0
= 0 ;
34469 char *kwnames
[] = {
34470 (char *) "self", NULL
34473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34478 result
= (wxWindow
*)(arg1
)->GetWindow();
34480 wxPyEndAllowThreads(__tstate
);
34481 if (PyErr_Occurred()) SWIG_fail
;
34484 resultobj
= wxPyMake_wxObject(result
, 0);
34492 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34493 PyObject
*resultobj
;
34494 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34495 wxWindow
*arg2
= (wxWindow
*) 0 ;
34496 PyObject
* obj0
= 0 ;
34497 PyObject
* obj1
= 0 ;
34498 char *kwnames
[] = {
34499 (char *) "self",(char *) "window", NULL
34502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34509 (arg1
)->SetWindow(arg2
);
34511 wxPyEndAllowThreads(__tstate
);
34512 if (PyErr_Occurred()) SWIG_fail
;
34514 Py_INCREF(Py_None
); resultobj
= Py_None
;
34521 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34522 PyObject
*resultobj
;
34523 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34525 PyObject
* obj0
= 0 ;
34526 char *kwnames
[] = {
34527 (char *) "self", NULL
34530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34535 result
= (wxSizer
*)(arg1
)->GetSizer();
34537 wxPyEndAllowThreads(__tstate
);
34538 if (PyErr_Occurred()) SWIG_fail
;
34541 resultobj
= wxPyMake_wxSizer(result
, 0);
34549 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34550 PyObject
*resultobj
;
34551 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34552 wxSizer
*arg2
= (wxSizer
*) 0 ;
34553 PyObject
* obj0
= 0 ;
34554 PyObject
* obj1
= 0 ;
34555 char *kwnames
[] = {
34556 (char *) "self",(char *) "sizer", NULL
34559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34566 (arg1
)->SetSizer(arg2
);
34568 wxPyEndAllowThreads(__tstate
);
34569 if (PyErr_Occurred()) SWIG_fail
;
34571 Py_INCREF(Py_None
); resultobj
= Py_None
;
34578 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34579 PyObject
*resultobj
;
34580 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34582 PyObject
* obj0
= 0 ;
34583 char *kwnames
[] = {
34584 (char *) "self", NULL
34587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34593 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34594 result
= (wxSize
*) &_result_ref
;
34597 wxPyEndAllowThreads(__tstate
);
34598 if (PyErr_Occurred()) SWIG_fail
;
34600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34607 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34608 PyObject
*resultobj
;
34609 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34612 PyObject
* obj0
= 0 ;
34613 PyObject
* obj1
= 0 ;
34614 char *kwnames
[] = {
34615 (char *) "self",(char *) "size", NULL
34618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34623 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34627 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34629 wxPyEndAllowThreads(__tstate
);
34630 if (PyErr_Occurred()) SWIG_fail
;
34632 Py_INCREF(Py_None
); resultobj
= Py_None
;
34639 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34640 PyObject
*resultobj
;
34641 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34643 PyObject
* obj0
= 0 ;
34644 PyObject
* obj1
= 0 ;
34645 char *kwnames
[] = {
34646 (char *) "self",(char *) "show", NULL
34649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34652 arg2
= (bool) SWIG_AsBool(obj1
);
34653 if (PyErr_Occurred()) SWIG_fail
;
34655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34656 (arg1
)->Show(arg2
);
34658 wxPyEndAllowThreads(__tstate
);
34659 if (PyErr_Occurred()) SWIG_fail
;
34661 Py_INCREF(Py_None
); resultobj
= Py_None
;
34668 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34669 PyObject
*resultobj
;
34670 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34672 PyObject
* obj0
= 0 ;
34673 char *kwnames
[] = {
34674 (char *) "self", NULL
34677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34682 result
= (bool)(arg1
)->IsShown();
34684 wxPyEndAllowThreads(__tstate
);
34685 if (PyErr_Occurred()) SWIG_fail
;
34688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34696 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34697 PyObject
*resultobj
;
34698 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34700 PyObject
* obj0
= 0 ;
34701 char *kwnames
[] = {
34702 (char *) "self", NULL
34705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34710 result
= (arg1
)->GetPosition();
34712 wxPyEndAllowThreads(__tstate
);
34713 if (PyErr_Occurred()) SWIG_fail
;
34716 wxPoint
* resultptr
;
34717 resultptr
= new wxPoint((wxPoint
&) result
);
34718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34726 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34727 PyObject
*resultobj
;
34728 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34730 PyObject
* obj0
= 0 ;
34731 char *kwnames
[] = {
34732 (char *) "self", NULL
34735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34740 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34742 wxPyEndAllowThreads(__tstate
);
34743 if (PyErr_Occurred()) SWIG_fail
;
34745 resultobj
= result
;
34752 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34755 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
34757 return Py_BuildValue((char *)"");
34759 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34760 PyObject
*resultobj
;
34761 wxSizer
*arg1
= (wxSizer
*) 0 ;
34762 PyObject
*arg2
= (PyObject
*) 0 ;
34763 PyObject
* obj0
= 0 ;
34764 PyObject
* obj1
= 0 ;
34765 char *kwnames
[] = {
34766 (char *) "self",(char *) "_self", NULL
34769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
34770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34775 wxSizer__setOORInfo(arg1
,arg2
);
34777 wxPyEndAllowThreads(__tstate
);
34778 if (PyErr_Occurred()) SWIG_fail
;
34780 Py_INCREF(Py_None
); resultobj
= Py_None
;
34787 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34788 PyObject
*resultobj
;
34789 wxSizer
*arg1
= (wxSizer
*) 0 ;
34790 PyObject
*arg2
= (PyObject
*) 0 ;
34791 int arg3
= (int) 0 ;
34792 int arg4
= (int) 0 ;
34793 int arg5
= (int) 0 ;
34794 PyObject
*arg6
= (PyObject
*) NULL
;
34795 PyObject
* obj0
= 0 ;
34796 PyObject
* obj1
= 0 ;
34797 PyObject
* obj2
= 0 ;
34798 PyObject
* obj3
= 0 ;
34799 PyObject
* obj4
= 0 ;
34800 PyObject
* obj5
= 0 ;
34801 char *kwnames
[] = {
34802 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34810 arg3
= (int) SWIG_AsInt(obj2
);
34811 if (PyErr_Occurred()) SWIG_fail
;
34814 arg4
= (int) SWIG_AsInt(obj3
);
34815 if (PyErr_Occurred()) SWIG_fail
;
34818 arg5
= (int) SWIG_AsInt(obj4
);
34819 if (PyErr_Occurred()) SWIG_fail
;
34825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34826 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34828 wxPyEndAllowThreads(__tstate
);
34829 if (PyErr_Occurred()) SWIG_fail
;
34831 Py_INCREF(Py_None
); resultobj
= Py_None
;
34838 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34839 PyObject
*resultobj
;
34840 wxSizer
*arg1
= (wxSizer
*) 0 ;
34842 PyObject
*arg3
= (PyObject
*) 0 ;
34843 int arg4
= (int) 0 ;
34844 int arg5
= (int) 0 ;
34845 int arg6
= (int) 0 ;
34846 PyObject
*arg7
= (PyObject
*) NULL
;
34847 PyObject
* obj0
= 0 ;
34848 PyObject
* obj1
= 0 ;
34849 PyObject
* obj2
= 0 ;
34850 PyObject
* obj3
= 0 ;
34851 PyObject
* obj4
= 0 ;
34852 PyObject
* obj5
= 0 ;
34853 PyObject
* obj6
= 0 ;
34854 char *kwnames
[] = {
34855 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34861 arg2
= (int) SWIG_AsInt(obj1
);
34862 if (PyErr_Occurred()) SWIG_fail
;
34865 arg4
= (int) SWIG_AsInt(obj3
);
34866 if (PyErr_Occurred()) SWIG_fail
;
34869 arg5
= (int) SWIG_AsInt(obj4
);
34870 if (PyErr_Occurred()) SWIG_fail
;
34873 arg6
= (int) SWIG_AsInt(obj5
);
34874 if (PyErr_Occurred()) SWIG_fail
;
34880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34881 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34883 wxPyEndAllowThreads(__tstate
);
34884 if (PyErr_Occurred()) SWIG_fail
;
34886 Py_INCREF(Py_None
); resultobj
= Py_None
;
34893 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34894 PyObject
*resultobj
;
34895 wxSizer
*arg1
= (wxSizer
*) 0 ;
34896 PyObject
*arg2
= (PyObject
*) 0 ;
34897 int arg3
= (int) 0 ;
34898 int arg4
= (int) 0 ;
34899 int arg5
= (int) 0 ;
34900 PyObject
*arg6
= (PyObject
*) NULL
;
34901 PyObject
* obj0
= 0 ;
34902 PyObject
* obj1
= 0 ;
34903 PyObject
* obj2
= 0 ;
34904 PyObject
* obj3
= 0 ;
34905 PyObject
* obj4
= 0 ;
34906 PyObject
* obj5
= 0 ;
34907 char *kwnames
[] = {
34908 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34916 arg3
= (int) SWIG_AsInt(obj2
);
34917 if (PyErr_Occurred()) SWIG_fail
;
34920 arg4
= (int) SWIG_AsInt(obj3
);
34921 if (PyErr_Occurred()) SWIG_fail
;
34924 arg5
= (int) SWIG_AsInt(obj4
);
34925 if (PyErr_Occurred()) SWIG_fail
;
34931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34932 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34934 wxPyEndAllowThreads(__tstate
);
34935 if (PyErr_Occurred()) SWIG_fail
;
34937 Py_INCREF(Py_None
); resultobj
= Py_None
;
34944 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34945 PyObject
*resultobj
;
34946 wxSizer
*arg1
= (wxSizer
*) 0 ;
34947 PyObject
*arg2
= (PyObject
*) 0 ;
34949 PyObject
* obj0
= 0 ;
34950 PyObject
* obj1
= 0 ;
34951 char *kwnames
[] = {
34952 (char *) "self",(char *) "item", NULL
34955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34961 result
= (bool)wxSizer_Remove(arg1
,arg2
);
34963 wxPyEndAllowThreads(__tstate
);
34964 if (PyErr_Occurred()) SWIG_fail
;
34967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34975 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34976 PyObject
*resultobj
;
34977 wxSizer
*arg1
= (wxSizer
*) 0 ;
34978 PyObject
*arg2
= (PyObject
*) 0 ;
34980 PyObject
* obj0
= 0 ;
34981 PyObject
* obj1
= 0 ;
34982 char *kwnames
[] = {
34983 (char *) "self",(char *) "item", NULL
34986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
34987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34992 result
= (bool)wxSizer_Detach(arg1
,arg2
);
34994 wxPyEndAllowThreads(__tstate
);
34995 if (PyErr_Occurred()) SWIG_fail
;
34998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35006 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35007 PyObject
*resultobj
;
35008 wxSizer
*arg1
= (wxSizer
*) 0 ;
35009 PyObject
*arg2
= (PyObject
*) 0 ;
35012 PyObject
* obj0
= 0 ;
35013 PyObject
* obj1
= 0 ;
35014 PyObject
* obj2
= 0 ;
35015 char *kwnames
[] = {
35016 (char *) "self",(char *) "item",(char *) "size", NULL
35019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35025 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35029 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35031 wxPyEndAllowThreads(__tstate
);
35032 if (PyErr_Occurred()) SWIG_fail
;
35034 Py_INCREF(Py_None
); resultobj
= Py_None
;
35041 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35042 PyObject
*resultobj
;
35043 wxSizer
*arg1
= (wxSizer
*) 0 ;
35044 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35045 PyObject
* obj0
= 0 ;
35046 PyObject
* obj1
= 0 ;
35047 char *kwnames
[] = {
35048 (char *) "self",(char *) "item", NULL
35051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35060 wxPyEndAllowThreads(__tstate
);
35061 if (PyErr_Occurred()) SWIG_fail
;
35063 Py_INCREF(Py_None
); resultobj
= Py_None
;
35070 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35071 PyObject
*resultobj
;
35072 wxSizer
*arg1
= (wxSizer
*) 0 ;
35074 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35075 PyObject
* obj0
= 0 ;
35076 PyObject
* obj1
= 0 ;
35077 PyObject
* obj2
= 0 ;
35078 char *kwnames
[] = {
35079 (char *) "self",(char *) "index",(char *) "item", NULL
35082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35085 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35086 if (PyErr_Occurred()) SWIG_fail
;
35087 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35091 (arg1
)->Insert(arg2
,arg3
);
35093 wxPyEndAllowThreads(__tstate
);
35094 if (PyErr_Occurred()) SWIG_fail
;
35096 Py_INCREF(Py_None
); resultobj
= Py_None
;
35103 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35104 PyObject
*resultobj
;
35105 wxSizer
*arg1
= (wxSizer
*) 0 ;
35106 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35107 PyObject
* obj0
= 0 ;
35108 PyObject
* obj1
= 0 ;
35109 char *kwnames
[] = {
35110 (char *) "self",(char *) "item", NULL
35113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35120 (arg1
)->Prepend(arg2
);
35122 wxPyEndAllowThreads(__tstate
);
35123 if (PyErr_Occurred()) SWIG_fail
;
35125 Py_INCREF(Py_None
); resultobj
= Py_None
;
35132 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35133 PyObject
*resultobj
;
35134 wxSizer
*arg1
= (wxSizer
*) 0 ;
35139 PyObject
* obj0
= 0 ;
35140 PyObject
* obj1
= 0 ;
35141 PyObject
* obj2
= 0 ;
35142 PyObject
* obj3
= 0 ;
35143 PyObject
* obj4
= 0 ;
35144 char *kwnames
[] = {
35145 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35151 arg2
= (int) SWIG_AsInt(obj1
);
35152 if (PyErr_Occurred()) SWIG_fail
;
35153 arg3
= (int) SWIG_AsInt(obj2
);
35154 if (PyErr_Occurred()) SWIG_fail
;
35155 arg4
= (int) SWIG_AsInt(obj3
);
35156 if (PyErr_Occurred()) SWIG_fail
;
35157 arg5
= (int) SWIG_AsInt(obj4
);
35158 if (PyErr_Occurred()) SWIG_fail
;
35160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35161 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35163 wxPyEndAllowThreads(__tstate
);
35164 if (PyErr_Occurred()) SWIG_fail
;
35166 Py_INCREF(Py_None
); resultobj
= Py_None
;
35173 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35174 PyObject
*resultobj
;
35175 wxSizer
*arg1
= (wxSizer
*) 0 ;
35178 PyObject
* obj0
= 0 ;
35179 PyObject
* obj1
= 0 ;
35180 char *kwnames
[] = {
35181 (char *) "self",(char *) "size", NULL
35184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35189 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35193 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35195 wxPyEndAllowThreads(__tstate
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35198 Py_INCREF(Py_None
); resultobj
= Py_None
;
35205 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35206 PyObject
*resultobj
;
35207 wxSizer
*arg1
= (wxSizer
*) 0 ;
35209 PyObject
* obj0
= 0 ;
35210 char *kwnames
[] = {
35211 (char *) "self", NULL
35214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35219 result
= (arg1
)->GetSize();
35221 wxPyEndAllowThreads(__tstate
);
35222 if (PyErr_Occurred()) SWIG_fail
;
35225 wxSize
* resultptr
;
35226 resultptr
= new wxSize((wxSize
&) result
);
35227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35235 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35236 PyObject
*resultobj
;
35237 wxSizer
*arg1
= (wxSizer
*) 0 ;
35239 PyObject
* obj0
= 0 ;
35240 char *kwnames
[] = {
35241 (char *) "self", NULL
35244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35249 result
= (arg1
)->GetPosition();
35251 wxPyEndAllowThreads(__tstate
);
35252 if (PyErr_Occurred()) SWIG_fail
;
35255 wxPoint
* resultptr
;
35256 resultptr
= new wxPoint((wxPoint
&) result
);
35257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35265 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35266 PyObject
*resultobj
;
35267 wxSizer
*arg1
= (wxSizer
*) 0 ;
35269 PyObject
* obj0
= 0 ;
35270 char *kwnames
[] = {
35271 (char *) "self", NULL
35274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35279 result
= (arg1
)->GetMinSize();
35281 wxPyEndAllowThreads(__tstate
);
35282 if (PyErr_Occurred()) SWIG_fail
;
35285 wxSize
* resultptr
;
35286 resultptr
= new wxSize((wxSize
&) result
);
35287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35295 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35296 PyObject
*resultobj
;
35297 wxSizer
*arg1
= (wxSizer
*) 0 ;
35298 PyObject
* obj0
= 0 ;
35299 char *kwnames
[] = {
35300 (char *) "self", NULL
35303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35308 (arg1
)->RecalcSizes();
35310 wxPyEndAllowThreads(__tstate
);
35311 if (PyErr_Occurred()) SWIG_fail
;
35313 Py_INCREF(Py_None
); resultobj
= Py_None
;
35320 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35321 PyObject
*resultobj
;
35322 wxSizer
*arg1
= (wxSizer
*) 0 ;
35324 PyObject
* obj0
= 0 ;
35325 char *kwnames
[] = {
35326 (char *) "self", NULL
35329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35334 result
= (arg1
)->CalcMin();
35336 wxPyEndAllowThreads(__tstate
);
35337 if (PyErr_Occurred()) SWIG_fail
;
35340 wxSize
* resultptr
;
35341 resultptr
= new wxSize((wxSize
&) result
);
35342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35350 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35351 PyObject
*resultobj
;
35352 wxSizer
*arg1
= (wxSizer
*) 0 ;
35353 PyObject
* obj0
= 0 ;
35354 char *kwnames
[] = {
35355 (char *) "self", NULL
35358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35365 wxPyEndAllowThreads(__tstate
);
35366 if (PyErr_Occurred()) SWIG_fail
;
35368 Py_INCREF(Py_None
); resultobj
= Py_None
;
35375 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35376 PyObject
*resultobj
;
35377 wxSizer
*arg1
= (wxSizer
*) 0 ;
35378 wxWindow
*arg2
= (wxWindow
*) 0 ;
35380 PyObject
* obj0
= 0 ;
35381 PyObject
* obj1
= 0 ;
35382 char *kwnames
[] = {
35383 (char *) "self",(char *) "window", NULL
35386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35393 result
= (arg1
)->Fit(arg2
);
35395 wxPyEndAllowThreads(__tstate
);
35396 if (PyErr_Occurred()) SWIG_fail
;
35399 wxSize
* resultptr
;
35400 resultptr
= new wxSize((wxSize
&) result
);
35401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35409 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35410 PyObject
*resultobj
;
35411 wxSizer
*arg1
= (wxSizer
*) 0 ;
35412 wxWindow
*arg2
= (wxWindow
*) 0 ;
35413 PyObject
* obj0
= 0 ;
35414 PyObject
* obj1
= 0 ;
35415 char *kwnames
[] = {
35416 (char *) "self",(char *) "window", NULL
35419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35426 (arg1
)->FitInside(arg2
);
35428 wxPyEndAllowThreads(__tstate
);
35429 if (PyErr_Occurred()) SWIG_fail
;
35431 Py_INCREF(Py_None
); resultobj
= Py_None
;
35438 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35439 PyObject
*resultobj
;
35440 wxSizer
*arg1
= (wxSizer
*) 0 ;
35441 wxWindow
*arg2
= (wxWindow
*) 0 ;
35442 PyObject
* obj0
= 0 ;
35443 PyObject
* obj1
= 0 ;
35444 char *kwnames
[] = {
35445 (char *) "self",(char *) "window", NULL
35448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35455 (arg1
)->SetSizeHints(arg2
);
35457 wxPyEndAllowThreads(__tstate
);
35458 if (PyErr_Occurred()) SWIG_fail
;
35460 Py_INCREF(Py_None
); resultobj
= Py_None
;
35467 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35468 PyObject
*resultobj
;
35469 wxSizer
*arg1
= (wxSizer
*) 0 ;
35470 wxWindow
*arg2
= (wxWindow
*) 0 ;
35471 PyObject
* obj0
= 0 ;
35472 PyObject
* obj1
= 0 ;
35473 char *kwnames
[] = {
35474 (char *) "self",(char *) "window", NULL
35477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35484 (arg1
)->SetVirtualSizeHints(arg2
);
35486 wxPyEndAllowThreads(__tstate
);
35487 if (PyErr_Occurred()) SWIG_fail
;
35489 Py_INCREF(Py_None
); resultobj
= Py_None
;
35496 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35497 PyObject
*resultobj
;
35498 wxSizer
*arg1
= (wxSizer
*) 0 ;
35499 bool arg2
= (bool) False
;
35500 PyObject
* obj0
= 0 ;
35501 PyObject
* obj1
= 0 ;
35502 char *kwnames
[] = {
35503 (char *) "self",(char *) "deleteWindows", NULL
35506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35510 arg2
= (bool) SWIG_AsBool(obj1
);
35511 if (PyErr_Occurred()) SWIG_fail
;
35514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35515 (arg1
)->Clear(arg2
);
35517 wxPyEndAllowThreads(__tstate
);
35518 if (PyErr_Occurred()) SWIG_fail
;
35520 Py_INCREF(Py_None
); resultobj
= Py_None
;
35527 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35528 PyObject
*resultobj
;
35529 wxSizer
*arg1
= (wxSizer
*) 0 ;
35530 PyObject
* obj0
= 0 ;
35531 char *kwnames
[] = {
35532 (char *) "self", NULL
35535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35540 (arg1
)->DeleteWindows();
35542 wxPyEndAllowThreads(__tstate
);
35543 if (PyErr_Occurred()) SWIG_fail
;
35545 Py_INCREF(Py_None
); resultobj
= Py_None
;
35552 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35553 PyObject
*resultobj
;
35554 wxSizer
*arg1
= (wxSizer
*) 0 ;
35556 PyObject
* obj0
= 0 ;
35557 char *kwnames
[] = {
35558 (char *) "self", NULL
35561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35566 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35568 wxPyEndAllowThreads(__tstate
);
35569 if (PyErr_Occurred()) SWIG_fail
;
35571 resultobj
= result
;
35578 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35579 PyObject
*resultobj
;
35580 wxSizer
*arg1
= (wxSizer
*) 0 ;
35581 PyObject
*arg2
= (PyObject
*) 0 ;
35582 bool arg3
= (bool) True
;
35583 PyObject
* obj0
= 0 ;
35584 PyObject
* obj1
= 0 ;
35585 PyObject
* obj2
= 0 ;
35586 char *kwnames
[] = {
35587 (char *) "self",(char *) "item",(char *) "show", NULL
35590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35595 arg3
= (bool) SWIG_AsBool(obj2
);
35596 if (PyErr_Occurred()) SWIG_fail
;
35599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35600 wxSizer_Show(arg1
,arg2
,arg3
);
35602 wxPyEndAllowThreads(__tstate
);
35603 if (PyErr_Occurred()) SWIG_fail
;
35605 Py_INCREF(Py_None
); resultobj
= Py_None
;
35612 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35613 PyObject
*resultobj
;
35614 wxSizer
*arg1
= (wxSizer
*) 0 ;
35615 PyObject
*arg2
= (PyObject
*) 0 ;
35617 PyObject
* obj0
= 0 ;
35618 PyObject
* obj1
= 0 ;
35619 char *kwnames
[] = {
35620 (char *) "self",(char *) "item", NULL
35623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35629 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35631 wxPyEndAllowThreads(__tstate
);
35632 if (PyErr_Occurred()) SWIG_fail
;
35635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35643 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35644 PyObject
*resultobj
;
35645 wxSizer
*arg1
= (wxSizer
*) 0 ;
35647 PyObject
* obj0
= 0 ;
35648 PyObject
* obj1
= 0 ;
35649 char *kwnames
[] = {
35650 (char *) "self",(char *) "show", NULL
35653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35656 arg2
= (bool) SWIG_AsBool(obj1
);
35657 if (PyErr_Occurred()) SWIG_fail
;
35659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35660 (arg1
)->ShowItems(arg2
);
35662 wxPyEndAllowThreads(__tstate
);
35663 if (PyErr_Occurred()) SWIG_fail
;
35665 Py_INCREF(Py_None
); resultobj
= Py_None
;
35672 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35675 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35677 return Py_BuildValue((char *)"");
35679 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35680 PyObject
*resultobj
;
35682 char *kwnames
[] = {
35686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35689 result
= (wxPySizer
*)new wxPySizer();
35691 wxPyEndAllowThreads(__tstate
);
35692 if (PyErr_Occurred()) SWIG_fail
;
35694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35701 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35702 PyObject
*resultobj
;
35703 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35704 PyObject
*arg2
= (PyObject
*) 0 ;
35705 PyObject
*arg3
= (PyObject
*) 0 ;
35706 PyObject
* obj0
= 0 ;
35707 PyObject
* obj1
= 0 ;
35708 PyObject
* obj2
= 0 ;
35709 char *kwnames
[] = {
35710 (char *) "self",(char *) "self",(char *) "_class", NULL
35713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35720 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35722 wxPyEndAllowThreads(__tstate
);
35723 if (PyErr_Occurred()) SWIG_fail
;
35725 Py_INCREF(Py_None
); resultobj
= Py_None
;
35732 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35735 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35737 return Py_BuildValue((char *)"");
35739 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35740 PyObject
*resultobj
;
35741 int arg1
= (int) wxHORIZONTAL
;
35742 wxBoxSizer
*result
;
35743 PyObject
* obj0
= 0 ;
35744 char *kwnames
[] = {
35745 (char *) "orient", NULL
35748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
35750 arg1
= (int) SWIG_AsInt(obj0
);
35751 if (PyErr_Occurred()) SWIG_fail
;
35754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35755 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
35757 wxPyEndAllowThreads(__tstate
);
35758 if (PyErr_Occurred()) SWIG_fail
;
35760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
35767 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35768 PyObject
*resultobj
;
35769 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35771 PyObject
* obj0
= 0 ;
35772 char *kwnames
[] = {
35773 (char *) "self", NULL
35776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
35777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35781 result
= (int)(arg1
)->GetOrientation();
35783 wxPyEndAllowThreads(__tstate
);
35784 if (PyErr_Occurred()) SWIG_fail
;
35786 resultobj
= SWIG_FromInt((int)result
);
35793 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35794 PyObject
*resultobj
;
35795 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35797 PyObject
* obj0
= 0 ;
35798 PyObject
* obj1
= 0 ;
35799 char *kwnames
[] = {
35800 (char *) "self",(char *) "orient", NULL
35803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
35804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35806 arg2
= (int) SWIG_AsInt(obj1
);
35807 if (PyErr_Occurred()) SWIG_fail
;
35809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35810 (arg1
)->SetOrientation(arg2
);
35812 wxPyEndAllowThreads(__tstate
);
35813 if (PyErr_Occurred()) SWIG_fail
;
35815 Py_INCREF(Py_None
); resultobj
= Py_None
;
35822 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35825 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
35827 return Py_BuildValue((char *)"");
35829 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35830 PyObject
*resultobj
;
35831 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
35832 int arg2
= (int) wxHORIZONTAL
;
35833 wxStaticBoxSizer
*result
;
35834 PyObject
* obj0
= 0 ;
35835 PyObject
* obj1
= 0 ;
35836 char *kwnames
[] = {
35837 (char *) "box",(char *) "orient", NULL
35840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
35842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35844 arg2
= (int) SWIG_AsInt(obj1
);
35845 if (PyErr_Occurred()) SWIG_fail
;
35848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35849 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
35851 wxPyEndAllowThreads(__tstate
);
35852 if (PyErr_Occurred()) SWIG_fail
;
35854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
35861 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35862 PyObject
*resultobj
;
35863 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35864 wxStaticBox
*result
;
35865 PyObject
* obj0
= 0 ;
35866 char *kwnames
[] = {
35867 (char *) "self", NULL
35870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
35871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35875 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
35877 wxPyEndAllowThreads(__tstate
);
35878 if (PyErr_Occurred()) SWIG_fail
;
35881 resultobj
= wxPyMake_wxObject(result
, 0);
35889 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35892 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
35894 return Py_BuildValue((char *)"");
35896 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35897 PyObject
*resultobj
;
35898 int arg1
= (int) 1 ;
35899 int arg2
= (int) 0 ;
35900 int arg3
= (int) 0 ;
35901 int arg4
= (int) 0 ;
35902 wxGridSizer
*result
;
35903 PyObject
* obj0
= 0 ;
35904 PyObject
* obj1
= 0 ;
35905 PyObject
* obj2
= 0 ;
35906 PyObject
* obj3
= 0 ;
35907 char *kwnames
[] = {
35908 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35913 arg1
= (int) SWIG_AsInt(obj0
);
35914 if (PyErr_Occurred()) SWIG_fail
;
35917 arg2
= (int) SWIG_AsInt(obj1
);
35918 if (PyErr_Occurred()) SWIG_fail
;
35921 arg3
= (int) SWIG_AsInt(obj2
);
35922 if (PyErr_Occurred()) SWIG_fail
;
35925 arg4
= (int) SWIG_AsInt(obj3
);
35926 if (PyErr_Occurred()) SWIG_fail
;
35929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35930 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
35932 wxPyEndAllowThreads(__tstate
);
35933 if (PyErr_Occurred()) SWIG_fail
;
35935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
35942 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35943 PyObject
*resultobj
;
35944 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35946 PyObject
* obj0
= 0 ;
35947 PyObject
* obj1
= 0 ;
35948 char *kwnames
[] = {
35949 (char *) "self",(char *) "cols", NULL
35952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
35953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35955 arg2
= (int) SWIG_AsInt(obj1
);
35956 if (PyErr_Occurred()) SWIG_fail
;
35958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35959 (arg1
)->SetCols(arg2
);
35961 wxPyEndAllowThreads(__tstate
);
35962 if (PyErr_Occurred()) SWIG_fail
;
35964 Py_INCREF(Py_None
); resultobj
= Py_None
;
35971 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35972 PyObject
*resultobj
;
35973 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35975 PyObject
* obj0
= 0 ;
35976 PyObject
* obj1
= 0 ;
35977 char *kwnames
[] = {
35978 (char *) "self",(char *) "rows", NULL
35981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
35982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35984 arg2
= (int) SWIG_AsInt(obj1
);
35985 if (PyErr_Occurred()) SWIG_fail
;
35987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35988 (arg1
)->SetRows(arg2
);
35990 wxPyEndAllowThreads(__tstate
);
35991 if (PyErr_Occurred()) SWIG_fail
;
35993 Py_INCREF(Py_None
); resultobj
= Py_None
;
36000 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36001 PyObject
*resultobj
;
36002 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36004 PyObject
* obj0
= 0 ;
36005 PyObject
* obj1
= 0 ;
36006 char *kwnames
[] = {
36007 (char *) "self",(char *) "gap", NULL
36010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36013 arg2
= (int) SWIG_AsInt(obj1
);
36014 if (PyErr_Occurred()) SWIG_fail
;
36016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36017 (arg1
)->SetVGap(arg2
);
36019 wxPyEndAllowThreads(__tstate
);
36020 if (PyErr_Occurred()) SWIG_fail
;
36022 Py_INCREF(Py_None
); resultobj
= Py_None
;
36029 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36030 PyObject
*resultobj
;
36031 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36033 PyObject
* obj0
= 0 ;
36034 PyObject
* obj1
= 0 ;
36035 char *kwnames
[] = {
36036 (char *) "self",(char *) "gap", NULL
36039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36042 arg2
= (int) SWIG_AsInt(obj1
);
36043 if (PyErr_Occurred()) SWIG_fail
;
36045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36046 (arg1
)->SetHGap(arg2
);
36048 wxPyEndAllowThreads(__tstate
);
36049 if (PyErr_Occurred()) SWIG_fail
;
36051 Py_INCREF(Py_None
); resultobj
= Py_None
;
36058 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36059 PyObject
*resultobj
;
36060 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36062 PyObject
* obj0
= 0 ;
36063 char *kwnames
[] = {
36064 (char *) "self", NULL
36067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36072 result
= (int)(arg1
)->GetCols();
36074 wxPyEndAllowThreads(__tstate
);
36075 if (PyErr_Occurred()) SWIG_fail
;
36077 resultobj
= SWIG_FromInt((int)result
);
36084 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36085 PyObject
*resultobj
;
36086 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36088 PyObject
* obj0
= 0 ;
36089 char *kwnames
[] = {
36090 (char *) "self", NULL
36093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36098 result
= (int)(arg1
)->GetRows();
36100 wxPyEndAllowThreads(__tstate
);
36101 if (PyErr_Occurred()) SWIG_fail
;
36103 resultobj
= SWIG_FromInt((int)result
);
36110 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36111 PyObject
*resultobj
;
36112 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36114 PyObject
* obj0
= 0 ;
36115 char *kwnames
[] = {
36116 (char *) "self", NULL
36119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36124 result
= (int)(arg1
)->GetVGap();
36126 wxPyEndAllowThreads(__tstate
);
36127 if (PyErr_Occurred()) SWIG_fail
;
36129 resultobj
= SWIG_FromInt((int)result
);
36136 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36137 PyObject
*resultobj
;
36138 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36140 PyObject
* obj0
= 0 ;
36141 char *kwnames
[] = {
36142 (char *) "self", NULL
36145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36150 result
= (int)(arg1
)->GetHGap();
36152 wxPyEndAllowThreads(__tstate
);
36153 if (PyErr_Occurred()) SWIG_fail
;
36155 resultobj
= SWIG_FromInt((int)result
);
36162 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36165 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36167 return Py_BuildValue((char *)"");
36169 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36170 PyObject
*resultobj
;
36171 int arg1
= (int) 1 ;
36172 int arg2
= (int) 0 ;
36173 int arg3
= (int) 0 ;
36174 int arg4
= (int) 0 ;
36175 wxFlexGridSizer
*result
;
36176 PyObject
* obj0
= 0 ;
36177 PyObject
* obj1
= 0 ;
36178 PyObject
* obj2
= 0 ;
36179 PyObject
* obj3
= 0 ;
36180 char *kwnames
[] = {
36181 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36186 arg1
= (int) SWIG_AsInt(obj0
);
36187 if (PyErr_Occurred()) SWIG_fail
;
36190 arg2
= (int) SWIG_AsInt(obj1
);
36191 if (PyErr_Occurred()) SWIG_fail
;
36194 arg3
= (int) SWIG_AsInt(obj2
);
36195 if (PyErr_Occurred()) SWIG_fail
;
36198 arg4
= (int) SWIG_AsInt(obj3
);
36199 if (PyErr_Occurred()) SWIG_fail
;
36202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36203 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36205 wxPyEndAllowThreads(__tstate
);
36206 if (PyErr_Occurred()) SWIG_fail
;
36208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36215 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36216 PyObject
*resultobj
;
36217 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36219 int arg3
= (int) 0 ;
36220 PyObject
* obj0
= 0 ;
36221 PyObject
* obj1
= 0 ;
36222 PyObject
* obj2
= 0 ;
36223 char *kwnames
[] = {
36224 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36230 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36231 if (PyErr_Occurred()) SWIG_fail
;
36233 arg3
= (int) SWIG_AsInt(obj2
);
36234 if (PyErr_Occurred()) SWIG_fail
;
36237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36238 (arg1
)->AddGrowableRow(arg2
,arg3
);
36240 wxPyEndAllowThreads(__tstate
);
36241 if (PyErr_Occurred()) SWIG_fail
;
36243 Py_INCREF(Py_None
); resultobj
= Py_None
;
36250 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36251 PyObject
*resultobj
;
36252 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36254 PyObject
* obj0
= 0 ;
36255 PyObject
* obj1
= 0 ;
36256 char *kwnames
[] = {
36257 (char *) "self",(char *) "idx", NULL
36260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36263 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36264 if (PyErr_Occurred()) SWIG_fail
;
36266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36267 (arg1
)->RemoveGrowableRow(arg2
);
36269 wxPyEndAllowThreads(__tstate
);
36270 if (PyErr_Occurred()) SWIG_fail
;
36272 Py_INCREF(Py_None
); resultobj
= Py_None
;
36279 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36280 PyObject
*resultobj
;
36281 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36283 int arg3
= (int) 0 ;
36284 PyObject
* obj0
= 0 ;
36285 PyObject
* obj1
= 0 ;
36286 PyObject
* obj2
= 0 ;
36287 char *kwnames
[] = {
36288 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36294 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36295 if (PyErr_Occurred()) SWIG_fail
;
36297 arg3
= (int) SWIG_AsInt(obj2
);
36298 if (PyErr_Occurred()) SWIG_fail
;
36301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36302 (arg1
)->AddGrowableCol(arg2
,arg3
);
36304 wxPyEndAllowThreads(__tstate
);
36305 if (PyErr_Occurred()) SWIG_fail
;
36307 Py_INCREF(Py_None
); resultobj
= Py_None
;
36314 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36315 PyObject
*resultobj
;
36316 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36318 PyObject
* obj0
= 0 ;
36319 PyObject
* obj1
= 0 ;
36320 char *kwnames
[] = {
36321 (char *) "self",(char *) "idx", NULL
36324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36327 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36328 if (PyErr_Occurred()) SWIG_fail
;
36330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36331 (arg1
)->RemoveGrowableCol(arg2
);
36333 wxPyEndAllowThreads(__tstate
);
36334 if (PyErr_Occurred()) SWIG_fail
;
36336 Py_INCREF(Py_None
); resultobj
= Py_None
;
36343 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36344 PyObject
*resultobj
;
36345 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36347 PyObject
* obj0
= 0 ;
36348 PyObject
* obj1
= 0 ;
36349 char *kwnames
[] = {
36350 (char *) "self",(char *) "direction", NULL
36353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36356 arg2
= (int) SWIG_AsInt(obj1
);
36357 if (PyErr_Occurred()) SWIG_fail
;
36359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36360 (arg1
)->SetFlexibleDirection(arg2
);
36362 wxPyEndAllowThreads(__tstate
);
36363 if (PyErr_Occurred()) SWIG_fail
;
36365 Py_INCREF(Py_None
); resultobj
= Py_None
;
36372 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36373 PyObject
*resultobj
;
36374 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36376 PyObject
* obj0
= 0 ;
36377 char *kwnames
[] = {
36378 (char *) "self", NULL
36381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36386 result
= (int)(arg1
)->GetFlexibleDirection();
36388 wxPyEndAllowThreads(__tstate
);
36389 if (PyErr_Occurred()) SWIG_fail
;
36391 resultobj
= SWIG_FromInt((int)result
);
36398 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36399 PyObject
*resultobj
;
36400 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36402 PyObject
* obj0
= 0 ;
36403 PyObject
* obj1
= 0 ;
36404 char *kwnames
[] = {
36405 (char *) "self",(char *) "mode", NULL
36408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36411 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36412 if (PyErr_Occurred()) SWIG_fail
;
36414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36415 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36417 wxPyEndAllowThreads(__tstate
);
36418 if (PyErr_Occurred()) SWIG_fail
;
36420 Py_INCREF(Py_None
); resultobj
= Py_None
;
36427 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36428 PyObject
*resultobj
;
36429 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36431 PyObject
* obj0
= 0 ;
36432 char *kwnames
[] = {
36433 (char *) "self", NULL
36436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36441 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36443 wxPyEndAllowThreads(__tstate
);
36444 if (PyErr_Occurred()) SWIG_fail
;
36446 resultobj
= SWIG_FromInt((int)result
);
36453 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36454 PyObject
*resultobj
;
36455 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36456 wxArrayInt
*result
;
36457 PyObject
* obj0
= 0 ;
36458 char *kwnames
[] = {
36459 (char *) "self", NULL
36462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36468 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36469 result
= (wxArrayInt
*) &_result_ref
;
36472 wxPyEndAllowThreads(__tstate
);
36473 if (PyErr_Occurred()) SWIG_fail
;
36476 resultobj
= PyList_New(0);
36478 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36479 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36480 PyList_Append(resultobj
, val
);
36490 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36491 PyObject
*resultobj
;
36492 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36493 wxArrayInt
*result
;
36494 PyObject
* obj0
= 0 ;
36495 char *kwnames
[] = {
36496 (char *) "self", NULL
36499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36505 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36506 result
= (wxArrayInt
*) &_result_ref
;
36509 wxPyEndAllowThreads(__tstate
);
36510 if (PyErr_Occurred()) SWIG_fail
;
36513 resultobj
= PyList_New(0);
36515 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36516 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36517 PyList_Append(resultobj
, val
);
36527 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36530 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36532 return Py_BuildValue((char *)"");
36534 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36535 PyObject
*resultobj
;
36536 int arg1
= (int) 0 ;
36537 int arg2
= (int) 0 ;
36538 wxGBPosition
*result
;
36539 PyObject
* obj0
= 0 ;
36540 PyObject
* obj1
= 0 ;
36541 char *kwnames
[] = {
36542 (char *) "row",(char *) "col", NULL
36545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36547 arg1
= (int) SWIG_AsInt(obj0
);
36548 if (PyErr_Occurred()) SWIG_fail
;
36551 arg2
= (int) SWIG_AsInt(obj1
);
36552 if (PyErr_Occurred()) SWIG_fail
;
36555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36556 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36558 wxPyEndAllowThreads(__tstate
);
36559 if (PyErr_Occurred()) SWIG_fail
;
36561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36568 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36569 PyObject
*resultobj
;
36570 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36572 PyObject
* obj0
= 0 ;
36573 char *kwnames
[] = {
36574 (char *) "self", NULL
36577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36582 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36584 wxPyEndAllowThreads(__tstate
);
36585 if (PyErr_Occurred()) SWIG_fail
;
36587 resultobj
= SWIG_FromInt((int)result
);
36594 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36595 PyObject
*resultobj
;
36596 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36598 PyObject
* obj0
= 0 ;
36599 char *kwnames
[] = {
36600 (char *) "self", NULL
36603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36608 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36610 wxPyEndAllowThreads(__tstate
);
36611 if (PyErr_Occurred()) SWIG_fail
;
36613 resultobj
= SWIG_FromInt((int)result
);
36620 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36621 PyObject
*resultobj
;
36622 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36624 PyObject
* obj0
= 0 ;
36625 PyObject
* obj1
= 0 ;
36626 char *kwnames
[] = {
36627 (char *) "self",(char *) "row", NULL
36630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36633 arg2
= (int) SWIG_AsInt(obj1
);
36634 if (PyErr_Occurred()) SWIG_fail
;
36636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36637 (arg1
)->SetRow(arg2
);
36639 wxPyEndAllowThreads(__tstate
);
36640 if (PyErr_Occurred()) SWIG_fail
;
36642 Py_INCREF(Py_None
); resultobj
= Py_None
;
36649 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36650 PyObject
*resultobj
;
36651 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36653 PyObject
* obj0
= 0 ;
36654 PyObject
* obj1
= 0 ;
36655 char *kwnames
[] = {
36656 (char *) "self",(char *) "col", NULL
36659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36662 arg2
= (int) SWIG_AsInt(obj1
);
36663 if (PyErr_Occurred()) SWIG_fail
;
36665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36666 (arg1
)->SetCol(arg2
);
36668 wxPyEndAllowThreads(__tstate
);
36669 if (PyErr_Occurred()) SWIG_fail
;
36671 Py_INCREF(Py_None
); resultobj
= Py_None
;
36678 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36679 PyObject
*resultobj
;
36680 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36681 wxGBPosition
*arg2
= 0 ;
36683 wxGBPosition temp2
;
36684 PyObject
* obj0
= 0 ;
36685 PyObject
* obj1
= 0 ;
36686 char *kwnames
[] = {
36687 (char *) "self",(char *) "other", NULL
36690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36695 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36699 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
36701 wxPyEndAllowThreads(__tstate
);
36702 if (PyErr_Occurred()) SWIG_fail
;
36705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36713 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36714 PyObject
*resultobj
;
36715 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36716 wxGBPosition
*arg2
= 0 ;
36718 wxGBPosition temp2
;
36719 PyObject
* obj0
= 0 ;
36720 PyObject
* obj1
= 0 ;
36721 char *kwnames
[] = {
36722 (char *) "self",(char *) "other", NULL
36725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36730 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36734 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
36736 wxPyEndAllowThreads(__tstate
);
36737 if (PyErr_Occurred()) SWIG_fail
;
36740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36748 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36749 PyObject
*resultobj
;
36750 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36751 int arg2
= (int) 0 ;
36752 int arg3
= (int) 0 ;
36753 PyObject
* obj0
= 0 ;
36754 PyObject
* obj1
= 0 ;
36755 PyObject
* obj2
= 0 ;
36756 char *kwnames
[] = {
36757 (char *) "self",(char *) "row",(char *) "col", NULL
36760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36764 arg2
= (int) SWIG_AsInt(obj1
);
36765 if (PyErr_Occurred()) SWIG_fail
;
36768 arg3
= (int) SWIG_AsInt(obj2
);
36769 if (PyErr_Occurred()) SWIG_fail
;
36772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36773 wxGBPosition_Set(arg1
,arg2
,arg3
);
36775 wxPyEndAllowThreads(__tstate
);
36776 if (PyErr_Occurred()) SWIG_fail
;
36778 Py_INCREF(Py_None
); resultobj
= Py_None
;
36785 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36786 PyObject
*resultobj
;
36787 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36789 PyObject
* obj0
= 0 ;
36790 char *kwnames
[] = {
36791 (char *) "self", NULL
36794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
36795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36799 result
= (PyObject
*)wxGBPosition_Get(arg1
);
36801 wxPyEndAllowThreads(__tstate
);
36802 if (PyErr_Occurred()) SWIG_fail
;
36804 resultobj
= result
;
36811 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
36813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36814 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
36816 return Py_BuildValue((char *)"");
36818 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36819 PyObject
*resultobj
;
36820 int arg1
= (int) 1 ;
36821 int arg2
= (int) 1 ;
36823 PyObject
* obj0
= 0 ;
36824 PyObject
* obj1
= 0 ;
36825 char *kwnames
[] = {
36826 (char *) "rowspan",(char *) "colspan", NULL
36829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36831 arg1
= (int) SWIG_AsInt(obj0
);
36832 if (PyErr_Occurred()) SWIG_fail
;
36835 arg2
= (int) SWIG_AsInt(obj1
);
36836 if (PyErr_Occurred()) SWIG_fail
;
36839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36840 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
36842 wxPyEndAllowThreads(__tstate
);
36843 if (PyErr_Occurred()) SWIG_fail
;
36845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
36852 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36853 PyObject
*resultobj
;
36854 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36856 PyObject
* obj0
= 0 ;
36857 char *kwnames
[] = {
36858 (char *) "self", NULL
36861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
36862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36866 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
36868 wxPyEndAllowThreads(__tstate
);
36869 if (PyErr_Occurred()) SWIG_fail
;
36871 resultobj
= SWIG_FromInt((int)result
);
36878 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36879 PyObject
*resultobj
;
36880 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36882 PyObject
* obj0
= 0 ;
36883 char *kwnames
[] = {
36884 (char *) "self", NULL
36887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
36888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36892 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
36894 wxPyEndAllowThreads(__tstate
);
36895 if (PyErr_Occurred()) SWIG_fail
;
36897 resultobj
= SWIG_FromInt((int)result
);
36904 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36905 PyObject
*resultobj
;
36906 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36908 PyObject
* obj0
= 0 ;
36909 PyObject
* obj1
= 0 ;
36910 char *kwnames
[] = {
36911 (char *) "self",(char *) "rowspan", NULL
36914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36917 arg2
= (int) SWIG_AsInt(obj1
);
36918 if (PyErr_Occurred()) SWIG_fail
;
36920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36921 (arg1
)->SetRowspan(arg2
);
36923 wxPyEndAllowThreads(__tstate
);
36924 if (PyErr_Occurred()) SWIG_fail
;
36926 Py_INCREF(Py_None
); resultobj
= Py_None
;
36933 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36934 PyObject
*resultobj
;
36935 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36937 PyObject
* obj0
= 0 ;
36938 PyObject
* obj1
= 0 ;
36939 char *kwnames
[] = {
36940 (char *) "self",(char *) "colspan", NULL
36943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36946 arg2
= (int) SWIG_AsInt(obj1
);
36947 if (PyErr_Occurred()) SWIG_fail
;
36949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36950 (arg1
)->SetColspan(arg2
);
36952 wxPyEndAllowThreads(__tstate
);
36953 if (PyErr_Occurred()) SWIG_fail
;
36955 Py_INCREF(Py_None
); resultobj
= Py_None
;
36962 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36963 PyObject
*resultobj
;
36964 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36965 wxGBSpan
*arg2
= 0 ;
36968 PyObject
* obj0
= 0 ;
36969 PyObject
* obj1
= 0 ;
36970 char *kwnames
[] = {
36971 (char *) "self",(char *) "other", NULL
36974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36979 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36983 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
36985 wxPyEndAllowThreads(__tstate
);
36986 if (PyErr_Occurred()) SWIG_fail
;
36989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36997 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36998 PyObject
*resultobj
;
36999 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37000 wxGBSpan
*arg2
= 0 ;
37003 PyObject
* obj0
= 0 ;
37004 PyObject
* obj1
= 0 ;
37005 char *kwnames
[] = {
37006 (char *) "self",(char *) "other", NULL
37009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37014 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37018 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37020 wxPyEndAllowThreads(__tstate
);
37021 if (PyErr_Occurred()) SWIG_fail
;
37024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37032 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37033 PyObject
*resultobj
;
37034 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37035 int arg2
= (int) 1 ;
37036 int arg3
= (int) 1 ;
37037 PyObject
* obj0
= 0 ;
37038 PyObject
* obj1
= 0 ;
37039 PyObject
* obj2
= 0 ;
37040 char *kwnames
[] = {
37041 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37048 arg2
= (int) SWIG_AsInt(obj1
);
37049 if (PyErr_Occurred()) SWIG_fail
;
37052 arg3
= (int) SWIG_AsInt(obj2
);
37053 if (PyErr_Occurred()) SWIG_fail
;
37056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37057 wxGBSpan_Set(arg1
,arg2
,arg3
);
37059 wxPyEndAllowThreads(__tstate
);
37060 if (PyErr_Occurred()) SWIG_fail
;
37062 Py_INCREF(Py_None
); resultobj
= Py_None
;
37069 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37070 PyObject
*resultobj
;
37071 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37073 PyObject
* obj0
= 0 ;
37074 char *kwnames
[] = {
37075 (char *) "self", NULL
37078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37083 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37085 wxPyEndAllowThreads(__tstate
);
37086 if (PyErr_Occurred()) SWIG_fail
;
37088 resultobj
= result
;
37095 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37098 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37100 return Py_BuildValue((char *)"");
37102 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37103 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37108 static PyObject
*_wrap_DefaultSpan_get() {
37111 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37116 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37117 PyObject
*resultobj
;
37118 wxGBSizerItem
*result
;
37119 char *kwnames
[] = {
37123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37126 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37128 wxPyEndAllowThreads(__tstate
);
37129 if (PyErr_Occurred()) SWIG_fail
;
37131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37138 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37139 PyObject
*resultobj
;
37140 wxWindow
*arg1
= (wxWindow
*) 0 ;
37141 wxGBPosition
*arg2
= 0 ;
37142 wxGBSpan
*arg3
= 0 ;
37145 PyObject
*arg6
= (PyObject
*) NULL
;
37146 wxGBSizerItem
*result
;
37147 wxGBPosition temp2
;
37149 PyObject
* obj0
= 0 ;
37150 PyObject
* obj1
= 0 ;
37151 PyObject
* obj2
= 0 ;
37152 PyObject
* obj3
= 0 ;
37153 PyObject
* obj4
= 0 ;
37154 PyObject
* obj5
= 0 ;
37155 char *kwnames
[] = {
37156 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37164 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37168 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37170 arg4
= (int) SWIG_AsInt(obj3
);
37171 if (PyErr_Occurred()) SWIG_fail
;
37172 arg5
= (int) SWIG_AsInt(obj4
);
37173 if (PyErr_Occurred()) SWIG_fail
;
37178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37179 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37181 wxPyEndAllowThreads(__tstate
);
37182 if (PyErr_Occurred()) SWIG_fail
;
37184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37191 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37192 PyObject
*resultobj
;
37193 wxSizer
*arg1
= (wxSizer
*) 0 ;
37194 wxGBPosition
*arg2
= 0 ;
37195 wxGBSpan
*arg3
= 0 ;
37198 PyObject
*arg6
= (PyObject
*) NULL
;
37199 wxGBSizerItem
*result
;
37200 wxGBPosition temp2
;
37202 PyObject
* obj0
= 0 ;
37203 PyObject
* obj1
= 0 ;
37204 PyObject
* obj2
= 0 ;
37205 PyObject
* obj3
= 0 ;
37206 PyObject
* obj4
= 0 ;
37207 PyObject
* obj5
= 0 ;
37208 char *kwnames
[] = {
37209 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37217 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37221 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37223 arg4
= (int) SWIG_AsInt(obj3
);
37224 if (PyErr_Occurred()) SWIG_fail
;
37225 arg5
= (int) SWIG_AsInt(obj4
);
37226 if (PyErr_Occurred()) SWIG_fail
;
37231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37232 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37234 wxPyEndAllowThreads(__tstate
);
37235 if (PyErr_Occurred()) SWIG_fail
;
37237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37244 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37245 PyObject
*resultobj
;
37248 wxGBPosition
*arg3
= 0 ;
37249 wxGBSpan
*arg4
= 0 ;
37252 PyObject
*arg7
= (PyObject
*) NULL
;
37253 wxGBSizerItem
*result
;
37254 wxGBPosition temp3
;
37256 PyObject
* obj0
= 0 ;
37257 PyObject
* obj1
= 0 ;
37258 PyObject
* obj2
= 0 ;
37259 PyObject
* obj3
= 0 ;
37260 PyObject
* obj4
= 0 ;
37261 PyObject
* obj5
= 0 ;
37262 PyObject
* obj6
= 0 ;
37263 char *kwnames
[] = {
37264 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37268 arg1
= (int) SWIG_AsInt(obj0
);
37269 if (PyErr_Occurred()) SWIG_fail
;
37270 arg2
= (int) SWIG_AsInt(obj1
);
37271 if (PyErr_Occurred()) SWIG_fail
;
37274 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37278 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37280 arg5
= (int) SWIG_AsInt(obj4
);
37281 if (PyErr_Occurred()) SWIG_fail
;
37282 arg6
= (int) SWIG_AsInt(obj5
);
37283 if (PyErr_Occurred()) SWIG_fail
;
37288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37289 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37291 wxPyEndAllowThreads(__tstate
);
37292 if (PyErr_Occurred()) SWIG_fail
;
37294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37301 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37302 PyObject
*resultobj
;
37303 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37304 wxGBPosition result
;
37305 PyObject
* obj0
= 0 ;
37306 char *kwnames
[] = {
37307 (char *) "self", NULL
37310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37315 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37317 wxPyEndAllowThreads(__tstate
);
37318 if (PyErr_Occurred()) SWIG_fail
;
37321 wxGBPosition
* resultptr
;
37322 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37331 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37332 PyObject
*resultobj
;
37333 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37335 PyObject
* obj0
= 0 ;
37336 char *kwnames
[] = {
37337 (char *) "self", NULL
37340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37345 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37347 wxPyEndAllowThreads(__tstate
);
37348 if (PyErr_Occurred()) SWIG_fail
;
37351 wxGBSpan
* resultptr
;
37352 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37361 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37362 PyObject
*resultobj
;
37363 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37364 wxGBPosition
*arg2
= 0 ;
37366 wxGBPosition temp2
;
37367 PyObject
* obj0
= 0 ;
37368 PyObject
* obj1
= 0 ;
37369 char *kwnames
[] = {
37370 (char *) "self",(char *) "pos", NULL
37373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37378 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37382 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37384 wxPyEndAllowThreads(__tstate
);
37385 if (PyErr_Occurred()) SWIG_fail
;
37388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37396 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37397 PyObject
*resultobj
;
37398 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37399 wxGBSpan
*arg2
= 0 ;
37402 PyObject
* obj0
= 0 ;
37403 PyObject
* obj1
= 0 ;
37404 char *kwnames
[] = {
37405 (char *) "self",(char *) "span", NULL
37408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37413 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37417 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37419 wxPyEndAllowThreads(__tstate
);
37420 if (PyErr_Occurred()) SWIG_fail
;
37423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37431 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37432 PyObject
*resultobj
;
37433 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37434 wxGBSizerItem
*arg2
= 0 ;
37436 PyObject
* obj0
= 0 ;
37437 PyObject
* obj1
= 0 ;
37438 char *kwnames
[] = {
37439 (char *) "self",(char *) "other", NULL
37442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
37443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37448 if (arg2
== NULL
) {
37449 PyErr_SetString(PyExc_TypeError
,"null reference");
37453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37454 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37456 wxPyEndAllowThreads(__tstate
);
37457 if (PyErr_Occurred()) SWIG_fail
;
37460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37468 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37469 PyObject
*resultobj
;
37470 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37471 wxGBPosition
*arg2
= 0 ;
37472 wxGBSpan
*arg3
= 0 ;
37474 wxGBPosition temp2
;
37476 PyObject
* obj0
= 0 ;
37477 PyObject
* obj1
= 0 ;
37478 PyObject
* obj2
= 0 ;
37479 char *kwnames
[] = {
37480 (char *) "self",(char *) "pos",(char *) "span", NULL
37483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37488 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37492 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37496 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37498 wxPyEndAllowThreads(__tstate
);
37499 if (PyErr_Occurred()) SWIG_fail
;
37502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37510 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37511 PyObject
*resultobj
;
37512 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37513 wxGBPosition result
;
37514 PyObject
* obj0
= 0 ;
37515 char *kwnames
[] = {
37516 (char *) "self", NULL
37519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
37520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37524 result
= wxGBSizerItem_GetEndPos(arg1
);
37526 wxPyEndAllowThreads(__tstate
);
37527 if (PyErr_Occurred()) SWIG_fail
;
37530 wxGBPosition
* resultptr
;
37531 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37540 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37541 PyObject
*resultobj
;
37542 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37543 wxGridBagSizer
*result
;
37544 PyObject
* obj0
= 0 ;
37545 char *kwnames
[] = {
37546 (char *) "self", NULL
37549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37554 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37556 wxPyEndAllowThreads(__tstate
);
37557 if (PyErr_Occurred()) SWIG_fail
;
37559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37566 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37567 PyObject
*resultobj
;
37568 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37569 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37570 PyObject
* obj0
= 0 ;
37571 PyObject
* obj1
= 0 ;
37572 char *kwnames
[] = {
37573 (char *) "self",(char *) "sizer", NULL
37576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37583 (arg1
)->SetGBSizer(arg2
);
37585 wxPyEndAllowThreads(__tstate
);
37586 if (PyErr_Occurred()) SWIG_fail
;
37588 Py_INCREF(Py_None
); resultobj
= Py_None
;
37595 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
37597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37598 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37600 return Py_BuildValue((char *)"");
37602 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37603 PyObject
*resultobj
;
37604 int arg1
= (int) 0 ;
37605 int arg2
= (int) 0 ;
37606 wxGridBagSizer
*result
;
37607 PyObject
* obj0
= 0 ;
37608 PyObject
* obj1
= 0 ;
37609 char *kwnames
[] = {
37610 (char *) "vgap",(char *) "hgap", NULL
37613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37615 arg1
= (int) SWIG_AsInt(obj0
);
37616 if (PyErr_Occurred()) SWIG_fail
;
37619 arg2
= (int) SWIG_AsInt(obj1
);
37620 if (PyErr_Occurred()) SWIG_fail
;
37623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37624 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37626 wxPyEndAllowThreads(__tstate
);
37627 if (PyErr_Occurred()) SWIG_fail
;
37629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37636 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37637 PyObject
*resultobj
;
37638 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37639 PyObject
*arg2
= (PyObject
*) 0 ;
37640 wxGBPosition
*arg3
= 0 ;
37641 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37642 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37643 int arg5
= (int) 0 ;
37644 int arg6
= (int) 0 ;
37645 PyObject
*arg7
= (PyObject
*) NULL
;
37647 wxGBPosition temp3
;
37649 PyObject
* obj0
= 0 ;
37650 PyObject
* obj1
= 0 ;
37651 PyObject
* obj2
= 0 ;
37652 PyObject
* obj3
= 0 ;
37653 PyObject
* obj4
= 0 ;
37654 PyObject
* obj5
= 0 ;
37655 PyObject
* obj6
= 0 ;
37656 char *kwnames
[] = {
37657 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37666 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37671 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37675 arg5
= (int) SWIG_AsInt(obj4
);
37676 if (PyErr_Occurred()) SWIG_fail
;
37679 arg6
= (int) SWIG_AsInt(obj5
);
37680 if (PyErr_Occurred()) SWIG_fail
;
37686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37687 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37689 wxPyEndAllowThreads(__tstate
);
37690 if (PyErr_Occurred()) SWIG_fail
;
37693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37701 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37702 PyObject
*resultobj
;
37703 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37704 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37706 PyObject
* obj0
= 0 ;
37707 PyObject
* obj1
= 0 ;
37708 char *kwnames
[] = {
37709 (char *) "self",(char *) "item", NULL
37712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
37713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37719 result
= (bool)(arg1
)->Add(arg2
);
37721 wxPyEndAllowThreads(__tstate
);
37722 if (PyErr_Occurred()) SWIG_fail
;
37725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37733 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37734 PyObject
*resultobj
;
37735 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37737 PyObject
* obj0
= 0 ;
37738 char *kwnames
[] = {
37739 (char *) "self", NULL
37742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
37743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37747 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
37749 wxPyEndAllowThreads(__tstate
);
37750 if (PyErr_Occurred()) SWIG_fail
;
37753 wxSize
* resultptr
;
37754 resultptr
= new wxSize((wxSize
&) result
);
37755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37763 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37764 PyObject
*resultobj
;
37765 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37768 PyObject
* obj0
= 0 ;
37769 PyObject
* obj1
= 0 ;
37770 char *kwnames
[] = {
37771 (char *) "self",(char *) "sz", NULL
37774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37779 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37783 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
37785 wxPyEndAllowThreads(__tstate
);
37786 if (PyErr_Occurred()) SWIG_fail
;
37788 Py_INCREF(Py_None
); resultobj
= Py_None
;
37795 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37796 PyObject
*resultobj
;
37797 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37798 wxWindow
*arg2
= (wxWindow
*) 0 ;
37799 wxGBPosition result
;
37800 PyObject
* obj0
= 0 ;
37801 PyObject
* obj1
= 0 ;
37803 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37810 result
= (arg1
)->GetItemPosition(arg2
);
37812 wxPyEndAllowThreads(__tstate
);
37813 if (PyErr_Occurred()) SWIG_fail
;
37816 wxGBPosition
* resultptr
;
37817 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37826 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37827 PyObject
*resultobj
;
37828 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37829 wxSizer
*arg2
= (wxSizer
*) 0 ;
37830 wxGBPosition result
;
37831 PyObject
* obj0
= 0 ;
37832 PyObject
* obj1
= 0 ;
37834 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37841 result
= (arg1
)->GetItemPosition(arg2
);
37843 wxPyEndAllowThreads(__tstate
);
37844 if (PyErr_Occurred()) SWIG_fail
;
37847 wxGBPosition
* resultptr
;
37848 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37857 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37858 PyObject
*resultobj
;
37859 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37861 wxGBPosition result
;
37862 PyObject
* obj0
= 0 ;
37863 PyObject
* obj1
= 0 ;
37865 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37868 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37869 if (PyErr_Occurred()) SWIG_fail
;
37871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37872 result
= (arg1
)->GetItemPosition(arg2
);
37874 wxPyEndAllowThreads(__tstate
);
37875 if (PyErr_Occurred()) SWIG_fail
;
37878 wxGBPosition
* resultptr
;
37879 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37888 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
37893 argc
= PyObject_Length(args
);
37894 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37895 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37901 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37911 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37919 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
37927 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37937 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37945 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
37953 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37961 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37963 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
37968 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
37973 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37974 PyObject
*resultobj
;
37975 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37976 wxWindow
*arg2
= (wxWindow
*) 0 ;
37977 wxGBPosition
*arg3
= 0 ;
37979 wxGBPosition temp3
;
37980 PyObject
* obj0
= 0 ;
37981 PyObject
* obj1
= 0 ;
37982 PyObject
* obj2
= 0 ;
37984 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37991 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37995 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37997 wxPyEndAllowThreads(__tstate
);
37998 if (PyErr_Occurred()) SWIG_fail
;
38001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38009 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38010 PyObject
*resultobj
;
38011 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38012 wxSizer
*arg2
= (wxSizer
*) 0 ;
38013 wxGBPosition
*arg3
= 0 ;
38015 wxGBPosition temp3
;
38016 PyObject
* obj0
= 0 ;
38017 PyObject
* obj1
= 0 ;
38018 PyObject
* obj2
= 0 ;
38020 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38027 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38031 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38033 wxPyEndAllowThreads(__tstate
);
38034 if (PyErr_Occurred()) SWIG_fail
;
38037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38045 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38046 PyObject
*resultobj
;
38047 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38049 wxGBPosition
*arg3
= 0 ;
38051 wxGBPosition temp3
;
38052 PyObject
* obj0
= 0 ;
38053 PyObject
* obj1
= 0 ;
38054 PyObject
* obj2
= 0 ;
38056 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38059 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38060 if (PyErr_Occurred()) SWIG_fail
;
38063 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38067 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38069 wxPyEndAllowThreads(__tstate
);
38070 if (PyErr_Occurred()) SWIG_fail
;
38073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38081 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38086 argc
= PyObject_Length(args
);
38087 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38088 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38094 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38104 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38113 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38116 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38125 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38135 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38144 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38147 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38156 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38164 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38167 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38170 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38176 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38181 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38182 PyObject
*resultobj
;
38183 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38184 wxWindow
*arg2
= (wxWindow
*) 0 ;
38186 PyObject
* obj0
= 0 ;
38187 PyObject
* obj1
= 0 ;
38189 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38196 result
= (arg1
)->GetItemSpan(arg2
);
38198 wxPyEndAllowThreads(__tstate
);
38199 if (PyErr_Occurred()) SWIG_fail
;
38202 wxGBSpan
* resultptr
;
38203 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38212 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38213 PyObject
*resultobj
;
38214 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38215 wxSizer
*arg2
= (wxSizer
*) 0 ;
38217 PyObject
* obj0
= 0 ;
38218 PyObject
* obj1
= 0 ;
38220 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38227 result
= (arg1
)->GetItemSpan(arg2
);
38229 wxPyEndAllowThreads(__tstate
);
38230 if (PyErr_Occurred()) SWIG_fail
;
38233 wxGBSpan
* resultptr
;
38234 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38243 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38244 PyObject
*resultobj
;
38245 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38248 PyObject
* obj0
= 0 ;
38249 PyObject
* obj1
= 0 ;
38251 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38254 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38255 if (PyErr_Occurred()) SWIG_fail
;
38257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38258 result
= (arg1
)->GetItemSpan(arg2
);
38260 wxPyEndAllowThreads(__tstate
);
38261 if (PyErr_Occurred()) SWIG_fail
;
38264 wxGBSpan
* resultptr
;
38265 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38274 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38279 argc
= PyObject_Length(args
);
38280 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38281 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38287 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38297 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38305 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38313 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38323 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38331 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38339 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38347 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38349 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38354 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38359 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38360 PyObject
*resultobj
;
38361 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38362 wxWindow
*arg2
= (wxWindow
*) 0 ;
38363 wxGBSpan
*arg3
= 0 ;
38366 PyObject
* obj0
= 0 ;
38367 PyObject
* obj1
= 0 ;
38368 PyObject
* obj2
= 0 ;
38370 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38377 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38381 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38383 wxPyEndAllowThreads(__tstate
);
38384 if (PyErr_Occurred()) SWIG_fail
;
38387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38395 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38396 PyObject
*resultobj
;
38397 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38398 wxSizer
*arg2
= (wxSizer
*) 0 ;
38399 wxGBSpan
*arg3
= 0 ;
38402 PyObject
* obj0
= 0 ;
38403 PyObject
* obj1
= 0 ;
38404 PyObject
* obj2
= 0 ;
38406 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38413 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38417 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38419 wxPyEndAllowThreads(__tstate
);
38420 if (PyErr_Occurred()) SWIG_fail
;
38423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38431 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38432 PyObject
*resultobj
;
38433 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38435 wxGBSpan
*arg3
= 0 ;
38438 PyObject
* obj0
= 0 ;
38439 PyObject
* obj1
= 0 ;
38440 PyObject
* obj2
= 0 ;
38442 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38445 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38446 if (PyErr_Occurred()) SWIG_fail
;
38449 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38453 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38455 wxPyEndAllowThreads(__tstate
);
38456 if (PyErr_Occurred()) SWIG_fail
;
38459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38467 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38472 argc
= PyObject_Length(args
);
38473 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38474 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38480 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38490 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38499 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38502 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38511 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38521 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38530 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38533 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38542 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38550 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38553 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38556 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38562 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38567 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
38568 PyObject
*resultobj
;
38569 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38570 wxWindow
*arg2
= (wxWindow
*) 0 ;
38571 wxGBSizerItem
*result
;
38572 PyObject
* obj0
= 0 ;
38573 PyObject
* obj1
= 0 ;
38575 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38582 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38584 wxPyEndAllowThreads(__tstate
);
38585 if (PyErr_Occurred()) SWIG_fail
;
38587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38594 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
38595 PyObject
*resultobj
;
38596 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38597 wxSizer
*arg2
= (wxSizer
*) 0 ;
38598 wxGBSizerItem
*result
;
38599 PyObject
* obj0
= 0 ;
38600 PyObject
* obj1
= 0 ;
38602 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38609 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38611 wxPyEndAllowThreads(__tstate
);
38612 if (PyErr_Occurred()) SWIG_fail
;
38614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38621 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38626 argc
= PyObject_Length(args
);
38627 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38628 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38634 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38644 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38652 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
38660 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38670 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38678 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
38683 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
38688 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38689 PyObject
*resultobj
;
38690 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38691 wxGBPosition
*arg2
= 0 ;
38692 wxGBSizerItem
*result
;
38693 wxGBPosition temp2
;
38694 PyObject
* obj0
= 0 ;
38695 PyObject
* obj1
= 0 ;
38696 char *kwnames
[] = {
38697 (char *) "self",(char *) "pos", NULL
38700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
38701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38705 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38709 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
38711 wxPyEndAllowThreads(__tstate
);
38712 if (PyErr_Occurred()) SWIG_fail
;
38714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38721 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38722 PyObject
*resultobj
;
38723 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38724 wxPoint
*arg2
= 0 ;
38725 wxGBSizerItem
*result
;
38727 PyObject
* obj0
= 0 ;
38728 PyObject
* obj1
= 0 ;
38729 char *kwnames
[] = {
38730 (char *) "self",(char *) "pt", NULL
38733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
38734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38738 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38742 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
38744 wxPyEndAllowThreads(__tstate
);
38745 if (PyErr_Occurred()) SWIG_fail
;
38747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38754 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38755 PyObject
*resultobj
;
38756 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38757 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38758 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
38760 PyObject
* obj0
= 0 ;
38761 PyObject
* obj1
= 0 ;
38762 PyObject
* obj2
= 0 ;
38763 char *kwnames
[] = {
38764 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
38767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38773 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
38774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38778 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
38780 wxPyEndAllowThreads(__tstate
);
38781 if (PyErr_Occurred()) SWIG_fail
;
38784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38792 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38793 PyObject
*resultobj
;
38794 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38795 wxGBPosition
*arg2
= 0 ;
38796 wxGBSpan
*arg3
= 0 ;
38797 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
38799 wxGBPosition temp2
;
38801 PyObject
* obj0
= 0 ;
38802 PyObject
* obj1
= 0 ;
38803 PyObject
* obj2
= 0 ;
38804 PyObject
* obj3
= 0 ;
38805 char *kwnames
[] = {
38806 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
38809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38814 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38818 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38821 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38826 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
38828 wxPyEndAllowThreads(__tstate
);
38829 if (PyErr_Occurred()) SWIG_fail
;
38832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38840 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
38842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38843 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
38845 return Py_BuildValue((char *)"");
38847 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38848 PyObject
*resultobj
;
38849 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38851 wxWindow
*arg3
= (wxWindow
*) 0 ;
38853 int arg5
= (int) 0 ;
38854 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
38855 PyObject
* obj0
= 0 ;
38856 PyObject
* obj1
= 0 ;
38857 PyObject
* obj2
= 0 ;
38858 PyObject
* obj3
= 0 ;
38859 PyObject
* obj4
= 0 ;
38860 PyObject
* obj5
= 0 ;
38861 char *kwnames
[] = {
38862 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
38865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38868 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
38869 if (PyErr_Occurred()) SWIG_fail
;
38870 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38872 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
38873 if (PyErr_Occurred()) SWIG_fail
;
38875 arg5
= (int) SWIG_AsInt(obj4
);
38876 if (PyErr_Occurred()) SWIG_fail
;
38879 arg6
= (int) SWIG_AsInt(obj5
);
38880 if (PyErr_Occurred()) SWIG_fail
;
38883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38884 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
38886 wxPyEndAllowThreads(__tstate
);
38887 if (PyErr_Occurred()) SWIG_fail
;
38889 Py_INCREF(Py_None
); resultobj
= Py_None
;
38896 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38897 PyObject
*resultobj
;
38898 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38899 wxWindow
*arg2
= (wxWindow
*) 0 ;
38900 int arg3
= (int) 0 ;
38901 PyObject
* obj0
= 0 ;
38902 PyObject
* obj1
= 0 ;
38903 PyObject
* obj2
= 0 ;
38904 char *kwnames
[] = {
38905 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38914 arg3
= (int) SWIG_AsInt(obj2
);
38915 if (PyErr_Occurred()) SWIG_fail
;
38918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38919 (arg1
)->LeftOf(arg2
,arg3
);
38921 wxPyEndAllowThreads(__tstate
);
38922 if (PyErr_Occurred()) SWIG_fail
;
38924 Py_INCREF(Py_None
); resultobj
= Py_None
;
38931 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38932 PyObject
*resultobj
;
38933 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38934 wxWindow
*arg2
= (wxWindow
*) 0 ;
38935 int arg3
= (int) 0 ;
38936 PyObject
* obj0
= 0 ;
38937 PyObject
* obj1
= 0 ;
38938 PyObject
* obj2
= 0 ;
38939 char *kwnames
[] = {
38940 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38949 arg3
= (int) SWIG_AsInt(obj2
);
38950 if (PyErr_Occurred()) SWIG_fail
;
38953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38954 (arg1
)->RightOf(arg2
,arg3
);
38956 wxPyEndAllowThreads(__tstate
);
38957 if (PyErr_Occurred()) SWIG_fail
;
38959 Py_INCREF(Py_None
); resultobj
= Py_None
;
38966 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38967 PyObject
*resultobj
;
38968 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38969 wxWindow
*arg2
= (wxWindow
*) 0 ;
38970 int arg3
= (int) 0 ;
38971 PyObject
* obj0
= 0 ;
38972 PyObject
* obj1
= 0 ;
38973 PyObject
* obj2
= 0 ;
38974 char *kwnames
[] = {
38975 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38984 arg3
= (int) SWIG_AsInt(obj2
);
38985 if (PyErr_Occurred()) SWIG_fail
;
38988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38989 (arg1
)->Above(arg2
,arg3
);
38991 wxPyEndAllowThreads(__tstate
);
38992 if (PyErr_Occurred()) SWIG_fail
;
38994 Py_INCREF(Py_None
); resultobj
= Py_None
;
39001 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39002 PyObject
*resultobj
;
39003 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39004 wxWindow
*arg2
= (wxWindow
*) 0 ;
39005 int arg3
= (int) 0 ;
39006 PyObject
* obj0
= 0 ;
39007 PyObject
* obj1
= 0 ;
39008 PyObject
* obj2
= 0 ;
39009 char *kwnames
[] = {
39010 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39019 arg3
= (int) SWIG_AsInt(obj2
);
39020 if (PyErr_Occurred()) SWIG_fail
;
39023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39024 (arg1
)->Below(arg2
,arg3
);
39026 wxPyEndAllowThreads(__tstate
);
39027 if (PyErr_Occurred()) SWIG_fail
;
39029 Py_INCREF(Py_None
); resultobj
= Py_None
;
39036 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39037 PyObject
*resultobj
;
39038 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39039 wxWindow
*arg2
= (wxWindow
*) 0 ;
39041 int arg4
= (int) 0 ;
39042 PyObject
* obj0
= 0 ;
39043 PyObject
* obj1
= 0 ;
39044 PyObject
* obj2
= 0 ;
39045 PyObject
* obj3
= 0 ;
39046 char *kwnames
[] = {
39047 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39055 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39056 if (PyErr_Occurred()) SWIG_fail
;
39058 arg4
= (int) SWIG_AsInt(obj3
);
39059 if (PyErr_Occurred()) SWIG_fail
;
39062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39063 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39065 wxPyEndAllowThreads(__tstate
);
39066 if (PyErr_Occurred()) SWIG_fail
;
39068 Py_INCREF(Py_None
); resultobj
= Py_None
;
39075 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39076 PyObject
*resultobj
;
39077 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39078 wxWindow
*arg2
= (wxWindow
*) 0 ;
39081 PyObject
* obj0
= 0 ;
39082 PyObject
* obj1
= 0 ;
39083 PyObject
* obj2
= 0 ;
39084 PyObject
* obj3
= 0 ;
39085 char *kwnames
[] = {
39086 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39094 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39095 if (PyErr_Occurred()) SWIG_fail
;
39096 arg4
= (int) SWIG_AsInt(obj3
);
39097 if (PyErr_Occurred()) SWIG_fail
;
39099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39100 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39102 wxPyEndAllowThreads(__tstate
);
39103 if (PyErr_Occurred()) SWIG_fail
;
39105 Py_INCREF(Py_None
); resultobj
= Py_None
;
39112 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39113 PyObject
*resultobj
;
39114 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39116 PyObject
* obj0
= 0 ;
39117 PyObject
* obj1
= 0 ;
39118 char *kwnames
[] = {
39119 (char *) "self",(char *) "val", NULL
39122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39125 arg2
= (int) SWIG_AsInt(obj1
);
39126 if (PyErr_Occurred()) SWIG_fail
;
39128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39129 (arg1
)->Absolute(arg2
);
39131 wxPyEndAllowThreads(__tstate
);
39132 if (PyErr_Occurred()) SWIG_fail
;
39134 Py_INCREF(Py_None
); resultobj
= Py_None
;
39141 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39142 PyObject
*resultobj
;
39143 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39144 PyObject
* obj0
= 0 ;
39145 char *kwnames
[] = {
39146 (char *) "self", NULL
39149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39154 (arg1
)->Unconstrained();
39156 wxPyEndAllowThreads(__tstate
);
39157 if (PyErr_Occurred()) SWIG_fail
;
39159 Py_INCREF(Py_None
); resultobj
= Py_None
;
39166 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39167 PyObject
*resultobj
;
39168 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39169 PyObject
* obj0
= 0 ;
39170 char *kwnames
[] = {
39171 (char *) "self", NULL
39174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39181 wxPyEndAllowThreads(__tstate
);
39182 if (PyErr_Occurred()) SWIG_fail
;
39184 Py_INCREF(Py_None
); resultobj
= Py_None
;
39191 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39192 PyObject
*resultobj
;
39193 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39195 PyObject
* obj0
= 0 ;
39196 char *kwnames
[] = {
39197 (char *) "self", NULL
39200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39205 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39207 wxPyEndAllowThreads(__tstate
);
39208 if (PyErr_Occurred()) SWIG_fail
;
39211 resultobj
= wxPyMake_wxObject(result
, 0);
39219 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39220 PyObject
*resultobj
;
39221 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39223 PyObject
* obj0
= 0 ;
39224 char *kwnames
[] = {
39225 (char *) "self", NULL
39228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39233 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39235 wxPyEndAllowThreads(__tstate
);
39236 if (PyErr_Occurred()) SWIG_fail
;
39238 resultobj
= SWIG_FromInt((int)result
);
39245 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39246 PyObject
*resultobj
;
39247 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39249 PyObject
* obj0
= 0 ;
39250 PyObject
* obj1
= 0 ;
39251 char *kwnames
[] = {
39252 (char *) "self",(char *) "which", NULL
39255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39258 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39259 if (PyErr_Occurred()) SWIG_fail
;
39261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39262 (arg1
)->SetEdge((wxEdge
)arg2
);
39264 wxPyEndAllowThreads(__tstate
);
39265 if (PyErr_Occurred()) SWIG_fail
;
39267 Py_INCREF(Py_None
); resultobj
= Py_None
;
39274 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39275 PyObject
*resultobj
;
39276 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39278 PyObject
* obj0
= 0 ;
39279 PyObject
* obj1
= 0 ;
39280 char *kwnames
[] = {
39281 (char *) "self",(char *) "v", NULL
39284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39287 arg2
= (int) SWIG_AsInt(obj1
);
39288 if (PyErr_Occurred()) SWIG_fail
;
39290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39291 (arg1
)->SetValue(arg2
);
39293 wxPyEndAllowThreads(__tstate
);
39294 if (PyErr_Occurred()) SWIG_fail
;
39296 Py_INCREF(Py_None
); resultobj
= Py_None
;
39303 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39304 PyObject
*resultobj
;
39305 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39307 PyObject
* obj0
= 0 ;
39308 char *kwnames
[] = {
39309 (char *) "self", NULL
39312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39317 result
= (int)(arg1
)->GetMargin();
39319 wxPyEndAllowThreads(__tstate
);
39320 if (PyErr_Occurred()) SWIG_fail
;
39322 resultobj
= SWIG_FromInt((int)result
);
39329 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39330 PyObject
*resultobj
;
39331 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39333 PyObject
* obj0
= 0 ;
39334 PyObject
* obj1
= 0 ;
39335 char *kwnames
[] = {
39336 (char *) "self",(char *) "m", NULL
39339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39342 arg2
= (int) SWIG_AsInt(obj1
);
39343 if (PyErr_Occurred()) SWIG_fail
;
39345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39346 (arg1
)->SetMargin(arg2
);
39348 wxPyEndAllowThreads(__tstate
);
39349 if (PyErr_Occurred()) SWIG_fail
;
39351 Py_INCREF(Py_None
); resultobj
= Py_None
;
39358 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39359 PyObject
*resultobj
;
39360 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39362 PyObject
* obj0
= 0 ;
39363 char *kwnames
[] = {
39364 (char *) "self", NULL
39367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39372 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39374 wxPyEndAllowThreads(__tstate
);
39375 if (PyErr_Occurred()) SWIG_fail
;
39377 resultobj
= SWIG_FromInt((int)result
);
39384 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39385 PyObject
*resultobj
;
39386 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39388 PyObject
* obj0
= 0 ;
39389 char *kwnames
[] = {
39390 (char *) "self", NULL
39393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39398 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39400 wxPyEndAllowThreads(__tstate
);
39401 if (PyErr_Occurred()) SWIG_fail
;
39403 resultobj
= SWIG_FromInt((int)result
);
39410 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39411 PyObject
*resultobj
;
39412 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39414 PyObject
* obj0
= 0 ;
39415 char *kwnames
[] = {
39416 (char *) "self", NULL
39419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39424 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39426 wxPyEndAllowThreads(__tstate
);
39427 if (PyErr_Occurred()) SWIG_fail
;
39429 resultobj
= SWIG_FromInt((int)result
);
39436 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39437 PyObject
*resultobj
;
39438 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39440 PyObject
* obj0
= 0 ;
39441 char *kwnames
[] = {
39442 (char *) "self", NULL
39445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39450 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39452 wxPyEndAllowThreads(__tstate
);
39453 if (PyErr_Occurred()) SWIG_fail
;
39456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39464 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39465 PyObject
*resultobj
;
39466 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39468 PyObject
* obj0
= 0 ;
39469 PyObject
* obj1
= 0 ;
39470 char *kwnames
[] = {
39471 (char *) "self",(char *) "d", NULL
39474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39477 arg2
= (bool) SWIG_AsBool(obj1
);
39478 if (PyErr_Occurred()) SWIG_fail
;
39480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39481 (arg1
)->SetDone(arg2
);
39483 wxPyEndAllowThreads(__tstate
);
39484 if (PyErr_Occurred()) SWIG_fail
;
39486 Py_INCREF(Py_None
); resultobj
= Py_None
;
39493 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39494 PyObject
*resultobj
;
39495 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39497 PyObject
* obj0
= 0 ;
39498 char *kwnames
[] = {
39499 (char *) "self", NULL
39502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39507 result
= (int)(arg1
)->GetRelationship();
39509 wxPyEndAllowThreads(__tstate
);
39510 if (PyErr_Occurred()) SWIG_fail
;
39512 resultobj
= SWIG_FromInt((int)result
);
39519 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39520 PyObject
*resultobj
;
39521 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39523 PyObject
* obj0
= 0 ;
39524 PyObject
* obj1
= 0 ;
39525 char *kwnames
[] = {
39526 (char *) "self",(char *) "r", NULL
39529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39532 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39533 if (PyErr_Occurred()) SWIG_fail
;
39535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39536 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39538 wxPyEndAllowThreads(__tstate
);
39539 if (PyErr_Occurred()) SWIG_fail
;
39541 Py_INCREF(Py_None
); resultobj
= Py_None
;
39548 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39549 PyObject
*resultobj
;
39550 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39551 wxWindow
*arg2
= (wxWindow
*) 0 ;
39553 PyObject
* obj0
= 0 ;
39554 PyObject
* obj1
= 0 ;
39555 char *kwnames
[] = {
39556 (char *) "self",(char *) "otherW", NULL
39559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39566 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39568 wxPyEndAllowThreads(__tstate
);
39569 if (PyErr_Occurred()) SWIG_fail
;
39572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39580 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39581 PyObject
*resultobj
;
39582 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39583 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39584 wxWindow
*arg3
= (wxWindow
*) 0 ;
39586 PyObject
* obj0
= 0 ;
39587 PyObject
* obj1
= 0 ;
39588 PyObject
* obj2
= 0 ;
39589 char *kwnames
[] = {
39590 (char *) "self",(char *) "constraints",(char *) "win", NULL
39593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39598 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39602 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39604 wxPyEndAllowThreads(__tstate
);
39605 if (PyErr_Occurred()) SWIG_fail
;
39608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39616 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39617 PyObject
*resultobj
;
39618 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39620 wxWindow
*arg3
= (wxWindow
*) 0 ;
39621 wxWindow
*arg4
= (wxWindow
*) 0 ;
39623 PyObject
* obj0
= 0 ;
39624 PyObject
* obj1
= 0 ;
39625 PyObject
* obj2
= 0 ;
39626 PyObject
* obj3
= 0 ;
39627 char *kwnames
[] = {
39628 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39634 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39635 if (PyErr_Occurred()) SWIG_fail
;
39636 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39638 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39642 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39644 wxPyEndAllowThreads(__tstate
);
39645 if (PyErr_Occurred()) SWIG_fail
;
39647 resultobj
= SWIG_FromInt((int)result
);
39654 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
39656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39657 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
39659 return Py_BuildValue((char *)"");
39661 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39662 PyObject
*resultobj
;
39663 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39664 wxIndividualLayoutConstraint
*result
;
39665 PyObject
* obj0
= 0 ;
39666 char *kwnames
[] = {
39667 (char *) "self", NULL
39670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
39671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39673 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
39675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39682 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39683 PyObject
*resultobj
;
39684 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39685 wxIndividualLayoutConstraint
*result
;
39686 PyObject
* obj0
= 0 ;
39687 char *kwnames
[] = {
39688 (char *) "self", NULL
39691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
39692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39694 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
39696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39703 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39704 PyObject
*resultobj
;
39705 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39706 wxIndividualLayoutConstraint
*result
;
39707 PyObject
* obj0
= 0 ;
39708 char *kwnames
[] = {
39709 (char *) "self", NULL
39712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
39713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39715 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
39717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39724 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39725 PyObject
*resultobj
;
39726 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39727 wxIndividualLayoutConstraint
*result
;
39728 PyObject
* obj0
= 0 ;
39729 char *kwnames
[] = {
39730 (char *) "self", NULL
39733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
39734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39736 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
39738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39745 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39746 PyObject
*resultobj
;
39747 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39748 wxIndividualLayoutConstraint
*result
;
39749 PyObject
* obj0
= 0 ;
39750 char *kwnames
[] = {
39751 (char *) "self", NULL
39754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
39755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39757 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
39759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39766 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39767 PyObject
*resultobj
;
39768 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39769 wxIndividualLayoutConstraint
*result
;
39770 PyObject
* obj0
= 0 ;
39771 char *kwnames
[] = {
39772 (char *) "self", NULL
39775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
39776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39778 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
39780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39787 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39788 PyObject
*resultobj
;
39789 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39790 wxIndividualLayoutConstraint
*result
;
39791 PyObject
* obj0
= 0 ;
39792 char *kwnames
[] = {
39793 (char *) "self", NULL
39796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
39797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39799 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
39801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39808 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39809 PyObject
*resultobj
;
39810 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39811 wxIndividualLayoutConstraint
*result
;
39812 PyObject
* obj0
= 0 ;
39813 char *kwnames
[] = {
39814 (char *) "self", NULL
39817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
39818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39820 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
39822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39829 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39830 PyObject
*resultobj
;
39831 wxLayoutConstraints
*result
;
39832 char *kwnames
[] = {
39836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
39838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39839 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
39841 wxPyEndAllowThreads(__tstate
);
39842 if (PyErr_Occurred()) SWIG_fail
;
39844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
39851 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39852 PyObject
*resultobj
;
39853 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39854 wxWindow
*arg2
= (wxWindow
*) 0 ;
39855 int *arg3
= (int *) 0 ;
39858 PyObject
* obj0
= 0 ;
39859 PyObject
* obj1
= 0 ;
39860 char *kwnames
[] = {
39861 (char *) "self",(char *) "win", NULL
39865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
39866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39872 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
39874 wxPyEndAllowThreads(__tstate
);
39875 if (PyErr_Occurred()) SWIG_fail
;
39878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39881 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
39882 resultobj
= t_output_helper(resultobj
,o
);
39890 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39891 PyObject
*resultobj
;
39892 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39894 PyObject
* obj0
= 0 ;
39895 char *kwnames
[] = {
39896 (char *) "self", NULL
39899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
39900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39904 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
39906 wxPyEndAllowThreads(__tstate
);
39907 if (PyErr_Occurred()) SWIG_fail
;
39910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39918 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
39920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39921 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
39923 return Py_BuildValue((char *)"");
39925 static PyMethodDef SwigMethods
[] = {
39926 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
39927 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
39928 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39929 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39930 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
39931 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
39932 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
39933 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
39934 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
39935 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
39936 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
39937 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39938 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39939 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
39940 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
39941 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
39942 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
39943 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
39944 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39945 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39946 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39947 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39948 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
39949 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
39950 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
39951 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
39952 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39953 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39954 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39955 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39956 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
39957 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
39958 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39959 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39960 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
39961 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
39962 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
39963 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
39964 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
39965 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39966 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39967 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39968 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39969 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
39970 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
39971 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39972 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39973 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
39974 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
39975 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
39976 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
39977 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
39978 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
39979 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
39980 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
39981 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
39982 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
39983 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
39984 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39985 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
39986 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39987 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
39988 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39989 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39990 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39991 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39992 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39993 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39994 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39995 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39996 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
39997 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
39998 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
39999 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40000 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40001 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40002 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40003 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40004 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40005 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40006 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40007 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40008 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40009 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40010 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40011 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40012 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40013 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40014 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40015 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40016 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40017 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40018 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40019 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40020 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40021 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40022 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40023 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40024 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40025 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40026 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40027 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40028 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40029 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40030 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40031 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40032 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40033 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40034 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40035 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40036 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40037 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40038 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40039 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40040 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40041 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40042 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40043 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40044 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40045 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40046 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40047 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40048 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40049 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40050 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40051 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40052 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40053 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40054 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40055 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40056 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40057 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40058 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40059 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40060 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40061 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40062 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40063 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40064 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40065 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40066 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40067 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40068 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40069 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40070 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40071 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40072 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40073 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40074 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40075 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40076 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40077 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40078 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40079 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40080 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40081 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40082 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40083 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40084 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40085 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40086 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40087 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40088 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40089 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40090 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40091 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40092 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40093 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40094 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40095 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40096 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40097 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40098 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40099 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40100 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40101 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40102 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40103 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40104 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40105 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40106 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40107 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40108 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40109 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40110 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40111 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40112 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40113 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40114 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40115 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40116 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40117 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40118 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40119 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40120 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40121 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40122 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40123 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40124 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40125 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40126 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40127 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40128 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40129 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40130 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40131 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40132 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40133 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40134 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40135 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40136 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40137 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40138 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40139 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40140 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40141 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40142 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40143 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40144 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40145 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40146 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40147 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40148 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40149 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40150 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40151 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40152 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40153 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40154 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40155 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40156 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40157 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40158 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40159 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40160 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40161 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40162 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40163 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40164 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40165 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40166 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40167 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40168 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40169 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40170 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40171 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40172 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40173 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40174 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40175 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40176 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40177 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40178 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40179 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40180 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40181 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40182 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40183 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40184 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40185 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40186 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40187 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40188 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40189 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40190 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40191 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40192 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40193 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40194 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40195 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40196 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40197 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40198 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40199 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40200 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40201 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40202 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40203 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40204 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40205 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40206 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40207 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40208 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40209 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40210 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40211 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40212 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40213 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40214 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40215 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40216 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40217 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40218 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40219 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40220 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40221 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40222 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40223 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40224 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40225 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40226 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40227 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40228 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40229 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40230 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40231 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40232 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40233 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40234 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40235 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40236 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40237 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40238 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40239 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40240 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40241 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40242 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40243 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40244 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40245 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40246 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40247 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40248 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40249 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40250 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40251 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40252 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40253 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40254 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40255 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40256 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40257 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40258 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40259 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40260 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40261 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40262 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40263 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40264 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40265 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40266 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40267 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40268 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40269 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40270 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40271 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40272 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40273 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40274 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40275 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40276 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40277 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40278 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40280 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40281 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40282 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40283 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40284 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40285 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40286 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40288 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40289 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40290 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40291 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40292 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40293 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40294 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40295 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40296 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40297 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40298 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40299 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40300 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40301 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40302 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40303 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40304 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40305 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40306 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40307 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40308 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40309 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40311 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40312 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40313 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40314 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40315 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40317 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
40319 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40320 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40322 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40323 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40324 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40325 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40326 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40327 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40328 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40329 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40330 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40331 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40332 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40333 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40334 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40335 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40336 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40337 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40339 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40340 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40341 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40342 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40343 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40344 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40345 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40346 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40347 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40348 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40349 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40351 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40354 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40355 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40356 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40357 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40358 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40359 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40361 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40363 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40364 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40365 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40366 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40367 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40368 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40369 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40370 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40373 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40374 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40375 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40376 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40377 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40378 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40379 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40380 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40381 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
40382 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40383 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
},
40385 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40387 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40389 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40391 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40393 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40394 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40395 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40396 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40397 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40398 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40399 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40400 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40402 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40404 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40406 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40407 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40408 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40409 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40410 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40412 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40413 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40414 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40415 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40416 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40417 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40418 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40419 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40420 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40421 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40422 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40423 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40424 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40425 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40426 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40427 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40428 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40429 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40430 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40431 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40432 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40433 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40434 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40435 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40436 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40437 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40438 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40439 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40441 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40442 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40443 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40445 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40446 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40447 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40448 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40449 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40450 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
40451 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40452 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
40453 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
40454 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40455 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
40456 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40457 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40459 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40460 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40461 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40462 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
40463 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
40464 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
40465 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
40466 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
40467 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
40468 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40469 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
40470 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
40471 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40472 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
40473 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40474 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
40475 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
40476 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
40477 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
40478 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40479 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40480 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40481 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
40482 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40483 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
40485 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40487 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40492 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40493 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
40494 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40495 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
40496 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40498 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
40499 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
40501 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40503 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40504 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
40505 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
40509 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40510 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40513 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40517 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
40518 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40520 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
40521 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40522 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40523 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
40524 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40525 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
40528 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
40530 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
40531 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
40535 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40537 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
40540 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40542 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40543 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
40545 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40554 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40572 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40573 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40579 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40582 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
40588 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
40589 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
40592 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
40604 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
40608 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
40609 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
40618 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40628 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
40785 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
40823 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
40837 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
40840 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
40895 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
40922 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
40952 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
40960 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
40977 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
40978 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41014 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41043 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41046 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41050 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41053 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41063 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41075 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41085 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41095 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41109 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41115 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41116 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41117 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41118 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41119 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41124 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41151 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41167 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41169 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41170 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41172 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41173 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41175 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41176 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41178 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41179 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41181 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41182 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41184 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41185 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41187 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41188 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41190 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41191 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41193 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41194 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41196 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41197 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41199 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41200 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41202 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41203 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41205 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41206 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41208 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41209 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41211 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41212 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41214 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41215 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41217 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41218 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41220 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41221 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41223 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41224 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41226 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41227 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41229 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41230 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41232 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41233 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41235 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41236 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41238 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41239 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41241 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41242 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41244 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41245 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41247 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41248 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41250 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41251 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41253 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41254 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41256 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41257 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41259 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41260 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41262 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41263 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41265 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41266 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41268 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41269 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41271 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41272 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41274 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41275 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41277 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41278 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41280 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41281 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41283 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41284 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41286 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41287 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41289 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41290 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41292 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41293 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41295 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41296 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41298 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41299 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41301 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41302 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41304 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41305 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41307 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41308 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41310 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41311 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41313 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41314 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41316 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41317 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41319 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41320 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41322 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41323 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41325 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41326 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41328 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41329 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41331 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41332 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41334 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41335 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41337 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41338 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41340 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41341 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41343 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41344 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41346 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41347 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41349 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41350 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41352 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41353 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41355 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41356 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41358 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41359 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41361 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41362 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41364 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41365 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41367 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41368 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41370 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41371 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41373 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41374 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41376 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41377 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41379 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41380 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41382 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41383 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41385 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41386 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41388 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41389 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41391 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41392 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41394 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41395 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41397 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41398 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41400 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41401 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41403 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41404 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41406 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41407 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41409 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41410 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41412 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41413 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41415 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41416 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41418 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41419 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41421 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41422 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41424 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41427 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41428 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41430 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41431 return (void *)((wxObject
*) ((wxSizer
*) x
));
41433 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41434 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41436 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41437 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41439 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41440 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41442 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41443 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41445 static void *_p_wxImageTo_p_wxObject(void *x
) {
41446 return (void *)((wxObject
*) ((wxImage
*) x
));
41448 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41449 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41451 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41452 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41454 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41455 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41457 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41458 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41460 static void *_p_wxControlTo_p_wxObject(void *x
) {
41461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41463 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41464 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41466 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41467 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41469 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41470 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41472 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41473 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41475 static void *_p_wxEventTo_p_wxObject(void *x
) {
41476 return (void *)((wxObject
*) ((wxEvent
*) x
));
41478 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41479 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41481 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41482 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41484 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41485 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41487 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41488 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41490 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41491 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41493 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41494 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41496 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41497 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41499 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41500 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41502 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41503 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41505 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41506 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41508 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41509 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41511 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41512 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41514 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41515 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41517 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41518 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41520 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41521 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41523 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41524 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41526 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41527 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41529 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41530 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41532 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41533 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41535 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41536 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41538 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41539 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41541 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41542 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41544 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41545 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41547 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41548 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41550 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41551 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41553 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41554 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41556 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41557 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41559 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41560 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41562 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41563 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41565 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41566 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41568 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41569 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41571 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41572 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41574 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41575 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41577 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41578 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41580 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41581 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41583 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41584 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41586 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41587 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41589 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41590 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41592 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41593 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41595 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41596 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41598 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41599 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41601 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41602 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41604 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41605 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41607 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41608 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41610 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41611 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41613 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41614 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41616 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41617 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41619 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41620 return (void *)((wxWindow
*) ((wxControl
*) x
));
41622 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41623 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41625 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41626 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41628 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41629 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41631 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41632 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41634 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41635 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41637 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41638 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41640 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41641 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41643 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41644 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41646 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41647 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41649 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41650 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41652 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
41653 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
41655 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}};
41656 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}};
41657 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}};
41658 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}};
41659 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}};
41660 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}};
41661 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}};
41662 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}};
41663 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}};
41664 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}};
41665 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}};
41666 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}};
41667 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}};
41668 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}};
41669 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}};
41670 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}};
41671 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}};
41672 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}};
41673 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}};
41674 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}};
41675 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}};
41676 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}};
41677 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}};
41678 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}};
41679 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}};
41680 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}};
41681 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}};
41682 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}};
41683 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}};
41684 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}};
41685 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}};
41686 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}};
41687 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}};
41688 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}};
41689 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}};
41690 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}};
41691 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}};
41692 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}};
41693 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}};
41694 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}};
41695 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}};
41696 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}};
41697 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}};
41698 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}};
41699 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}};
41700 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}};
41701 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}};
41702 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}};
41703 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}};
41704 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}};
41705 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}};
41706 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}};
41707 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}};
41708 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}};
41709 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}};
41710 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}};
41711 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}};
41712 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}};
41713 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}};
41714 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}};
41715 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}};
41716 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}};
41717 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}};
41718 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}};
41719 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}};
41720 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}};
41721 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}};
41722 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}};
41723 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}};
41724 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}};
41725 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}};
41726 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}};
41727 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}};
41728 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}};
41729 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}};
41730 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}};
41731 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}};
41732 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}};
41733 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}};
41734 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}};
41735 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}};
41736 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}};
41737 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}};
41738 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}};
41739 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}};
41740 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}};
41741 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}};
41742 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}};
41743 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}};
41744 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}};
41745 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}};
41746 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}};
41747 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}};
41748 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}};
41749 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}};
41750 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}};
41751 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}};
41752 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}};
41753 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}};
41754 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}};
41755 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}};
41756 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}};
41757 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}};
41758 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}};
41759 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}};
41760 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}};
41761 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}};
41762 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}};
41763 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}};
41764 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}};
41765 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}};
41766 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}};
41767 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}};
41768 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}};
41769 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}};
41771 static swig_type_info
*swig_types_initial
[] = {
41772 _swigt__p_wxLayoutConstraints
,
41773 _swigt__p_wxRealPoint
,
41774 _swigt__p_wxSizerItem
,
41775 _swigt__p_wxGBSizerItem
,
41776 _swigt__p_wxScrollEvent
,
41777 _swigt__p_wxIndividualLayoutConstraint
,
41779 _swigt__p_wxBoxSizer
,
41780 _swigt__p_wxStaticBoxSizer
,
41781 _swigt__p_wxGridBagSizer
,
41782 _swigt__p_wxAcceleratorEntry
,
41783 _swigt__p_wxUpdateUIEvent
,
41786 _swigt__p_wxGridSizer
,
41787 _swigt__p_wxFlexGridSizer
,
41788 _swigt__p_wxInitDialogEvent
,
41789 _swigt__p_wxItemContainer
,
41790 _swigt__p_wxNcPaintEvent
,
41791 _swigt__p_wxPaintEvent
,
41792 _swigt__p_wxSysColourChangedEvent
,
41793 _swigt__p_wxMouseCaptureChangedEvent
,
41794 _swigt__p_wxDisplayChangedEvent
,
41795 _swigt__p_wxPaletteChangedEvent
,
41796 _swigt__p_wxControl
,
41798 _swigt__p_wxMenuBarBase
,
41799 _swigt__p_wxSetCursorEvent
,
41800 _swigt__p_wxFSFile
,
41802 _swigt__p_wxRegion
,
41803 _swigt__p_wxPoint2D
,
41807 _swigt__p_wxPySizer
,
41808 _swigt__p_wxVisualAttributes
,
41809 _swigt__p_wxNotifyEvent
,
41810 _swigt__p_wxPyEvent
,
41811 _swigt__p_wxPropagationDisabler
,
41812 _swigt__p_wxAppTraits
,
41813 _swigt__p_wxArrayString
,
41814 _swigt__p_wxShowEvent
,
41815 _swigt__p_wxToolTip
,
41816 _swigt__p_wxMaximizeEvent
,
41817 _swigt__p_wxIconizeEvent
,
41818 _swigt__p_wxActivateEvent
,
41819 _swigt__p_wxMoveEvent
,
41820 _swigt__p_wxSizeEvent
,
41821 _swigt__p_wxQueryNewPaletteEvent
,
41822 _swigt__p_wxWindowCreateEvent
,
41823 _swigt__p_wxIdleEvent
,
41824 _swigt__p_wxMenuItem
,
41825 _swigt__p_wxStaticBox
,
41827 _swigt__p_wxTIFFHandler
,
41828 _swigt__p_wxXPMHandler
,
41829 _swigt__p_wxPNMHandler
,
41830 _swigt__p_wxJPEGHandler
,
41831 _swigt__p_wxPCXHandler
,
41832 _swigt__p_wxGIFHandler
,
41833 _swigt__p_wxPNGHandler
,
41834 _swigt__p_wxANIHandler
,
41835 _swigt__p_wxMemoryFSHandler
,
41836 _swigt__p_wxEvtHandler
,
41837 _swigt__p_wxCURHandler
,
41838 _swigt__p_wxICOHandler
,
41839 _swigt__p_wxBMPHandler
,
41840 _swigt__p_wxImageHandler
,
41841 _swigt__p_wxFileSystemHandler
,
41842 _swigt__p_wxPyFileSystemHandler
,
41843 _swigt__p_wxInternetFSHandler
,
41844 _swigt__p_wxZipFSHandler
,
41846 _swigt__p_wxGBSpan
,
41847 _swigt__p_wxPropagateOnce
,
41848 _swigt__p_wxAcceleratorTable
,
41850 _swigt__p_wxGBPosition
,
41853 _swigt__p_wxScrollWinEvent
,
41854 _swigt__p_wxImageHistogram
,
41857 _swigt__p_wxCursor
,
41858 _swigt__p_wxObject
,
41859 _swigt__p_wxPyInputStream
,
41860 _swigt__p_wxOutputStream
,
41861 _swigt__p_wxInputStream
,
41862 _swigt__p_wxDateTime
,
41863 _swigt__p_wxKeyEvent
,
41864 _swigt__p_wxNavigationKeyEvent
,
41865 _swigt__p_wxWindowDestroyEvent
,
41866 _swigt__p_wxWindow
,
41867 _swigt__p_wxMenuBar
,
41868 _swigt__p_wxFileSystem
,
41869 _swigt__p_wxBitmap
,
41870 _swigt__p_wxMenuEvent
,
41871 _swigt__p_wxContextMenuEvent
,
41872 _swigt__p_unsigned_char
,
41873 _swigt__p_wxCloseEvent
,
41874 _swigt__p_wxEraseEvent
,
41875 _swigt__p_wxMouseEvent
,
41877 _swigt__p_wxCommandEvent
,
41878 _swigt__p_wxPyCommandEvent
,
41879 _swigt__p_wxPyDropTarget
,
41880 _swigt__p_wxChildFocusEvent
,
41881 _swigt__p_wxFocusEvent
,
41882 _swigt__p_wxDropFilesEvent
,
41883 _swigt__p_wxControlWithItems
,
41884 _swigt__p_wxColour
,
41885 _swigt__p_wxValidator
,
41886 _swigt__p_wxPyValidator
,
41891 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41893 static swig_const_info swig_const_table
[] = {
41903 SWIGEXPORT(void) SWIG_init(void) {
41904 static PyObject
*SWIG_globals
= 0;
41905 static int typeinit
= 0;
41908 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
41909 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41910 d
= PyModule_GetDict(m
);
41913 for (i
= 0; swig_types_initial
[i
]; i
++) {
41914 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
41918 SWIG_InstallConstants(d
,swig_const_table
);
41921 #ifndef wxPyUSE_EXPORT
41922 // Make our API structure a CObject so other modules can import it
41923 // from this module.
41924 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
41925 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
41929 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
41930 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
41931 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
41932 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
41933 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
41934 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
41935 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
41936 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
41937 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
41938 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
41939 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
41940 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
41941 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
41942 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
41943 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
41944 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
41945 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
41946 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
41947 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
41948 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
41949 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
41950 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
41951 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
41952 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
41953 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
41954 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
41955 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
41956 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
41957 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
41958 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
41959 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
41960 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
41961 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
41962 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
41963 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
41964 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
41965 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
41966 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
41967 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
41968 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
41969 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
41970 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
41971 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
41972 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
41973 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
41974 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
41975 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
41976 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
41977 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
41978 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
41979 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
41980 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
41981 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
41982 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
41983 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
41984 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
41985 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
41986 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
41987 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
41988 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
41989 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
41990 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
41991 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
41992 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
41993 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
41994 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
41995 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
41996 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
41997 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
41998 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
41999 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42000 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42001 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42002 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42003 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42004 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42005 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42006 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42007 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42008 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42009 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42010 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42011 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42012 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42013 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42014 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42015 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42016 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42017 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42018 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42019 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42020 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42021 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42022 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42023 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42024 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42025 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42026 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42027 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42028 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42029 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42030 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42031 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42032 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42033 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42034 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42035 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42036 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42037 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42038 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42039 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42040 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42041 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42042 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42043 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42044 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42045 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42046 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42047 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42048 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42049 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42050 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42051 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42052 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42053 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42054 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42055 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42056 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42057 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42058 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42059 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42060 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42061 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42062 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42063 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42064 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42065 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42066 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42067 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42068 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42069 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42070 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42071 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42072 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42073 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42074 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42075 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42076 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42077 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42078 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42079 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42080 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42081 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42082 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42083 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42084 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42085 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42086 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42087 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42088 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42089 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42090 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42091 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42092 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42093 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42094 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42095 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42096 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42097 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42098 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42099 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42100 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42101 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42102 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42103 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42104 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42105 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42106 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42107 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42108 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42109 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42110 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42111 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42112 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42113 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42114 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42115 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42116 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42117 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42118 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42119 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42120 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42121 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42122 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42123 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42124 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42125 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42126 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42127 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42128 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42129 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42130 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42131 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42132 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42133 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42134 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42135 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42136 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42137 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42138 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42139 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42140 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42141 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42142 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42143 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42144 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42145 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42146 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42147 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42148 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42149 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42150 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42151 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42152 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42153 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42154 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42155 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42156 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42157 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42158 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42159 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42160 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42161 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42162 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42163 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42164 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42165 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42166 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42167 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42168 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42169 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42170 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42171 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42172 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42173 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42174 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42175 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42176 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42177 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42178 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42179 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42180 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42181 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42182 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42183 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42184 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42185 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42186 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42187 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42188 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42189 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42190 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42191 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42192 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42193 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42194 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42195 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42196 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42197 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42198 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42199 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42200 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42201 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42202 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42203 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42204 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42205 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42206 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42207 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42208 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42209 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42210 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42211 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42212 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42213 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42214 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42215 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42216 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42217 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42218 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42219 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42220 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42221 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42222 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42223 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42224 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42225 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42226 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42227 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42228 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42229 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42230 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42231 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42232 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42233 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42234 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42235 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42236 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42237 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42238 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42239 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42240 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42241 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42242 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42243 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42244 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42245 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42246 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42247 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42248 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42249 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42250 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42251 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42252 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42253 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42254 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42255 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42256 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42257 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42258 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42259 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42260 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42261 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42262 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42263 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42264 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42265 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42266 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42267 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42268 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42269 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42270 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42271 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42272 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42273 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42274 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42275 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42276 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42277 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42278 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42279 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42280 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42281 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42282 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42283 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42284 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42285 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42286 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42287 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42288 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42289 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42290 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42291 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42292 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42293 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42294 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42295 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42296 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42297 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42298 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42299 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42300 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42301 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42302 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42303 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42304 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42305 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42306 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42307 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42308 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42309 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42310 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42311 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42312 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42313 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42314 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42315 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42316 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42317 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42318 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42319 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42320 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42321 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42322 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42323 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42324 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42325 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42326 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42327 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42328 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42329 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42330 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42331 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42332 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42333 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42334 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42335 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42336 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42337 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42338 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42339 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42340 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42341 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42342 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42343 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42344 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42345 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42346 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42347 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42348 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42349 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42350 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42351 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42352 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42353 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42354 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42355 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42356 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42357 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42358 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42359 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42360 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42361 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42362 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42363 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42364 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42365 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42366 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42367 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42368 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42369 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42370 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42371 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42372 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42373 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42374 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42375 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42376 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42377 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42378 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42379 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42380 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42381 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42382 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42383 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42384 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42385 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42386 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42387 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42388 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42389 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42390 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42391 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42392 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42393 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42394 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42395 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42396 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42397 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42398 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42399 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42400 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42401 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42402 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42403 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42404 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42405 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42406 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42407 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42408 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42409 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42410 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42411 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42412 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42413 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42414 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42415 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42416 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42417 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
42418 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
42419 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
42420 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
42421 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
42422 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42423 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42424 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42425 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42426 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
42427 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
42428 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
42429 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
42430 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
42431 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
42432 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42433 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42434 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
42435 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
42436 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
42437 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
42438 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
42439 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
42440 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
42441 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
42442 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
42443 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
42444 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42445 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42446 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
42447 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
42448 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
42449 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
42450 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
42451 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
42452 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
42453 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
42454 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
42455 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
42456 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
42457 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
42458 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
42459 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
42460 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
42461 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
42462 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
42463 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
42464 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
42465 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
42466 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
42467 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
42468 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
42469 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
42470 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
42471 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
42472 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
42473 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
42474 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
42475 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
42476 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
42477 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
42478 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
42479 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
42480 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
42481 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
42482 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
42483 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
42484 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
42485 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
42486 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
42487 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
42488 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
42489 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
42490 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
42491 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
42492 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
42493 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
42494 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
42495 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
42496 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
42497 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42498 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42499 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
42500 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
42501 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
42503 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42506 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42508 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42509 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42510 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42511 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42512 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42513 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42514 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
42515 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
42516 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
42517 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
42518 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
42519 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
42520 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
42521 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
42522 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
42523 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
42524 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
42525 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
42526 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
42527 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42528 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42529 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42530 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42531 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42532 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42533 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42534 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42535 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42536 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42537 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42538 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42539 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42540 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42541 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42542 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42543 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42544 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42545 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42546 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42547 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42548 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42549 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42550 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42551 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42552 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42553 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42554 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42555 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42556 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42557 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42558 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42559 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42560 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42561 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42562 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42563 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42564 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42565 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42566 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42567 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42568 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42569 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42570 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42571 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42572 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42573 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42574 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42575 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42576 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42577 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42578 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42579 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42580 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42581 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42582 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42583 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42584 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42585 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42586 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42587 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42588 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42589 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42590 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42591 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42592 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42593 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42594 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42595 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42596 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42597 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42598 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42599 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42600 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42601 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42602 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42603 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42604 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42605 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42606 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42607 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42608 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42609 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42610 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42611 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42612 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42613 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42614 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42615 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42616 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42617 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42618 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42619 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42620 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42621 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42622 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42623 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
42624 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
42625 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
42626 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
42627 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
42628 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
42629 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
42630 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
42631 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
42632 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
42633 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
42634 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
42635 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
42636 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
42637 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
42638 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
42639 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
42640 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
42641 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
42642 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
42643 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
42644 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
42645 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
42646 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
42647 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
42648 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_FromInt((int)wxNavigationKeyEvent::IsBackward
));
42649 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_FromInt((int)wxNavigationKeyEvent::IsForward
));
42650 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_FromInt((int)wxNavigationKeyEvent::WinChange
));
42651 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
42652 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
42653 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
42654 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
42655 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
42656 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
42657 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
42658 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
42659 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
42660 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
42661 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
42662 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
42663 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
42664 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
42665 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
42666 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
42667 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
42668 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
42669 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
42670 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
42671 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
42672 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
42673 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
42674 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
42675 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
42676 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
42677 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
42678 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
42679 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
42680 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
42681 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
42682 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
42683 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
42684 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
42685 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
42686 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
42687 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
42688 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
42689 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
42690 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
42692 // Initialize threading, some globals and such
42696 // Although these are defined in __version__ they need to be here too so
42697 // that an assert can be done to ensure that the wxPython and the wxWindows
42699 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
42700 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
42701 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));