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();
1341 void wxApp_CleanUp() {
1346 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1350 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1351 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1352 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1353 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1354 wxWindowList
& list
= self
->GetChildren();
1355 return wxPy_ConvertList(&list
);
1357 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1359 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1364 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1371 long wxWindow_GetHandle(wxWindow
*self
){
1372 return wxPyGetWinHandle(self
);
1375 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1376 return wxWindow::FindWindowById(id
, parent
);
1379 wxWindow
* wxFindWindowByName( const wxString
& name
,
1380 const wxWindow
*parent
= NULL
) {
1381 return wxWindow::FindWindowByName(name
, parent
);
1384 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1385 const wxWindow
*parent
= NULL
) {
1386 return wxWindow::FindWindowByLabel(label
, parent
);
1391 #include <wx/msw/private.h> // to get wxGetWindowId
1395 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1397 WXHWND hWnd
= (WXHWND
)_hWnd
;
1398 long id
= wxGetWindowId(hWnd
);
1399 wxWindow
* win
= new wxWindow
;
1400 parent
->AddChild(win
);
1401 win
->SetEventHandler(win
);
1404 win
->SubclassWin(hWnd
);
1405 win
->AdoptAttributesFromHWND();
1406 win
->SetupColours();
1409 wxPyRaiseNotImplemented();
1415 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1416 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1417 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1419 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1421 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1422 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1423 wxMenuItemList
& list
= self
->GetMenuItems();
1424 return wxPy_ConvertList(&list
);
1426 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1427 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1429 wxPyClientData
* data
= new wxPyClientData(clientData
);
1430 return self
->Append(item
, data
);
1432 return self
->Append(item
);
1434 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1436 wxPyClientData
* data
= new wxPyClientData(clientData
);
1437 return self
->Insert(item
, pos
, data
);
1439 return self
->Insert(item
, pos
);
1441 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1442 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1444 Py_INCREF(data
->m_obj
);
1451 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1452 wxPyClientData
* data
= new wxPyClientData(clientData
);
1453 self
->SetClientObject(n
, data
);
1457 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1458 wxPyUserData
* data
= NULL
;
1460 bool blocked
= wxPyBeginBlockThreads();
1461 data
= new wxPyUserData(userData
);
1462 wxPyEndBlockThreads(blocked
);
1464 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1466 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1467 wxPyUserData
* data
= NULL
;
1469 bool blocked
= wxPyBeginBlockThreads();
1470 data
= new wxPyUserData(userData
);
1471 wxPyEndBlockThreads(blocked
);
1473 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1475 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1476 wxPyUserData
* data
= NULL
;
1478 bool blocked
= wxPyBeginBlockThreads();
1479 data
= new wxPyUserData(userData
);
1480 wxPyEndBlockThreads(blocked
);
1482 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1488 SWIG_FloatCast(double value
)
1491 if (!PyErr_Occurred()) {
1492 if (value
< FLT_MIN
) {
1494 PyString_FromFormat("value %g is less than float minimum %g",
1496 PyErr_SetObject(PyExc_OverflowError
, err
);
1498 } else if (value
> FLT_MAX
) {
1500 PyString_FromFormat("value %g is greater than float maximum %g",
1502 PyErr_SetObject(PyExc_OverflowError
, err
);
1505 f
= swig_numeric_cast(float, value
);
1512 SWIGSTATICINLINE(float)
1513 SWIG_AsFloat(PyObject
*obj
)
1515 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1519 SWIGSTATICINLINE(int)
1520 SWIG_CheckFloat(PyObject
* obj
)
1523 if (PyErr_Occurred()) {
1531 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1532 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1534 Py_INCREF(data
->m_obj
);
1542 // Figure out the type of the sizer item
1544 struct wxPySizerItemInfo
{
1546 : window(NULL
), sizer(NULL
), gotSize(False
),
1547 size(wxDefaultSize
), gotPos(False
), pos(-1)
1558 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1560 wxPySizerItemInfo info
;
1562 wxSize
* sizePtr
= &size
;
1564 // Find out what the type of the item is
1566 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1571 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1575 // try wxSize or (w,h)
1576 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1577 info
.size
= *sizePtr
;
1578 info
.gotSize
= True
;
1582 if (checkIdx
&& PyInt_Check(item
)) {
1583 info
.pos
= PyInt_AsLong(item
);
1589 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1590 // no expected type, figure out what kind of error message to generate
1591 if ( !checkSize
&& !checkIdx
)
1592 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1593 else if ( checkSize
&& !checkIdx
)
1594 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1595 else if ( !checkSize
&& checkIdx
)
1596 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1598 // can this one happen?
1599 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1605 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1606 if (!self
->GetClientObject())
1607 self
->SetClientObject(new wxPyOORClientData(_self
));
1609 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1611 wxPyUserData
* data
= NULL
;
1612 bool blocked
= wxPyBeginBlockThreads();
1613 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1614 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1615 data
= new wxPyUserData(userData
);
1616 wxPyEndBlockThreads(blocked
);
1618 // Now call the real Add method if a valid item type was found
1620 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1621 else if ( info
.sizer
)
1622 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1623 else if (info
.gotSize
)
1624 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1625 proportion
, flag
, border
, data
);
1627 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1629 wxPyUserData
* data
= NULL
;
1630 bool blocked
= wxPyBeginBlockThreads();
1631 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1632 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1633 data
= new wxPyUserData(userData
);
1634 wxPyEndBlockThreads(blocked
);
1636 // Now call the real Insert method if a valid item type was found
1638 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1639 else if ( info
.sizer
)
1640 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1641 else if (info
.gotSize
)
1642 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1643 proportion
, flag
, border
, data
);
1645 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1647 wxPyUserData
* data
= NULL
;
1648 bool blocked
= wxPyBeginBlockThreads();
1649 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1650 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1651 data
= new wxPyUserData(userData
);
1652 wxPyEndBlockThreads(blocked
);
1654 // Now call the real Prepend method if a valid item type was found
1656 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1657 else if ( info
.sizer
)
1658 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1659 else if (info
.gotSize
)
1660 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1661 proportion
, flag
, border
, data
);
1663 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1664 bool blocked
= wxPyBeginBlockThreads();
1665 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1666 wxPyEndBlockThreads(blocked
);
1668 return self
->Remove(info
.window
);
1669 else if ( info
.sizer
)
1670 return self
->Remove(info
.sizer
);
1671 else if ( info
.gotPos
)
1672 return self
->Remove(info
.pos
);
1676 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1677 bool blocked
= wxPyBeginBlockThreads();
1678 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1679 wxPyEndBlockThreads(blocked
);
1681 return self
->Detach(info
.window
);
1682 else if ( info
.sizer
)
1683 return self
->Detach(info
.sizer
);
1684 else if ( info
.gotPos
)
1685 return self
->Detach(info
.pos
);
1689 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1690 bool blocked
= wxPyBeginBlockThreads();
1691 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1692 wxPyEndBlockThreads(blocked
);
1694 self
->SetItemMinSize(info
.window
, size
);
1695 else if ( info
.sizer
)
1696 self
->SetItemMinSize(info
.sizer
, size
);
1697 else if ( info
.gotPos
)
1698 self
->SetItemMinSize(info
.pos
, size
);
1700 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1701 wxSizerItemList
& list
= self
->GetChildren();
1702 return wxPy_ConvertList(&list
);
1704 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1705 bool blocked
= wxPyBeginBlockThreads();
1706 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1707 wxPyEndBlockThreads(blocked
);
1709 self
->Show(info
.window
, show
);
1710 else if ( info
.sizer
)
1711 self
->Show(info
.sizer
, show
);
1712 else if ( info
.gotPos
)
1713 self
->Show(info
.pos
, show
);
1715 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1716 bool blocked
= wxPyBeginBlockThreads();
1717 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1718 wxPyEndBlockThreads(blocked
);
1720 return self
->IsShown(info
.window
);
1721 else if ( info
.sizer
)
1722 return self
->IsShown(info
.sizer
);
1723 else if ( info
.gotPos
)
1724 return self
->IsShown(info
.pos
);
1730 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1731 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1732 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1737 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1739 if (source
== Py_None
) {
1740 **obj
= wxGBPosition(-1,-1);
1743 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1746 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1748 if (source
== Py_None
) {
1749 **obj
= wxGBSpan(-1,-1);
1752 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1756 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1760 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1761 bool blocked
= wxPyBeginBlockThreads();
1762 PyObject
* tup
= PyTuple_New(2);
1763 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1764 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1765 wxPyEndBlockThreads(blocked
);
1768 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1769 self
->SetRowspan(rowspan
);
1770 self
->SetColspan(colspan
);
1772 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1773 bool blocked
= wxPyBeginBlockThreads();
1774 PyObject
* tup
= PyTuple_New(2);
1775 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1776 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1777 wxPyEndBlockThreads(blocked
);
1780 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1781 wxPyUserData
* data
= NULL
;
1783 bool blocked
= wxPyBeginBlockThreads();
1784 data
= new wxPyUserData(userData
);
1785 wxPyEndBlockThreads(blocked
);
1787 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
1789 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1790 wxPyUserData
* data
= NULL
;
1792 bool blocked
= wxPyBeginBlockThreads();
1793 data
= new wxPyUserData(userData
);
1794 wxPyEndBlockThreads(blocked
);
1796 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
1798 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1799 wxPyUserData
* data
= NULL
;
1801 bool blocked
= wxPyBeginBlockThreads();
1802 data
= new wxPyUserData(userData
);
1803 wxPyEndBlockThreads(blocked
);
1805 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
1807 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
1809 self
->GetEndPos(row
, col
);
1810 return wxGBPosition(row
, col
);
1812 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1814 wxPyUserData
* data
= NULL
;
1815 bool blocked
= wxPyBeginBlockThreads();
1816 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1817 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1818 data
= new wxPyUserData(userData
);
1819 wxPyEndBlockThreads(blocked
);
1821 // Now call the real Add method if a valid item type was found
1823 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1824 else if ( info
.sizer
)
1825 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1826 else if (info
.gotSize
)
1827 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1828 pos
, span
, flag
, border
, data
);
1836 static int _wrap_EmptyString_set(PyObject
*_val
) {
1837 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1842 static PyObject
*_wrap_EmptyString_get() {
1847 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1849 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1856 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
*resultobj
;
1858 wxObject
*arg1
= (wxObject
*) 0 ;
1860 PyObject
* obj0
= 0 ;
1862 (char *) "self", NULL
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1870 result
= wxObject_GetClassName(arg1
);
1872 wxPyEndAllowThreads(__tstate
);
1873 if (PyErr_Occurred()) SWIG_fail
;
1877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1888 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
*resultobj
;
1890 wxObject
*arg1
= (wxObject
*) 0 ;
1891 PyObject
* obj0
= 0 ;
1893 (char *) "self", NULL
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 wxObject_Destroy(arg1
);
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) SWIG_fail
;
1906 Py_INCREF(Py_None
); resultobj
= Py_None
;
1913 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1916 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1918 return Py_BuildValue((char *)"");
1920 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
*resultobj
;
1922 wxSize
*arg1
= (wxSize
*) 0 ;
1924 PyObject
* obj0
= 0 ;
1925 PyObject
* obj1
= 0 ;
1927 (char *) "self",(char *) "x", NULL
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1933 arg2
= (int) SWIG_AsInt(obj1
);
1934 if (PyErr_Occurred()) SWIG_fail
;
1935 if (arg1
) (arg1
)->x
= arg2
;
1937 Py_INCREF(Py_None
); resultobj
= Py_None
;
1944 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
*resultobj
;
1946 wxSize
*arg1
= (wxSize
*) 0 ;
1948 PyObject
* obj0
= 0 ;
1950 (char *) "self", NULL
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1956 result
= (int) ((arg1
)->x
);
1958 resultobj
= SWIG_FromInt((int)result
);
1965 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
*resultobj
;
1967 wxSize
*arg1
= (wxSize
*) 0 ;
1969 PyObject
* obj0
= 0 ;
1970 PyObject
* obj1
= 0 ;
1972 (char *) "self",(char *) "y", NULL
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1978 arg2
= (int) SWIG_AsInt(obj1
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1980 if (arg1
) (arg1
)->y
= arg2
;
1982 Py_INCREF(Py_None
); resultobj
= Py_None
;
1989 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1991 wxSize
*arg1
= (wxSize
*) 0 ;
1993 PyObject
* obj0
= 0 ;
1995 (char *) "self", NULL
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2001 result
= (int) ((arg1
)->y
);
2003 resultobj
= SWIG_FromInt((int)result
);
2010 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
*resultobj
;
2012 int arg1
= (int) 0 ;
2013 int arg2
= (int) 0 ;
2015 PyObject
* obj0
= 0 ;
2016 PyObject
* obj1
= 0 ;
2018 (char *) "w",(char *) "h", NULL
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2023 arg1
= (int) SWIG_AsInt(obj0
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2027 arg2
= (int) SWIG_AsInt(obj1
);
2028 if (PyErr_Occurred()) SWIG_fail
;
2031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2032 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2034 wxPyEndAllowThreads(__tstate
);
2035 if (PyErr_Occurred()) SWIG_fail
;
2037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2044 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
*resultobj
;
2046 wxSize
*arg1
= (wxSize
*) 0 ;
2047 PyObject
* obj0
= 0 ;
2049 (char *) "self", NULL
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2062 Py_INCREF(Py_None
); resultobj
= Py_None
;
2069 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
*resultobj
;
2071 wxSize
*arg1
= (wxSize
*) 0 ;
2075 PyObject
* obj0
= 0 ;
2076 PyObject
* obj1
= 0 ;
2078 (char *) "self",(char *) "sz", NULL
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2086 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2090 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2092 wxPyEndAllowThreads(__tstate
);
2093 if (PyErr_Occurred()) SWIG_fail
;
2096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2104 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
*resultobj
;
2106 wxSize
*arg1
= (wxSize
*) 0 ;
2110 PyObject
* obj0
= 0 ;
2111 PyObject
* obj1
= 0 ;
2113 (char *) "self",(char *) "sz", NULL
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2121 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2127 wxPyEndAllowThreads(__tstate
);
2128 if (PyErr_Occurred()) SWIG_fail
;
2131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2139 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
*resultobj
;
2141 wxSize
*arg1
= (wxSize
*) 0 ;
2145 PyObject
* obj0
= 0 ;
2146 PyObject
* obj1
= 0 ;
2148 (char *) "self",(char *) "sz", NULL
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2156 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) SWIG_fail
;
2167 resultptr
= new wxSize((wxSize
&) result
);
2168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2176 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
*resultobj
;
2178 wxSize
*arg1
= (wxSize
*) 0 ;
2182 PyObject
* obj0
= 0 ;
2183 PyObject
* obj1
= 0 ;
2185 (char *) "self",(char *) "sz", NULL
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2193 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2204 resultptr
= new wxSize((wxSize
&) result
);
2205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2213 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
*resultobj
;
2215 wxSize
*arg1
= (wxSize
*) 0 ;
2218 PyObject
* obj0
= 0 ;
2219 PyObject
* obj1
= 0 ;
2221 (char *) "self",(char *) "sz", NULL
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2229 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 (arg1
)->IncTo((wxSize
const &)*arg2
);
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2238 Py_INCREF(Py_None
); resultobj
= Py_None
;
2245 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2246 PyObject
*resultobj
;
2247 wxSize
*arg1
= (wxSize
*) 0 ;
2250 PyObject
* obj0
= 0 ;
2251 PyObject
* obj1
= 0 ;
2253 (char *) "self",(char *) "sz", NULL
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2261 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2265 (arg1
)->DecTo((wxSize
const &)*arg2
);
2267 wxPyEndAllowThreads(__tstate
);
2268 if (PyErr_Occurred()) SWIG_fail
;
2270 Py_INCREF(Py_None
); resultobj
= Py_None
;
2277 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
*resultobj
;
2279 wxSize
*arg1
= (wxSize
*) 0 ;
2282 PyObject
* obj0
= 0 ;
2283 PyObject
* obj1
= 0 ;
2284 PyObject
* obj2
= 0 ;
2286 (char *) "self",(char *) "w",(char *) "h", NULL
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2292 arg2
= (int) SWIG_AsInt(obj1
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2294 arg3
= (int) SWIG_AsInt(obj2
);
2295 if (PyErr_Occurred()) SWIG_fail
;
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 (arg1
)->Set(arg2
,arg3
);
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) SWIG_fail
;
2303 Py_INCREF(Py_None
); resultobj
= Py_None
;
2310 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
*resultobj
;
2312 wxSize
*arg1
= (wxSize
*) 0 ;
2314 PyObject
* obj0
= 0 ;
2315 PyObject
* obj1
= 0 ;
2317 (char *) "self",(char *) "w", NULL
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2323 arg2
= (int) SWIG_AsInt(obj1
);
2324 if (PyErr_Occurred()) SWIG_fail
;
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2327 (arg1
)->SetWidth(arg2
);
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) SWIG_fail
;
2332 Py_INCREF(Py_None
); resultobj
= Py_None
;
2339 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
*resultobj
;
2341 wxSize
*arg1
= (wxSize
*) 0 ;
2343 PyObject
* obj0
= 0 ;
2344 PyObject
* obj1
= 0 ;
2346 (char *) "self",(char *) "h", NULL
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2352 arg2
= (int) SWIG_AsInt(obj1
);
2353 if (PyErr_Occurred()) SWIG_fail
;
2355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 (arg1
)->SetHeight(arg2
);
2358 wxPyEndAllowThreads(__tstate
);
2359 if (PyErr_Occurred()) SWIG_fail
;
2361 Py_INCREF(Py_None
); resultobj
= Py_None
;
2368 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
*resultobj
;
2370 wxSize
*arg1
= (wxSize
*) 0 ;
2372 PyObject
* obj0
= 0 ;
2374 (char *) "self", NULL
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) SWIG_fail
;
2387 resultobj
= SWIG_FromInt((int)result
);
2394 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2395 PyObject
*resultobj
;
2396 wxSize
*arg1
= (wxSize
*) 0 ;
2398 PyObject
* obj0
= 0 ;
2400 (char *) "self", NULL
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) SWIG_fail
;
2413 resultobj
= SWIG_FromInt((int)result
);
2420 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
*resultobj
;
2422 wxSize
*arg1
= (wxSize
*) 0 ;
2424 PyObject
* obj0
= 0 ;
2426 (char *) "self", NULL
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2434 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2448 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2449 PyObject
*resultobj
;
2450 wxSize
*arg1
= (wxSize
*) 0 ;
2453 PyObject
* obj0
= 0 ;
2454 PyObject
* obj1
= 0 ;
2456 (char *) "self",(char *) "size", NULL
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2464 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2468 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2470 wxPyEndAllowThreads(__tstate
);
2471 if (PyErr_Occurred()) SWIG_fail
;
2473 Py_INCREF(Py_None
); resultobj
= Py_None
;
2480 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
*resultobj
;
2482 wxSize
*arg1
= (wxSize
*) 0 ;
2484 PyObject
* obj0
= 0 ;
2486 (char *) "self", NULL
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 result
= (PyObject
*)wxSize_Get(arg1
);
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) SWIG_fail
;
2506 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2509 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2511 return Py_BuildValue((char *)"");
2513 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
*resultobj
;
2515 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2517 PyObject
* obj0
= 0 ;
2518 PyObject
* obj1
= 0 ;
2520 (char *) "self",(char *) "x", NULL
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2526 arg2
= (double) SWIG_AsDouble(obj1
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2528 if (arg1
) (arg1
)->x
= arg2
;
2530 Py_INCREF(Py_None
); resultobj
= Py_None
;
2537 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
*resultobj
;
2539 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2541 PyObject
* obj0
= 0 ;
2543 (char *) "self", NULL
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2549 result
= (double) ((arg1
)->x
);
2551 resultobj
= SWIG_FromDouble((double)result
);
2558 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2559 PyObject
*resultobj
;
2560 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2562 PyObject
* obj0
= 0 ;
2563 PyObject
* obj1
= 0 ;
2565 (char *) "self",(char *) "y", NULL
2568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2571 arg2
= (double) SWIG_AsDouble(obj1
);
2572 if (PyErr_Occurred()) SWIG_fail
;
2573 if (arg1
) (arg1
)->y
= arg2
;
2575 Py_INCREF(Py_None
); resultobj
= Py_None
;
2582 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
*resultobj
;
2584 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2586 PyObject
* obj0
= 0 ;
2588 (char *) "self", NULL
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2594 result
= (double) ((arg1
)->y
);
2596 resultobj
= SWIG_FromDouble((double)result
);
2603 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
*resultobj
;
2605 double arg1
= (double) 0.0 ;
2606 double arg2
= (double) 0.0 ;
2607 wxRealPoint
*result
;
2608 PyObject
* obj0
= 0 ;
2609 PyObject
* obj1
= 0 ;
2611 (char *) "x",(char *) "y", NULL
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2616 arg1
= (double) SWIG_AsDouble(obj0
);
2617 if (PyErr_Occurred()) SWIG_fail
;
2620 arg2
= (double) SWIG_AsDouble(obj1
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) SWIG_fail
;
2630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2637 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2639 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2640 PyObject
* obj0
= 0 ;
2642 (char *) "self", NULL
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2655 Py_INCREF(Py_None
); resultobj
= Py_None
;
2662 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
*resultobj
;
2664 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2665 wxRealPoint
*arg2
= 0 ;
2668 PyObject
* obj0
= 0 ;
2669 PyObject
* obj1
= 0 ;
2671 (char *) "self",(char *) "pt", NULL
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2679 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2683 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2685 wxPyEndAllowThreads(__tstate
);
2686 if (PyErr_Occurred()) SWIG_fail
;
2689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2697 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
*resultobj
;
2699 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2700 wxRealPoint
*arg2
= 0 ;
2703 PyObject
* obj0
= 0 ;
2704 PyObject
* obj1
= 0 ;
2706 (char *) "self",(char *) "pt", NULL
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2714 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2732 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
*resultobj
;
2734 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2735 wxRealPoint
*arg2
= 0 ;
2738 PyObject
* obj0
= 0 ;
2739 PyObject
* obj1
= 0 ;
2741 (char *) "self",(char *) "pt", NULL
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2749 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2759 wxRealPoint
* resultptr
;
2760 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2769 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
*resultobj
;
2771 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2772 wxRealPoint
*arg2
= 0 ;
2775 PyObject
* obj0
= 0 ;
2776 PyObject
* obj1
= 0 ;
2778 (char *) "self",(char *) "pt", NULL
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2786 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2792 wxPyEndAllowThreads(__tstate
);
2793 if (PyErr_Occurred()) SWIG_fail
;
2796 wxRealPoint
* resultptr
;
2797 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2806 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
*resultobj
;
2808 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2811 PyObject
* obj0
= 0 ;
2812 PyObject
* obj1
= 0 ;
2813 PyObject
* obj2
= 0 ;
2815 (char *) "self",(char *) "x",(char *) "y", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2821 arg2
= (double) SWIG_AsDouble(obj1
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2823 arg3
= (double) SWIG_AsDouble(obj2
);
2824 if (PyErr_Occurred()) SWIG_fail
;
2826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2827 wxRealPoint_Set(arg1
,arg2
,arg3
);
2829 wxPyEndAllowThreads(__tstate
);
2830 if (PyErr_Occurred()) SWIG_fail
;
2832 Py_INCREF(Py_None
); resultobj
= Py_None
;
2839 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
*resultobj
;
2841 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2843 PyObject
* obj0
= 0 ;
2845 (char *) "self", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) SWIG_fail
;
2865 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2868 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2870 return Py_BuildValue((char *)"");
2872 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
*resultobj
;
2874 wxPoint
*arg1
= (wxPoint
*) 0 ;
2876 PyObject
* obj0
= 0 ;
2877 PyObject
* obj1
= 0 ;
2879 (char *) "self",(char *) "x", NULL
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2885 arg2
= (int) SWIG_AsInt(obj1
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2887 if (arg1
) (arg1
)->x
= arg2
;
2889 Py_INCREF(Py_None
); resultobj
= Py_None
;
2896 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
;
2898 wxPoint
*arg1
= (wxPoint
*) 0 ;
2900 PyObject
* obj0
= 0 ;
2902 (char *) "self", NULL
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2908 result
= (int) ((arg1
)->x
);
2910 resultobj
= SWIG_FromInt((int)result
);
2917 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
*resultobj
;
2919 wxPoint
*arg1
= (wxPoint
*) 0 ;
2921 PyObject
* obj0
= 0 ;
2922 PyObject
* obj1
= 0 ;
2924 (char *) "self",(char *) "y", NULL
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2930 arg2
= (int) SWIG_AsInt(obj1
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2932 if (arg1
) (arg1
)->y
= arg2
;
2934 Py_INCREF(Py_None
); resultobj
= Py_None
;
2941 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2943 wxPoint
*arg1
= (wxPoint
*) 0 ;
2945 PyObject
* obj0
= 0 ;
2947 (char *) "self", NULL
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2953 result
= (int) ((arg1
)->y
);
2955 resultobj
= SWIG_FromInt((int)result
);
2962 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
*resultobj
;
2964 int arg1
= (int) 0 ;
2965 int arg2
= (int) 0 ;
2967 PyObject
* obj0
= 0 ;
2968 PyObject
* obj1
= 0 ;
2970 (char *) "x",(char *) "y", NULL
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2975 arg1
= (int) SWIG_AsInt(obj0
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2979 arg2
= (int) SWIG_AsInt(obj1
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2984 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2986 wxPyEndAllowThreads(__tstate
);
2987 if (PyErr_Occurred()) SWIG_fail
;
2989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2996 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
*resultobj
;
2998 wxPoint
*arg1
= (wxPoint
*) 0 ;
2999 PyObject
* obj0
= 0 ;
3001 (char *) "self", NULL
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 wxPyEndAllowThreads(__tstate
);
3012 if (PyErr_Occurred()) SWIG_fail
;
3014 Py_INCREF(Py_None
); resultobj
= Py_None
;
3021 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
*resultobj
;
3023 wxPoint
*arg1
= (wxPoint
*) 0 ;
3027 PyObject
* obj0
= 0 ;
3028 PyObject
* obj1
= 0 ;
3030 (char *) "self",(char *) "pt", NULL
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3038 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) SWIG_fail
;
3048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3056 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
*resultobj
;
3058 wxPoint
*arg1
= (wxPoint
*) 0 ;
3062 PyObject
* obj0
= 0 ;
3063 PyObject
* obj1
= 0 ;
3065 (char *) "self",(char *) "pt", NULL
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3073 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3077 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3079 wxPyEndAllowThreads(__tstate
);
3080 if (PyErr_Occurred()) SWIG_fail
;
3083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3091 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
*resultobj
;
3093 wxPoint
*arg1
= (wxPoint
*) 0 ;
3097 PyObject
* obj0
= 0 ;
3098 PyObject
* obj1
= 0 ;
3100 (char *) "self",(char *) "pt", NULL
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3108 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3118 wxPoint
* resultptr
;
3119 resultptr
= new wxPoint((wxPoint
&) result
);
3120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3128 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
*resultobj
;
3130 wxPoint
*arg1
= (wxPoint
*) 0 ;
3134 PyObject
* obj0
= 0 ;
3135 PyObject
* obj1
= 0 ;
3137 (char *) "self",(char *) "pt", NULL
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3145 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3155 wxPoint
* resultptr
;
3156 resultptr
= new wxPoint((wxPoint
&) result
);
3157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3165 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
*resultobj
;
3167 wxPoint
*arg1
= (wxPoint
*) 0 ;
3171 PyObject
* obj0
= 0 ;
3172 PyObject
* obj1
= 0 ;
3174 (char *) "self",(char *) "pt", NULL
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3182 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3188 result
= (wxPoint
*) &_result_ref
;
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3201 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
*resultobj
;
3203 wxPoint
*arg1
= (wxPoint
*) 0 ;
3207 PyObject
* obj0
= 0 ;
3208 PyObject
* obj1
= 0 ;
3210 (char *) "self",(char *) "pt", NULL
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3218 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3224 result
= (wxPoint
*) &_result_ref
;
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3237 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 wxPoint
*arg1
= (wxPoint
*) 0 ;
3242 PyObject
* obj0
= 0 ;
3243 PyObject
* obj1
= 0 ;
3244 PyObject
* obj2
= 0 ;
3246 (char *) "self",(char *) "x",(char *) "y", NULL
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3252 arg2
= (long) SWIG_AsLong(obj1
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3254 arg3
= (long) SWIG_AsLong(obj2
);
3255 if (PyErr_Occurred()) SWIG_fail
;
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 wxPoint_Set(arg1
,arg2
,arg3
);
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3263 Py_INCREF(Py_None
); resultobj
= Py_None
;
3270 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
*resultobj
;
3272 wxPoint
*arg1
= (wxPoint
*) 0 ;
3274 PyObject
* obj0
= 0 ;
3276 (char *) "self", NULL
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 result
= (PyObject
*)wxPoint_Get(arg1
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3296 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3299 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3301 return Py_BuildValue((char *)"");
3303 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
;
3305 int arg1
= (int) 0 ;
3306 int arg2
= (int) 0 ;
3307 int arg3
= (int) 0 ;
3308 int arg4
= (int) 0 ;
3310 PyObject
* obj0
= 0 ;
3311 PyObject
* obj1
= 0 ;
3312 PyObject
* obj2
= 0 ;
3313 PyObject
* obj3
= 0 ;
3315 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3320 arg1
= (int) SWIG_AsInt(obj0
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3324 arg2
= (int) SWIG_AsInt(obj1
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3328 arg3
= (int) SWIG_AsInt(obj2
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3332 arg4
= (int) SWIG_AsInt(obj3
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3349 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
;
3356 PyObject
* obj0
= 0 ;
3357 PyObject
* obj1
= 0 ;
3359 (char *) "topLeft",(char *) "bottomRight", NULL
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3365 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3369 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3385 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
*resultobj
;
3392 PyObject
* obj0
= 0 ;
3393 PyObject
* obj1
= 0 ;
3395 (char *) "pos",(char *) "size", NULL
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3401 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3405 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3409 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3411 wxPyEndAllowThreads(__tstate
);
3412 if (PyErr_Occurred()) SWIG_fail
;
3414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3421 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
*resultobj
;
3423 wxRect
*arg1
= (wxRect
*) 0 ;
3424 PyObject
* obj0
= 0 ;
3426 (char *) "self", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 Py_INCREF(Py_None
); resultobj
= Py_None
;
3446 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
;
3448 wxRect
*arg1
= (wxRect
*) 0 ;
3450 PyObject
* obj0
= 0 ;
3452 (char *) "self", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 result
= (int)((wxRect
const *)arg1
)->GetX();
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3465 resultobj
= SWIG_FromInt((int)result
);
3472 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxRect
*arg1
= (wxRect
*) 0 ;
3476 PyObject
* obj0
= 0 ;
3477 PyObject
* obj1
= 0 ;
3479 (char *) "self",(char *) "x", NULL
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3485 arg2
= (int) SWIG_AsInt(obj1
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 Py_INCREF(Py_None
); resultobj
= Py_None
;
3501 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
;
3503 wxRect
*arg1
= (wxRect
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3507 (char *) "self", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3515 result
= (int)(arg1
)->GetY();
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3520 resultobj
= SWIG_FromInt((int)result
);
3527 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
*resultobj
;
3529 wxRect
*arg1
= (wxRect
*) 0 ;
3531 PyObject
* obj0
= 0 ;
3532 PyObject
* obj1
= 0 ;
3534 (char *) "self",(char *) "y", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3540 arg2
= (int) SWIG_AsInt(obj1
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3549 Py_INCREF(Py_None
); resultobj
= Py_None
;
3556 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxRect
*arg1
= (wxRect
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3562 (char *) "self", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3575 resultobj
= SWIG_FromInt((int)result
);
3582 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxRect
*arg1
= (wxRect
*) 0 ;
3586 PyObject
* obj0
= 0 ;
3587 PyObject
* obj1
= 0 ;
3589 (char *) "self",(char *) "w", NULL
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3595 arg2
= (int) SWIG_AsInt(obj1
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 (arg1
)->SetWidth(arg2
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3604 Py_INCREF(Py_None
); resultobj
= Py_None
;
3611 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
;
3613 wxRect
*arg1
= (wxRect
*) 0 ;
3615 PyObject
* obj0
= 0 ;
3617 (char *) "self", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3625 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3627 wxPyEndAllowThreads(__tstate
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3630 resultobj
= SWIG_FromInt((int)result
);
3637 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
*resultobj
;
3639 wxRect
*arg1
= (wxRect
*) 0 ;
3641 PyObject
* obj0
= 0 ;
3642 PyObject
* obj1
= 0 ;
3644 (char *) "self",(char *) "h", NULL
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3650 arg2
= (int) SWIG_AsInt(obj1
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 (arg1
)->SetHeight(arg2
);
3656 wxPyEndAllowThreads(__tstate
);
3657 if (PyErr_Occurred()) SWIG_fail
;
3659 Py_INCREF(Py_None
); resultobj
= Py_None
;
3666 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
*resultobj
;
3668 wxRect
*arg1
= (wxRect
*) 0 ;
3670 PyObject
* obj0
= 0 ;
3672 (char *) "self", NULL
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3680 result
= ((wxRect
const *)arg1
)->GetPosition();
3682 wxPyEndAllowThreads(__tstate
);
3683 if (PyErr_Occurred()) SWIG_fail
;
3686 wxPoint
* resultptr
;
3687 resultptr
= new wxPoint((wxPoint
&) result
);
3688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3696 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
*resultobj
;
3698 wxRect
*arg1
= (wxRect
*) 0 ;
3701 PyObject
* obj0
= 0 ;
3702 PyObject
* obj1
= 0 ;
3704 (char *) "self",(char *) "p", NULL
3707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3712 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3716 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3721 Py_INCREF(Py_None
); resultobj
= Py_None
;
3728 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
;
3730 wxRect
*arg1
= (wxRect
*) 0 ;
3732 PyObject
* obj0
= 0 ;
3734 (char *) "self", NULL
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 result
= ((wxRect
const *)arg1
)->GetSize();
3744 wxPyEndAllowThreads(__tstate
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3749 resultptr
= new wxSize((wxSize
&) result
);
3750 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3758 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
*resultobj
;
3760 wxRect
*arg1
= (wxRect
*) 0 ;
3763 PyObject
* obj0
= 0 ;
3764 PyObject
* obj1
= 0 ;
3766 (char *) "self",(char *) "s", NULL
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3774 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 (arg1
)->SetSize((wxSize
const &)*arg2
);
3780 wxPyEndAllowThreads(__tstate
);
3781 if (PyErr_Occurred()) SWIG_fail
;
3783 Py_INCREF(Py_None
); resultobj
= Py_None
;
3790 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3791 PyObject
*resultobj
;
3792 wxRect
*arg1
= (wxRect
*) 0 ;
3794 PyObject
* obj0
= 0 ;
3796 (char *) "self", NULL
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3810 wxPoint
* resultptr
;
3811 resultptr
= new wxPoint((wxPoint
&) result
);
3812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3820 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
;
3822 wxRect
*arg1
= (wxRect
*) 0 ;
3825 PyObject
* obj0
= 0 ;
3826 PyObject
* obj1
= 0 ;
3828 (char *) "self",(char *) "p", NULL
3831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3836 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3845 Py_INCREF(Py_None
); resultobj
= Py_None
;
3852 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3854 wxRect
*arg1
= (wxRect
*) 0 ;
3856 PyObject
* obj0
= 0 ;
3858 (char *) "self", NULL
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3872 wxPoint
* resultptr
;
3873 resultptr
= new wxPoint((wxPoint
&) result
);
3874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3882 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
;
3884 wxRect
*arg1
= (wxRect
*) 0 ;
3887 PyObject
* obj0
= 0 ;
3888 PyObject
* obj1
= 0 ;
3890 (char *) "self",(char *) "p", NULL
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3898 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 Py_INCREF(Py_None
); resultobj
= Py_None
;
3914 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxRect
*arg1
= (wxRect
*) 0 ;
3918 PyObject
* obj0
= 0 ;
3920 (char *) "self", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3933 resultobj
= SWIG_FromInt((int)result
);
3940 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxRect
*arg1
= (wxRect
*) 0 ;
3944 PyObject
* obj0
= 0 ;
3946 (char *) "self", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 result
= (int)((wxRect
const *)arg1
)->GetTop();
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 resultobj
= SWIG_FromInt((int)result
);
3966 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxRect
*arg1
= (wxRect
*) 0 ;
3970 PyObject
* obj0
= 0 ;
3972 (char *) "self", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 resultobj
= SWIG_FromInt((int)result
);
3992 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 wxRect
*arg1
= (wxRect
*) 0 ;
3996 PyObject
* obj0
= 0 ;
3998 (char *) "self", NULL
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 result
= (int)((wxRect
const *)arg1
)->GetRight();
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= SWIG_FromInt((int)result
);
4018 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
*resultobj
;
4020 wxRect
*arg1
= (wxRect
*) 0 ;
4022 PyObject
* obj0
= 0 ;
4023 PyObject
* obj1
= 0 ;
4025 (char *) "self",(char *) "left", NULL
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4031 arg2
= (int) SWIG_AsInt(obj1
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 (arg1
)->SetLeft(arg2
);
4037 wxPyEndAllowThreads(__tstate
);
4038 if (PyErr_Occurred()) SWIG_fail
;
4040 Py_INCREF(Py_None
); resultobj
= Py_None
;
4047 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
;
4049 wxRect
*arg1
= (wxRect
*) 0 ;
4051 PyObject
* obj0
= 0 ;
4052 PyObject
* obj1
= 0 ;
4054 (char *) "self",(char *) "right", NULL
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4060 arg2
= (int) SWIG_AsInt(obj1
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 (arg1
)->SetRight(arg2
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 Py_INCREF(Py_None
); resultobj
= Py_None
;
4076 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxRect
*arg1
= (wxRect
*) 0 ;
4080 PyObject
* obj0
= 0 ;
4081 PyObject
* obj1
= 0 ;
4083 (char *) "self",(char *) "top", NULL
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4089 arg2
= (int) SWIG_AsInt(obj1
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 (arg1
)->SetTop(arg2
);
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 Py_INCREF(Py_None
); resultobj
= Py_None
;
4105 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4107 wxRect
*arg1
= (wxRect
*) 0 ;
4109 PyObject
* obj0
= 0 ;
4110 PyObject
* obj1
= 0 ;
4112 (char *) "self",(char *) "bottom", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4118 arg2
= (int) SWIG_AsInt(obj1
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 (arg1
)->SetBottom(arg2
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4127 Py_INCREF(Py_None
); resultobj
= Py_None
;
4134 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
;
4136 wxRect
*arg1
= (wxRect
*) 0 ;
4140 PyObject
* obj0
= 0 ;
4141 PyObject
* obj1
= 0 ;
4142 PyObject
* obj2
= 0 ;
4144 (char *) "self",(char *) "dx",(char *) "dy", NULL
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4150 arg2
= (int) SWIG_AsInt(obj1
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4152 arg3
= (int) SWIG_AsInt(obj2
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4158 result
= (wxRect
*) &_result_ref
;
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4171 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
*resultobj
;
4173 wxRect
*arg1
= (wxRect
*) 0 ;
4177 PyObject
* obj0
= 0 ;
4178 PyObject
* obj1
= 0 ;
4179 PyObject
* obj2
= 0 ;
4181 (char *) "self",(char *) "dx",(char *) "dy", NULL
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4187 arg2
= (int) SWIG_AsInt(obj1
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4189 arg3
= (int) SWIG_AsInt(obj2
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4195 result
= (wxRect
*) &_result_ref
;
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4208 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 wxRect
*arg1
= (wxRect
*) 0 ;
4213 PyObject
* obj0
= 0 ;
4214 PyObject
* obj1
= 0 ;
4215 PyObject
* obj2
= 0 ;
4217 (char *) "self",(char *) "dx",(char *) "dy", NULL
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4223 arg2
= (int) SWIG_AsInt(obj1
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4225 arg3
= (int) SWIG_AsInt(obj2
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 (arg1
)->Offset(arg2
,arg3
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 Py_INCREF(Py_None
); resultobj
= Py_None
;
4241 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 wxRect
*arg1
= (wxRect
*) 0 ;
4246 PyObject
* obj0
= 0 ;
4247 PyObject
* obj1
= 0 ;
4249 (char *) "self",(char *) "pt", NULL
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4257 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 (arg1
)->Offset((wxPoint
const &)*arg2
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4266 Py_INCREF(Py_None
); resultobj
= Py_None
;
4273 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
;
4275 wxRect
*arg1
= (wxRect
*) 0 ;
4279 PyObject
* obj0
= 0 ;
4280 PyObject
* obj1
= 0 ;
4282 (char *) "self",(char *) "rect", NULL
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4290 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4296 result
= (wxRect
*) &_result_ref
;
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4309 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4311 wxRect
*arg1
= (wxRect
*) 0 ;
4315 PyObject
* obj0
= 0 ;
4316 PyObject
* obj1
= 0 ;
4318 (char *) "self",(char *) "rect", NULL
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4326 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4337 resultptr
= new wxRect((wxRect
&) result
);
4338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4346 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
;
4348 wxRect
*arg1
= (wxRect
*) 0 ;
4352 PyObject
* obj0
= 0 ;
4353 PyObject
* obj1
= 0 ;
4355 (char *) "self",(char *) "rect", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4363 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4368 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4369 result
= (wxRect
*) &_result_ref
;
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4382 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
;
4384 wxRect
*arg1
= (wxRect
*) 0 ;
4388 PyObject
* obj0
= 0 ;
4389 PyObject
* obj1
= 0 ;
4391 (char *) "self",(char *) "rect", NULL
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4399 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4417 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 wxRect
*arg1
= (wxRect
*) 0 ;
4423 PyObject
* obj0
= 0 ;
4424 PyObject
* obj1
= 0 ;
4426 (char *) "self",(char *) "rect", NULL
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4434 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4452 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxRect
*arg1
= (wxRect
*) 0 ;
4458 PyObject
* obj0
= 0 ;
4459 PyObject
* obj1
= 0 ;
4460 PyObject
* obj2
= 0 ;
4462 (char *) "self",(char *) "x",(char *) "y", NULL
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4468 arg2
= (int) SWIG_AsInt(obj1
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4470 arg3
= (int) SWIG_AsInt(obj2
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4488 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxRect
*arg1
= (wxRect
*) 0 ;
4494 PyObject
* obj0
= 0 ;
4495 PyObject
* obj1
= 0 ;
4497 (char *) "self",(char *) "pt", NULL
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4505 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4523 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
;
4525 wxRect
*arg1
= (wxRect
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4530 PyObject
* obj1
= 0 ;
4532 (char *) "self",(char *) "rect", NULL
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4540 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4558 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 wxRect
*arg1
= (wxRect
*) 0 ;
4562 PyObject
* obj0
= 0 ;
4563 PyObject
* obj1
= 0 ;
4565 (char *) "self",(char *) "x", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4571 arg2
= (int) SWIG_AsInt(obj1
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4573 if (arg1
) (arg1
)->x
= arg2
;
4575 Py_INCREF(Py_None
); resultobj
= Py_None
;
4582 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
*resultobj
;
4584 wxRect
*arg1
= (wxRect
*) 0 ;
4586 PyObject
* obj0
= 0 ;
4588 (char *) "self", NULL
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4594 result
= (int) ((arg1
)->x
);
4596 resultobj
= SWIG_FromInt((int)result
);
4603 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxRect
*arg1
= (wxRect
*) 0 ;
4607 PyObject
* obj0
= 0 ;
4608 PyObject
* obj1
= 0 ;
4610 (char *) "self",(char *) "y", NULL
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4616 arg2
= (int) SWIG_AsInt(obj1
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4618 if (arg1
) (arg1
)->y
= arg2
;
4620 Py_INCREF(Py_None
); resultobj
= Py_None
;
4627 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
*resultobj
;
4629 wxRect
*arg1
= (wxRect
*) 0 ;
4631 PyObject
* obj0
= 0 ;
4633 (char *) "self", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4639 result
= (int) ((arg1
)->y
);
4641 resultobj
= SWIG_FromInt((int)result
);
4648 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
;
4650 wxRect
*arg1
= (wxRect
*) 0 ;
4652 PyObject
* obj0
= 0 ;
4653 PyObject
* obj1
= 0 ;
4655 (char *) "self",(char *) "width", NULL
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4661 arg2
= (int) SWIG_AsInt(obj1
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4663 if (arg1
) (arg1
)->width
= arg2
;
4665 Py_INCREF(Py_None
); resultobj
= Py_None
;
4672 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
*resultobj
;
4674 wxRect
*arg1
= (wxRect
*) 0 ;
4676 PyObject
* obj0
= 0 ;
4678 (char *) "self", NULL
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4684 result
= (int) ((arg1
)->width
);
4686 resultobj
= SWIG_FromInt((int)result
);
4693 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
;
4695 wxRect
*arg1
= (wxRect
*) 0 ;
4697 PyObject
* obj0
= 0 ;
4698 PyObject
* obj1
= 0 ;
4700 (char *) "self",(char *) "height", NULL
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4706 arg2
= (int) SWIG_AsInt(obj1
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4708 if (arg1
) (arg1
)->height
= arg2
;
4710 Py_INCREF(Py_None
); resultobj
= Py_None
;
4717 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
*resultobj
;
4719 wxRect
*arg1
= (wxRect
*) 0 ;
4721 PyObject
* obj0
= 0 ;
4723 (char *) "self", NULL
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4729 result
= (int) ((arg1
)->height
);
4731 resultobj
= SWIG_FromInt((int)result
);
4738 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4740 wxRect
*arg1
= (wxRect
*) 0 ;
4741 int arg2
= (int) 0 ;
4742 int arg3
= (int) 0 ;
4743 int arg4
= (int) 0 ;
4744 int arg5
= (int) 0 ;
4745 PyObject
* obj0
= 0 ;
4746 PyObject
* obj1
= 0 ;
4747 PyObject
* obj2
= 0 ;
4748 PyObject
* obj3
= 0 ;
4749 PyObject
* obj4
= 0 ;
4751 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4758 arg2
= (int) SWIG_AsInt(obj1
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4762 arg3
= (int) SWIG_AsInt(obj2
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4766 arg4
= (int) SWIG_AsInt(obj3
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4770 arg5
= (int) SWIG_AsInt(obj4
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 Py_INCREF(Py_None
); resultobj
= Py_None
;
4787 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxRect
*arg1
= (wxRect
*) 0 ;
4791 PyObject
* obj0
= 0 ;
4793 (char *) "self", NULL
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 result
= (PyObject
*)wxRect_Get(arg1
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4813 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4816 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4818 return Py_BuildValue((char *)"");
4820 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
*resultobj
;
4822 wxRect
*arg1
= (wxRect
*) 0 ;
4823 wxRect
*arg2
= (wxRect
*) 0 ;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4828 (char *) "r1",(char *) "r2", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4837 if (!wxPyCheckForApp()) SWIG_fail
;
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4851 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
*resultobj
;
4853 double arg1
= (double) 0.0 ;
4854 double arg2
= (double) 0.0 ;
4856 PyObject
* obj0
= 0 ;
4857 PyObject
* obj1
= 0 ;
4859 (char *) "x",(char *) "y", NULL
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4864 arg1
= (double) SWIG_AsDouble(obj0
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4868 arg2
= (double) SWIG_AsDouble(obj1
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4885 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxPoint2D
*arg1
= 0 ;
4890 PyObject
* obj0
= 0 ;
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4898 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4914 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
;
4919 PyObject
* obj0
= 0 ;
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4927 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4943 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
*resultobj
;
4945 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4946 int *arg2
= (int *) 0 ;
4947 int *arg3
= (int *) 0 ;
4950 PyObject
* obj0
= 0 ;
4952 (char *) "self", NULL
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4967 Py_INCREF(Py_None
); resultobj
= Py_None
;
4969 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4970 resultobj
= t_output_helper(resultobj
,o
);
4973 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4974 resultobj
= t_output_helper(resultobj
,o
);
4982 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4985 int *arg2
= (int *) 0 ;
4986 int *arg3
= (int *) 0 ;
4989 PyObject
* obj0
= 0 ;
4991 (char *) "self", NULL
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 Py_INCREF(Py_None
); resultobj
= Py_None
;
5008 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
5009 resultobj
= t_output_helper(resultobj
,o
);
5012 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5013 resultobj
= t_output_helper(resultobj
,o
);
5021 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5025 PyObject
* obj0
= 0 ;
5027 (char *) "self", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5040 resultobj
= SWIG_FromDouble((double)result
);
5047 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5051 PyObject
* obj0
= 0 ;
5053 (char *) "self", NULL
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 resultobj
= SWIG_FromDouble((double)result
);
5073 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
;
5075 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5077 PyObject
* obj0
= 0 ;
5078 PyObject
* obj1
= 0 ;
5080 (char *) "self",(char *) "length", NULL
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5086 arg2
= (double) SWIG_AsDouble(obj1
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 (arg1
)->SetVectorLength(arg2
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 Py_INCREF(Py_None
); resultobj
= Py_None
;
5102 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
*resultobj
;
5104 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5106 PyObject
* obj0
= 0 ;
5107 PyObject
* obj1
= 0 ;
5109 (char *) "self",(char *) "degrees", NULL
5112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5115 arg2
= (double) SWIG_AsDouble(obj1
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 (arg1
)->SetVectorAngle(arg2
);
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5124 Py_INCREF(Py_None
); resultobj
= Py_None
;
5131 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
;
5133 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5134 wxPoint2D
*arg2
= 0 ;
5137 PyObject
* obj0
= 0 ;
5138 PyObject
* obj1
= 0 ;
5140 (char *) "self",(char *) "pt", NULL
5143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5148 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 resultobj
= SWIG_FromDouble((double)result
);
5164 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
;
5166 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5167 wxPoint2D
*arg2
= 0 ;
5170 PyObject
* obj0
= 0 ;
5171 PyObject
* obj1
= 0 ;
5173 (char *) "self",(char *) "pt", NULL
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5181 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 resultobj
= SWIG_FromDouble((double)result
);
5197 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5200 wxPoint2D
*arg2
= 0 ;
5203 PyObject
* obj0
= 0 ;
5204 PyObject
* obj1
= 0 ;
5206 (char *) "self",(char *) "vec", NULL
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5214 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 resultobj
= SWIG_FromDouble((double)result
);
5230 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5233 wxPoint2D
*arg2
= 0 ;
5236 PyObject
* obj0
= 0 ;
5237 PyObject
* obj1
= 0 ;
5239 (char *) "self",(char *) "vec", NULL
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5247 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 resultobj
= SWIG_FromDouble((double)result
);
5263 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
;
5265 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5267 PyObject
* obj0
= 0 ;
5269 (char *) "self", NULL
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 result
= (arg1
)->operator -();
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5283 wxPoint2D
* resultptr
;
5284 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5293 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
;
5295 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5296 wxPoint2D
*arg2
= 0 ;
5299 PyObject
* obj0
= 0 ;
5300 PyObject
* obj1
= 0 ;
5302 (char *) "self",(char *) "pt", NULL
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5310 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5316 result
= (wxPoint2D
*) &_result_ref
;
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5329 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
;
5331 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5332 wxPoint2D
*arg2
= 0 ;
5335 PyObject
* obj0
= 0 ;
5336 PyObject
* obj1
= 0 ;
5338 (char *) "self",(char *) "pt", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5352 result
= (wxPoint2D
*) &_result_ref
;
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5365 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5368 wxPoint2D
*arg2
= 0 ;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5374 (char *) "self",(char *) "pt", NULL
5377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5382 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5388 result
= (wxPoint2D
*) &_result_ref
;
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5401 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
*resultobj
;
5403 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5404 wxPoint2D
*arg2
= 0 ;
5407 PyObject
* obj0
= 0 ;
5408 PyObject
* obj1
= 0 ;
5410 (char *) "self",(char *) "pt", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5418 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5424 result
= (wxPoint2D
*) &_result_ref
;
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5437 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
*resultobj
;
5439 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5440 wxPoint2D
*arg2
= 0 ;
5443 PyObject
* obj0
= 0 ;
5444 PyObject
* obj1
= 0 ;
5446 (char *) "self",(char *) "pt", NULL
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5454 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5472 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
;
5474 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5475 wxPoint2D
*arg2
= 0 ;
5478 PyObject
* obj0
= 0 ;
5479 PyObject
* obj1
= 0 ;
5481 (char *) "self",(char *) "pt", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5489 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5507 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
;
5509 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5511 PyObject
* obj0
= 0 ;
5512 PyObject
* obj1
= 0 ;
5514 (char *) "self",(char *) "m_x", NULL
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5520 arg2
= (double) SWIG_AsDouble(obj1
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5522 if (arg1
) (arg1
)->m_x
= arg2
;
5524 Py_INCREF(Py_None
); resultobj
= Py_None
;
5531 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5535 PyObject
* obj0
= 0 ;
5537 (char *) "self", NULL
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5543 result
= (double) ((arg1
)->m_x
);
5545 resultobj
= SWIG_FromDouble((double)result
);
5552 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
*resultobj
;
5554 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5556 PyObject
* obj0
= 0 ;
5557 PyObject
* obj1
= 0 ;
5559 (char *) "self",(char *) "m_y", NULL
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5565 arg2
= (double) SWIG_AsDouble(obj1
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5567 if (arg1
) (arg1
)->m_y
= arg2
;
5569 Py_INCREF(Py_None
); resultobj
= Py_None
;
5576 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
*resultobj
;
5578 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5580 PyObject
* obj0
= 0 ;
5582 (char *) "self", NULL
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5588 result
= (double) ((arg1
)->m_y
);
5590 resultobj
= SWIG_FromDouble((double)result
);
5597 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5600 double arg2
= (double) 0 ;
5601 double arg3
= (double) 0 ;
5602 PyObject
* obj0
= 0 ;
5603 PyObject
* obj1
= 0 ;
5604 PyObject
* obj2
= 0 ;
5606 (char *) "self",(char *) "x",(char *) "y", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5613 arg2
= (double) SWIG_AsDouble(obj1
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5617 arg3
= (double) SWIG_AsDouble(obj2
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 wxPoint2D_Set(arg1
,arg2
,arg3
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5627 Py_INCREF(Py_None
); resultobj
= Py_None
;
5634 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
;
5636 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5640 (char *) "self", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5660 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5663 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5665 return Py_BuildValue((char *)"");
5667 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5668 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5673 static PyObject
*_wrap_DefaultPosition_get() {
5676 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5681 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5682 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5687 static PyObject
*_wrap_DefaultSize_get() {
5690 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5695 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
;
5697 PyObject
*arg1
= (PyObject
*) 0 ;
5698 wxPyInputStream
*result
;
5699 PyObject
* obj0
= 0 ;
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5710 wxPyEndAllowThreads(__tstate
);
5711 if (PyErr_Occurred()) SWIG_fail
;
5713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5720 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
;
5722 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5723 PyObject
* obj0
= 0 ;
5725 (char *) "self", NULL
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 Py_INCREF(Py_None
); resultobj
= Py_None
;
5745 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5748 PyObject
* obj0
= 0 ;
5750 (char *) "self", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 Py_INCREF(Py_None
); resultobj
= Py_None
;
5770 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
;
5772 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5774 PyObject
* obj0
= 0 ;
5776 (char *) "self", NULL
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= (bool)(arg1
)->eof();
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5798 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
*resultobj
;
5800 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5801 int arg2
= (int) -1 ;
5803 PyObject
* obj0
= 0 ;
5804 PyObject
* obj1
= 0 ;
5806 (char *) "self",(char *) "size", NULL
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5813 arg2
= (int) SWIG_AsInt(obj1
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 result
= (PyObject
*)(arg1
)->read(arg2
);
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5830 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
*resultobj
;
5832 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5833 int arg2
= (int) -1 ;
5835 PyObject
* obj0
= 0 ;
5836 PyObject
* obj1
= 0 ;
5838 (char *) "self",(char *) "size", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5845 arg2
= (int) SWIG_AsInt(obj1
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 result
= (PyObject
*)(arg1
)->readline(arg2
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5862 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
;
5864 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5865 int arg2
= (int) -1 ;
5867 PyObject
* obj0
= 0 ;
5868 PyObject
* obj1
= 0 ;
5870 (char *) "self",(char *) "sizehint", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5877 arg2
= (int) SWIG_AsInt(obj1
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5894 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
;
5896 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5898 int arg3
= (int) 0 ;
5899 PyObject
* obj0
= 0 ;
5900 PyObject
* obj1
= 0 ;
5901 PyObject
* obj2
= 0 ;
5903 (char *) "self",(char *) "offset",(char *) "whence", NULL
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5909 arg2
= (int) SWIG_AsInt(obj1
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5912 arg3
= (int) SWIG_AsInt(obj2
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 (arg1
)->seek(arg2
,arg3
);
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5922 Py_INCREF(Py_None
); resultobj
= Py_None
;
5929 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
*resultobj
;
5931 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5933 PyObject
* obj0
= 0 ;
5935 (char *) "self", NULL
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 result
= (int)(arg1
)->tell();
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5948 resultobj
= SWIG_FromInt((int)result
);
5955 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
;
5957 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5959 PyObject
* obj0
= 0 ;
5961 (char *) "self", NULL
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 result
= (char)(arg1
)->Peek();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_FromChar((char)result
);
5981 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
;
5983 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5985 PyObject
* obj0
= 0 ;
5987 (char *) "self", NULL
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 result
= (char)(arg1
)->GetC();
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 resultobj
= SWIG_FromChar((char)result
);
6007 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6011 PyObject
* obj0
= 0 ;
6013 (char *) "self", NULL
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 result
= (size_t)(arg1
)->LastRead();
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6033 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6037 PyObject
* obj0
= 0 ;
6039 (char *) "self", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= (bool)(arg1
)->CanRead();
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6061 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
*resultobj
;
6063 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6065 PyObject
* obj0
= 0 ;
6067 (char *) "self", NULL
6070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= (bool)(arg1
)->Eof();
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6089 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
*resultobj
;
6091 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6094 PyObject
* obj0
= 0 ;
6095 PyObject
* obj1
= 0 ;
6097 (char *) "self",(char *) "c", NULL
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6103 arg2
= (char) SWIG_AsChar(obj1
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 result
= (bool)(arg1
)->Ungetch(arg2
);
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6121 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
*resultobj
;
6123 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6125 int arg3
= (int) wxFromStart
;
6127 PyObject
* obj0
= 0 ;
6128 PyObject
* obj1
= 0 ;
6129 PyObject
* obj2
= 0 ;
6131 (char *) "self",(char *) "pos",(char *) "mode", NULL
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6137 arg2
= (long) SWIG_AsLong(obj1
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6140 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 resultobj
= SWIG_FromLong((long)result
);
6157 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6161 PyObject
* obj0
= 0 ;
6163 (char *) "self", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 result
= (long)(arg1
)->TellI();
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6176 resultobj
= SWIG_FromLong((long)result
);
6183 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6186 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6188 return Py_BuildValue((char *)"");
6190 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6193 PyObject
*arg2
= (PyObject
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6195 PyObject
* obj1
= 0 ;
6197 (char *) "self",(char *) "obj", NULL
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 wxOutputStream_write(arg1
,arg2
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 Py_INCREF(Py_None
); resultobj
= Py_None
;
6218 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6221 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6223 return Py_BuildValue((char *)"");
6225 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6228 wxString
*arg2
= 0 ;
6229 wxString
*arg3
= 0 ;
6230 wxString
*arg4
= 0 ;
6233 wxPyInputStream
*temp1
;
6235 bool temp2
= False
;
6236 bool temp3
= False
;
6237 bool temp4
= False
;
6239 PyObject
* obj0
= 0 ;
6240 PyObject
* obj1
= 0 ;
6241 PyObject
* obj2
= 0 ;
6242 PyObject
* obj3
= 0 ;
6243 PyObject
* obj4
= 0 ;
6245 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6250 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6251 arg1
= temp1
->m_wxis
;
6254 PyErr_Clear(); // clear the failure of the wxPyConvert above
6255 arg1
= wxPyCBInputStream_create(obj0
, False
);
6257 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6264 arg2
= wxString_in_helper(obj1
);
6265 if (arg2
== NULL
) SWIG_fail
;
6269 arg3
= wxString_in_helper(obj2
);
6270 if (arg3
== NULL
) SWIG_fail
;
6274 arg4
= wxString_in_helper(obj3
);
6275 if (arg4
== NULL
) SWIG_fail
;
6278 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6279 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6289 resultobj
= wxPyMake_wxObject(result
, 1);
6329 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6332 PyObject
* obj0
= 0 ;
6334 (char *) "self", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 Py_INCREF(Py_None
); resultobj
= Py_None
;
6354 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
;
6356 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6357 wxInputStream
*result
;
6358 PyObject
* obj0
= 0 ;
6360 (char *) "self", NULL
6363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 result
= (wxInputStream
*)(arg1
)->GetStream();
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6374 wxPyInputStream
* _ptr
= NULL
;
6377 _ptr
= new wxPyInputStream(result
);
6379 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6387 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
*resultobj
;
6389 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6393 (char *) "self", NULL
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6403 result
= (wxString
*) &_result_ref
;
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6413 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6422 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6426 PyObject
* obj0
= 0 ;
6428 (char *) "self", NULL
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 wxString
const &_result_ref
= (arg1
)->GetLocation();
6438 result
= (wxString
*) &_result_ref
;
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6446 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6448 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6457 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6459 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6461 PyObject
* obj0
= 0 ;
6463 (char *) "self", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6473 result
= (wxString
*) &_result_ref
;
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6483 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6492 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
*resultobj
;
6494 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6496 PyObject
* obj0
= 0 ;
6498 (char *) "self", NULL
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 result
= (arg1
)->GetModificationTime();
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6512 wxDateTime
* resultptr
;
6513 resultptr
= new wxDateTime((wxDateTime
&) result
);
6514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6522 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6525 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6527 return Py_BuildValue((char *)"");
6529 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6532 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6534 return Py_BuildValue((char *)"");
6536 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
;
6538 wxPyFileSystemHandler
*result
;
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6558 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
;
6560 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6561 PyObject
*arg2
= (PyObject
*) 0 ;
6562 PyObject
*arg3
= (PyObject
*) 0 ;
6563 PyObject
* obj0
= 0 ;
6564 PyObject
* obj1
= 0 ;
6565 PyObject
* obj2
= 0 ;
6567 (char *) "self",(char *) "self",(char *) "_class", NULL
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6582 Py_INCREF(Py_None
); resultobj
= Py_None
;
6589 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
*resultobj
;
6591 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6592 wxString
*arg2
= 0 ;
6594 bool temp2
= False
;
6595 PyObject
* obj0
= 0 ;
6596 PyObject
* obj1
= 0 ;
6598 (char *) "self",(char *) "location", NULL
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6605 arg2
= wxString_in_helper(obj1
);
6606 if (arg2
== NULL
) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6633 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6635 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6636 wxFileSystem
*arg2
= 0 ;
6637 wxString
*arg3
= 0 ;
6639 bool temp3
= False
;
6640 PyObject
* obj0
= 0 ;
6641 PyObject
* obj1
= 0 ;
6642 PyObject
* obj2
= 0 ;
6644 (char *) "self",(char *) "fs",(char *) "location", NULL
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6654 PyErr_SetString(PyExc_TypeError
,"null reference");
6658 arg3
= wxString_in_helper(obj2
);
6659 if (arg3
== NULL
) SWIG_fail
;
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= wxPyMake_wxObject(result
, 0);
6686 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
;
6688 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6689 wxString
*arg2
= 0 ;
6690 int arg3
= (int) 0 ;
6692 bool temp2
= False
;
6693 PyObject
* obj0
= 0 ;
6694 PyObject
* obj1
= 0 ;
6695 PyObject
* obj2
= 0 ;
6697 (char *) "self",(char *) "spec",(char *) "flags", NULL
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6704 arg2
= wxString_in_helper(obj1
);
6705 if (arg2
== NULL
) SWIG_fail
;
6709 arg3
= (int) SWIG_AsInt(obj2
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6740 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6744 PyObject
* obj0
= 0 ;
6746 (char *) "self", NULL
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 result
= (arg1
)->FindNext();
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6763 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6772 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
;
6774 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6775 wxString
*arg2
= 0 ;
6777 bool temp2
= False
;
6778 PyObject
* obj0
= 0 ;
6779 PyObject
* obj1
= 0 ;
6781 (char *) "self",(char *) "location", NULL
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6788 arg2
= wxString_in_helper(obj1
);
6789 if (arg2
== NULL
) SWIG_fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6820 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6823 wxString
*arg2
= 0 ;
6825 bool temp2
= False
;
6826 PyObject
* obj0
= 0 ;
6827 PyObject
* obj1
= 0 ;
6829 (char *) "self",(char *) "location", NULL
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6836 arg2
= wxString_in_helper(obj1
);
6837 if (arg2
== NULL
) SWIG_fail
;
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6868 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
*resultobj
;
6870 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6871 wxString
*arg2
= 0 ;
6873 bool temp2
= False
;
6874 PyObject
* obj0
= 0 ;
6875 PyObject
* obj1
= 0 ;
6877 (char *) "self",(char *) "location", NULL
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6884 arg2
= wxString_in_helper(obj1
);
6885 if (arg2
== NULL
) SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6916 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
*resultobj
;
6918 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6919 wxString
*arg2
= 0 ;
6921 bool temp2
= False
;
6922 PyObject
* obj0
= 0 ;
6923 PyObject
* obj1
= 0 ;
6925 (char *) "self",(char *) "location", NULL
6928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6932 arg2
= wxString_in_helper(obj1
);
6933 if (arg2
== NULL
) SWIG_fail
;
6937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6938 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6940 wxPyEndAllowThreads(__tstate
);
6941 if (PyErr_Occurred()) SWIG_fail
;
6945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6964 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
;
6966 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6967 wxString
*arg2
= 0 ;
6969 bool temp2
= False
;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6973 (char *) "self",(char *) "location", NULL
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6980 arg2
= wxString_in_helper(obj1
);
6981 if (arg2
== NULL
) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7012 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7015 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7017 return Py_BuildValue((char *)"");
7019 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
;
7021 wxFileSystem
*result
;
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (wxFileSystem
*)new wxFileSystem();
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= wxPyMake_wxObject(result
, 1);
7043 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
*resultobj
;
7045 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7048 (char *) "self", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7061 Py_INCREF(Py_None
); resultobj
= Py_None
;
7068 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
*resultobj
;
7070 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7071 wxString
*arg2
= 0 ;
7072 bool arg3
= (bool) False
;
7073 bool temp2
= False
;
7074 PyObject
* obj0
= 0 ;
7075 PyObject
* obj1
= 0 ;
7076 PyObject
* obj2
= 0 ;
7078 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7085 arg2
= wxString_in_helper(obj1
);
7086 if (arg2
== NULL
) SWIG_fail
;
7090 arg3
= (bool) SWIG_AsBool(obj2
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 Py_INCREF(Py_None
); resultobj
= Py_None
;
7115 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7117 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7119 PyObject
* obj0
= 0 ;
7121 (char *) "self", NULL
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 result
= (arg1
)->GetPath();
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7147 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
;
7149 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7150 wxString
*arg2
= 0 ;
7152 bool temp2
= False
;
7153 PyObject
* obj0
= 0 ;
7154 PyObject
* obj1
= 0 ;
7156 (char *) "self",(char *) "location", NULL
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7163 arg2
= wxString_in_helper(obj1
);
7164 if (arg2
== NULL
) SWIG_fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7175 resultobj
= wxPyMake_wxObject(result
, 0);
7191 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7193 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7194 wxString
*arg2
= 0 ;
7195 int arg3
= (int) 0 ;
7197 bool temp2
= False
;
7198 PyObject
* obj0
= 0 ;
7199 PyObject
* obj1
= 0 ;
7200 PyObject
* obj2
= 0 ;
7202 (char *) "self",(char *) "spec",(char *) "flags", NULL
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7209 arg2
= wxString_in_helper(obj1
);
7210 if (arg2
== NULL
) SWIG_fail
;
7214 arg3
= (int) SWIG_AsInt(obj2
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7245 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7247 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7249 PyObject
* obj0
= 0 ;
7251 (char *) "self", NULL
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 result
= (arg1
)->FindNext();
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7277 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
;
7279 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7282 (char *) "handler", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 wxFileSystem::AddHandler(arg1
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 Py_INCREF(Py_None
); resultobj
= Py_None
;
7302 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 wxFileSystem::CleanUpHandlers();
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 Py_INCREF(Py_None
); resultobj
= Py_None
;
7323 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
;
7325 wxString
*arg1
= 0 ;
7327 bool temp1
= False
;
7328 PyObject
* obj0
= 0 ;
7330 (char *) "filename", NULL
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7335 arg1
= wxString_in_helper(obj0
);
7336 if (arg1
== NULL
) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7367 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7370 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7372 return Py_BuildValue((char *)"");
7374 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxString
*arg1
= 0 ;
7378 bool temp1
= False
;
7379 PyObject
* obj0
= 0 ;
7381 (char *) "url", NULL
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7386 arg1
= wxString_in_helper(obj0
);
7387 if (arg1
== NULL
) SWIG_fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7418 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
*resultobj
;
7420 wxInternetFSHandler
*result
;
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7440 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7442 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7443 wxString
*arg2
= 0 ;
7445 bool temp2
= False
;
7446 PyObject
* obj0
= 0 ;
7447 PyObject
* obj1
= 0 ;
7449 (char *) "self",(char *) "location", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7456 arg2
= wxString_in_helper(obj1
);
7457 if (arg2
== NULL
) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7484 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
;
7486 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7487 wxFileSystem
*arg2
= 0 ;
7488 wxString
*arg3
= 0 ;
7490 bool temp3
= False
;
7491 PyObject
* obj0
= 0 ;
7492 PyObject
* obj1
= 0 ;
7493 PyObject
* obj2
= 0 ;
7495 (char *) "self",(char *) "fs",(char *) "location", NULL
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7505 PyErr_SetString(PyExc_TypeError
,"null reference");
7509 arg3
= wxString_in_helper(obj2
);
7510 if (arg3
== NULL
) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= wxPyMake_wxObject(result
, 0);
7537 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7540 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7542 return Py_BuildValue((char *)"");
7544 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
;
7546 wxZipFSHandler
*result
;
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7566 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7569 wxString
*arg2
= 0 ;
7571 bool temp2
= False
;
7572 PyObject
* obj0
= 0 ;
7573 PyObject
* obj1
= 0 ;
7575 (char *) "self",(char *) "location", NULL
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7582 arg2
= wxString_in_helper(obj1
);
7583 if (arg2
== NULL
) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7610 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
;
7612 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7613 wxFileSystem
*arg2
= 0 ;
7614 wxString
*arg3
= 0 ;
7616 bool temp3
= False
;
7617 PyObject
* obj0
= 0 ;
7618 PyObject
* obj1
= 0 ;
7619 PyObject
* obj2
= 0 ;
7621 (char *) "self",(char *) "fs",(char *) "location", NULL
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7631 PyErr_SetString(PyExc_TypeError
,"null reference");
7635 arg3
= wxString_in_helper(obj2
);
7636 if (arg3
== NULL
) SWIG_fail
;
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= wxPyMake_wxObject(result
, 0);
7663 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
;
7665 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7666 wxString
*arg2
= 0 ;
7667 int arg3
= (int) 0 ;
7669 bool temp2
= False
;
7670 PyObject
* obj0
= 0 ;
7671 PyObject
* obj1
= 0 ;
7672 PyObject
* obj2
= 0 ;
7674 (char *) "self",(char *) "spec",(char *) "flags", NULL
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7681 arg2
= wxString_in_helper(obj1
);
7682 if (arg2
== NULL
) SWIG_fail
;
7686 arg3
= (int) SWIG_AsInt(obj2
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7717 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
;
7719 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7721 PyObject
* obj0
= 0 ;
7723 (char *) "self", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= (arg1
)->FindNext();
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7738 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7740 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7749 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7752 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7754 return Py_BuildValue((char *)"");
7756 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
;
7758 wxString
*arg1
= 0 ;
7761 bool temp1
= False
;
7762 PyObject
* obj0
= 0 ;
7763 PyObject
* obj1
= 0 ;
7764 PyObject
* obj2
= 0 ;
7766 (char *) "filename",(char *) "image",(char *) "type", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7771 arg1
= wxString_in_helper(obj0
);
7772 if (arg1
== NULL
) SWIG_fail
;
7775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7779 PyErr_SetString(PyExc_TypeError
,"null reference");
7782 arg3
= (long) SWIG_AsLong(obj2
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 Py_INCREF(Py_None
); resultobj
= Py_None
;
7806 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxString
*arg1
= 0 ;
7809 wxBitmap
*arg2
= 0 ;
7811 bool temp1
= False
;
7812 PyObject
* obj0
= 0 ;
7813 PyObject
* obj1
= 0 ;
7814 PyObject
* obj2
= 0 ;
7816 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7821 arg1
= wxString_in_helper(obj0
);
7822 if (arg1
== NULL
) SWIG_fail
;
7825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7826 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7829 PyErr_SetString(PyExc_TypeError
,"null reference");
7832 arg3
= (long) SWIG_AsLong(obj2
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 Py_INCREF(Py_None
); resultobj
= Py_None
;
7856 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7858 wxString
*arg1
= 0 ;
7859 PyObject
*arg2
= (PyObject
*) 0 ;
7860 bool temp1
= False
;
7861 PyObject
* obj0
= 0 ;
7862 PyObject
* obj1
= 0 ;
7864 (char *) "filename",(char *) "data", NULL
7867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7869 arg1
= wxString_in_helper(obj0
);
7870 if (arg1
== NULL
) SWIG_fail
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 Py_INCREF(Py_None
); resultobj
= Py_None
;
7896 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7898 wxMemoryFSHandler
*result
;
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7918 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
;
7920 wxString
*arg1
= 0 ;
7921 bool temp1
= False
;
7922 PyObject
* obj0
= 0 ;
7924 (char *) "filename", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7929 arg1
= wxString_in_helper(obj0
);
7930 if (arg1
== NULL
) SWIG_fail
;
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7940 Py_INCREF(Py_None
); resultobj
= Py_None
;
7955 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7958 wxString
*arg2
= 0 ;
7960 bool temp2
= False
;
7961 PyObject
* obj0
= 0 ;
7962 PyObject
* obj1
= 0 ;
7964 (char *) "self",(char *) "location", NULL
7967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7971 arg2
= wxString_in_helper(obj1
);
7972 if (arg2
== NULL
) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7999 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
;
8001 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8002 wxFileSystem
*arg2
= 0 ;
8003 wxString
*arg3
= 0 ;
8005 bool temp3
= False
;
8006 PyObject
* obj0
= 0 ;
8007 PyObject
* obj1
= 0 ;
8008 PyObject
* obj2
= 0 ;
8010 (char *) "self",(char *) "fs",(char *) "location", NULL
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8020 PyErr_SetString(PyExc_TypeError
,"null reference");
8024 arg3
= wxString_in_helper(obj2
);
8025 if (arg3
== NULL
) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= wxPyMake_wxObject(result
, 0);
8052 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
;
8054 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8055 wxString
*arg2
= 0 ;
8056 int arg3
= (int) 0 ;
8058 bool temp2
= False
;
8059 PyObject
* obj0
= 0 ;
8060 PyObject
* obj1
= 0 ;
8061 PyObject
* obj2
= 0 ;
8063 (char *) "self",(char *) "spec",(char *) "flags", NULL
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8070 arg2
= wxString_in_helper(obj1
);
8071 if (arg2
== NULL
) SWIG_fail
;
8075 arg3
= (int) SWIG_AsInt(obj2
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8106 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8110 PyObject
* obj0
= 0 ;
8112 (char *) "self", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 result
= (arg1
)->FindNext();
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8138 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8141 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8143 return Py_BuildValue((char *)"");
8145 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
;
8147 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8149 PyObject
* obj0
= 0 ;
8151 (char *) "self", NULL
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 result
= (arg1
)->GetName();
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8177 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
;
8179 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8181 PyObject
* obj0
= 0 ;
8183 (char *) "self", NULL
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= (arg1
)->GetExtension();
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8209 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8213 PyObject
* obj0
= 0 ;
8215 (char *) "self", NULL
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 result
= (long)(arg1
)->GetType();
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8228 resultobj
= SWIG_FromLong((long)result
);
8235 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
;
8237 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8239 PyObject
* obj0
= 0 ;
8241 (char *) "self", NULL
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 result
= (arg1
)->GetMimeType();
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8267 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
*resultobj
;
8269 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8270 wxString
*arg2
= 0 ;
8272 bool temp2
= False
;
8273 PyObject
* obj0
= 0 ;
8274 PyObject
* obj1
= 0 ;
8276 (char *) "self",(char *) "name", NULL
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8283 arg2
= wxString_in_helper(obj1
);
8284 if (arg2
== NULL
) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8311 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8314 wxString
*arg2
= 0 ;
8315 bool temp2
= False
;
8316 PyObject
* obj0
= 0 ;
8317 PyObject
* obj1
= 0 ;
8319 (char *) "self",(char *) "name", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8326 arg2
= wxString_in_helper(obj1
);
8327 if (arg2
== NULL
) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 (arg1
)->SetName((wxString
const &)*arg2
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 Py_INCREF(Py_None
); resultobj
= Py_None
;
8352 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
;
8354 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8355 wxString
*arg2
= 0 ;
8356 bool temp2
= False
;
8357 PyObject
* obj0
= 0 ;
8358 PyObject
* obj1
= 0 ;
8360 (char *) "self",(char *) "extension", NULL
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8367 arg2
= wxString_in_helper(obj1
);
8368 if (arg2
== NULL
) SWIG_fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 (arg1
)->SetExtension((wxString
const &)*arg2
);
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 Py_INCREF(Py_None
); resultobj
= Py_None
;
8393 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
;
8395 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8397 PyObject
* obj0
= 0 ;
8398 PyObject
* obj1
= 0 ;
8400 (char *) "self",(char *) "type", NULL
8403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8406 arg2
= (long) SWIG_AsLong(obj1
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 (arg1
)->SetType(arg2
);
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8415 Py_INCREF(Py_None
); resultobj
= Py_None
;
8422 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
;
8424 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8425 wxString
*arg2
= 0 ;
8426 bool temp2
= False
;
8427 PyObject
* obj0
= 0 ;
8428 PyObject
* obj1
= 0 ;
8430 (char *) "self",(char *) "mimetype", NULL
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8437 arg2
= wxString_in_helper(obj1
);
8438 if (arg2
== NULL
) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 Py_INCREF(Py_None
); resultobj
= Py_None
;
8463 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8466 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8468 return Py_BuildValue((char *)"");
8470 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxImageHistogram
*result
;
8477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 result
= (wxImageHistogram
*)new wxImageHistogram();
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8492 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
;
8494 unsigned char arg1
;
8495 unsigned char arg2
;
8496 unsigned char arg3
;
8497 unsigned long result
;
8498 PyObject
* obj0
= 0 ;
8499 PyObject
* obj1
= 0 ;
8500 PyObject
* obj2
= 0 ;
8502 (char *) "r",(char *) "g",(char *) "b", NULL
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8506 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8508 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8510 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8516 wxPyEndAllowThreads(__tstate
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8519 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8526 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
;
8528 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8529 unsigned char *arg2
= (unsigned char *) 0 ;
8530 unsigned char *arg3
= (unsigned char *) 0 ;
8531 unsigned char *arg4
= (unsigned char *) 0 ;
8532 unsigned char arg5
= (unsigned char) 1 ;
8533 unsigned char arg6
= (unsigned char) 0 ;
8534 unsigned char arg7
= (unsigned char) 0 ;
8536 unsigned char temp2
;
8537 unsigned char temp3
;
8538 unsigned char temp4
;
8539 PyObject
* obj0
= 0 ;
8540 PyObject
* obj1
= 0 ;
8541 PyObject
* obj2
= 0 ;
8542 PyObject
* obj3
= 0 ;
8544 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8554 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8558 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8562 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8567 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8569 wxPyEndAllowThreads(__tstate
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8576 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8577 resultobj
= t_output_helper(resultobj
,o
);
8580 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8581 resultobj
= t_output_helper(resultobj
,o
);
8584 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8585 resultobj
= t_output_helper(resultobj
,o
);
8593 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8596 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8598 return Py_BuildValue((char *)"");
8600 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
;
8602 wxString
*arg1
= 0 ;
8603 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8604 int arg3
= (int) -1 ;
8606 bool temp1
= False
;
8607 PyObject
* obj0
= 0 ;
8608 PyObject
* obj1
= 0 ;
8609 PyObject
* obj2
= 0 ;
8611 (char *) "name",(char *) "type",(char *) "index", NULL
8614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8616 arg1
= wxString_in_helper(obj0
);
8617 if (arg1
== NULL
) SWIG_fail
;
8621 arg2
= (long) SWIG_AsLong(obj1
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8625 arg3
= (int) SWIG_AsInt(obj2
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8650 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
*resultobj
;
8652 wxImage
*arg1
= (wxImage
*) 0 ;
8653 PyObject
* obj0
= 0 ;
8655 (char *) "self", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8668 Py_INCREF(Py_None
); resultobj
= Py_None
;
8675 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
;
8677 wxString
*arg1
= 0 ;
8678 wxString
*arg2
= 0 ;
8679 int arg3
= (int) -1 ;
8681 bool temp1
= False
;
8682 bool temp2
= False
;
8683 PyObject
* obj0
= 0 ;
8684 PyObject
* obj1
= 0 ;
8685 PyObject
* obj2
= 0 ;
8687 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8692 arg1
= wxString_in_helper(obj0
);
8693 if (arg1
== NULL
) SWIG_fail
;
8697 arg2
= wxString_in_helper(obj1
);
8698 if (arg2
== NULL
) SWIG_fail
;
8702 arg3
= (int) SWIG_AsInt(obj2
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8735 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
*resultobj
;
8737 wxInputStream
*arg1
= 0 ;
8738 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8739 int arg3
= (int) -1 ;
8741 wxPyInputStream
*temp1
;
8743 PyObject
* obj0
= 0 ;
8744 PyObject
* obj1
= 0 ;
8745 PyObject
* obj2
= 0 ;
8747 (char *) "stream",(char *) "type",(char *) "index", NULL
8750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8752 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8753 arg1
= temp1
->m_wxis
;
8756 PyErr_Clear(); // clear the failure of the wxPyConvert above
8757 arg1
= wxPyCBInputStream_create(obj0
, False
);
8759 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8766 arg2
= (long) SWIG_AsLong(obj1
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8770 arg3
= (int) SWIG_AsInt(obj2
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8795 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
;
8797 wxInputStream
*arg1
= 0 ;
8798 wxString
*arg2
= 0 ;
8799 int arg3
= (int) -1 ;
8801 wxPyInputStream
*temp1
;
8803 bool temp2
= False
;
8804 PyObject
* obj0
= 0 ;
8805 PyObject
* obj1
= 0 ;
8806 PyObject
* obj2
= 0 ;
8808 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8813 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8814 arg1
= temp1
->m_wxis
;
8817 PyErr_Clear(); // clear the failure of the wxPyConvert above
8818 arg1
= wxPyCBInputStream_create(obj0
, False
);
8820 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8827 arg2
= wxString_in_helper(obj1
);
8828 if (arg2
== NULL
) SWIG_fail
;
8832 arg3
= (int) SWIG_AsInt(obj2
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8865 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 int arg1
= (int) 0 ;
8868 int arg2
= (int) 0 ;
8869 bool arg3
= (bool) True
;
8871 PyObject
* obj0
= 0 ;
8872 PyObject
* obj1
= 0 ;
8873 PyObject
* obj2
= 0 ;
8875 (char *) "width",(char *) "height",(char *) "clear", NULL
8878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8880 arg1
= (int) SWIG_AsInt(obj0
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8884 arg2
= (int) SWIG_AsInt(obj1
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8888 arg3
= (bool) SWIG_AsBool(obj2
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8905 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
;
8907 wxBitmap
*arg1
= 0 ;
8909 PyObject
* obj0
= 0 ;
8911 (char *) "bitmap", NULL
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8916 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8919 PyErr_SetString(PyExc_TypeError
,"null reference");
8923 if (!wxPyCheckForApp()) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8937 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
;
8941 unsigned char *arg3
= (unsigned char *) 0 ;
8943 PyObject
* obj0
= 0 ;
8944 PyObject
* obj1
= 0 ;
8945 PyObject
* obj2
= 0 ;
8947 (char *) "width",(char *) "height",(char *) "data", NULL
8950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8951 arg1
= (int) SWIG_AsInt(obj0
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8953 arg2
= (int) SWIG_AsInt(obj1
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8955 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8971 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxImage
*arg1
= (wxImage
*) 0 ;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8978 PyObject
* obj2
= 0 ;
8980 (char *) "self",(char *) "width",(char *) "height", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8986 arg2
= (int) SWIG_AsInt(obj1
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8988 arg3
= (int) SWIG_AsInt(obj2
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 (arg1
)->Create(arg2
,arg3
);
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8997 Py_INCREF(Py_None
); resultobj
= Py_None
;
9004 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
*resultobj
;
9006 wxImage
*arg1
= (wxImage
*) 0 ;
9007 PyObject
* obj0
= 0 ;
9009 (char *) "self", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9022 Py_INCREF(Py_None
); resultobj
= Py_None
;
9029 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
;
9031 wxImage
*arg1
= (wxImage
*) 0 ;
9034 SwigValueWrapper
< wxImage
> result
;
9035 PyObject
* obj0
= 0 ;
9036 PyObject
* obj1
= 0 ;
9037 PyObject
* obj2
= 0 ;
9039 (char *) "self",(char *) "width",(char *) "height", NULL
9042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9045 arg2
= (int) SWIG_AsInt(obj1
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9047 arg3
= (int) SWIG_AsInt(obj2
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 result
= (arg1
)->Scale(arg2
,arg3
);
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9057 wxImage
* resultptr
;
9058 resultptr
= new wxImage((wxImage
&) result
);
9059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9067 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
*resultobj
;
9069 wxImage
*arg1
= (wxImage
*) 0 ;
9072 SwigValueWrapper
< wxImage
> result
;
9073 PyObject
* obj0
= 0 ;
9074 PyObject
* obj1
= 0 ;
9075 PyObject
* obj2
= 0 ;
9077 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9083 arg2
= (int) SWIG_AsInt(obj1
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9085 arg3
= (int) SWIG_AsInt(obj2
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9095 wxImage
* resultptr
;
9096 resultptr
= new wxImage((wxImage
&) result
);
9097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9105 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
;
9107 wxImage
*arg1
= (wxImage
*) 0 ;
9111 PyObject
* obj0
= 0 ;
9112 PyObject
* obj1
= 0 ;
9113 PyObject
* obj2
= 0 ;
9115 (char *) "self",(char *) "width",(char *) "height", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9121 arg2
= (int) SWIG_AsInt(obj1
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9123 arg3
= (int) SWIG_AsInt(obj2
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9129 result
= (wxImage
*) &_result_ref
;
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9142 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxImage
*arg1
= (wxImage
*) 0 ;
9147 unsigned char arg4
;
9148 unsigned char arg5
;
9149 unsigned char arg6
;
9150 PyObject
* obj0
= 0 ;
9151 PyObject
* obj1
= 0 ;
9152 PyObject
* obj2
= 0 ;
9153 PyObject
* obj3
= 0 ;
9154 PyObject
* obj4
= 0 ;
9155 PyObject
* obj5
= 0 ;
9157 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9163 arg2
= (int) SWIG_AsInt(obj1
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9165 arg3
= (int) SWIG_AsInt(obj2
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9167 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9169 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9171 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 Py_INCREF(Py_None
); resultobj
= Py_None
;
9187 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
;
9189 wxImage
*arg1
= (wxImage
*) 0 ;
9192 unsigned char result
;
9193 PyObject
* obj0
= 0 ;
9194 PyObject
* obj1
= 0 ;
9195 PyObject
* obj2
= 0 ;
9197 (char *) "self",(char *) "x",(char *) "y", NULL
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9203 arg2
= (int) SWIG_AsInt(obj1
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9205 arg3
= (int) SWIG_AsInt(obj2
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9221 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxImage
*arg1
= (wxImage
*) 0 ;
9226 unsigned char result
;
9227 PyObject
* obj0
= 0 ;
9228 PyObject
* obj1
= 0 ;
9229 PyObject
* obj2
= 0 ;
9231 (char *) "self",(char *) "x",(char *) "y", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9237 arg2
= (int) SWIG_AsInt(obj1
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9239 arg3
= (int) SWIG_AsInt(obj2
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9255 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
;
9257 wxImage
*arg1
= (wxImage
*) 0 ;
9260 unsigned char result
;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9263 PyObject
* obj2
= 0 ;
9265 (char *) "self",(char *) "x",(char *) "y", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9271 arg2
= (int) SWIG_AsInt(obj1
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9273 arg3
= (int) SWIG_AsInt(obj2
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9289 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxImage
*arg1
= (wxImage
*) 0 ;
9294 unsigned char arg4
;
9295 PyObject
* obj0
= 0 ;
9296 PyObject
* obj1
= 0 ;
9297 PyObject
* obj2
= 0 ;
9298 PyObject
* obj3
= 0 ;
9300 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9306 arg2
= (int) SWIG_AsInt(obj1
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9308 arg3
= (int) SWIG_AsInt(obj2
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9310 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9319 Py_INCREF(Py_None
); resultobj
= Py_None
;
9326 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
;
9328 wxImage
*arg1
= (wxImage
*) 0 ;
9331 unsigned char result
;
9332 PyObject
* obj0
= 0 ;
9333 PyObject
* obj1
= 0 ;
9334 PyObject
* obj2
= 0 ;
9336 (char *) "self",(char *) "x",(char *) "y", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9342 arg2
= (int) SWIG_AsInt(obj1
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9344 arg3
= (int) SWIG_AsInt(obj2
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9360 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxImage
*arg1
= (wxImage
*) 0 ;
9364 PyObject
* obj0
= 0 ;
9366 (char *) "self", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (bool)(arg1
)->HasAlpha();
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9388 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxImage
*arg1
= (wxImage
*) 0 ;
9391 byte
*arg2
= (byte
*) 0 ;
9392 byte
*arg3
= (byte
*) 0 ;
9393 byte
*arg4
= (byte
*) 0 ;
9394 byte arg5
= (byte
) 0 ;
9395 byte arg6
= (byte
) 0 ;
9396 byte arg7
= (byte
) 0 ;
9401 PyObject
* obj0
= 0 ;
9402 PyObject
* obj1
= 0 ;
9403 PyObject
* obj2
= 0 ;
9404 PyObject
* obj3
= 0 ;
9406 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9416 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9420 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9424 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9438 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9439 resultobj
= t_output_helper(resultobj
,o
);
9442 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9443 resultobj
= t_output_helper(resultobj
,o
);
9446 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9447 resultobj
= t_output_helper(resultobj
,o
);
9455 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxImage
*arg1
= (wxImage
*) 0 ;
9463 PyObject
* obj0
= 0 ;
9464 PyObject
* obj1
= 0 ;
9465 PyObject
* obj2
= 0 ;
9466 PyObject
* obj3
= 0 ;
9467 PyObject
* obj4
= 0 ;
9469 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9479 PyErr_SetString(PyExc_TypeError
,"null reference");
9482 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9484 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9486 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9504 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
*resultobj
;
9506 wxString
*arg1
= 0 ;
9508 bool temp1
= False
;
9509 PyObject
* obj0
= 0 ;
9511 (char *) "name", NULL
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9516 arg1
= wxString_in_helper(obj0
);
9517 if (arg1
== NULL
) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9544 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
;
9546 wxString
*arg1
= 0 ;
9547 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9549 bool temp1
= False
;
9550 PyObject
* obj0
= 0 ;
9551 PyObject
* obj1
= 0 ;
9553 (char *) "name",(char *) "type", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9558 arg1
= wxString_in_helper(obj0
);
9559 if (arg1
== NULL
) SWIG_fail
;
9563 arg2
= (long) SWIG_AsLong(obj1
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9573 resultobj
= SWIG_FromInt((int)result
);
9588 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 wxImage
*arg1
= (wxImage
*) 0 ;
9591 wxString
*arg2
= 0 ;
9592 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9593 int arg4
= (int) -1 ;
9595 bool temp2
= False
;
9596 PyObject
* obj0
= 0 ;
9597 PyObject
* obj1
= 0 ;
9598 PyObject
* obj2
= 0 ;
9599 PyObject
* obj3
= 0 ;
9601 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 arg2
= wxString_in_helper(obj1
);
9609 if (arg2
== NULL
) SWIG_fail
;
9613 arg3
= (long) SWIG_AsLong(obj2
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9617 arg4
= (int) SWIG_AsInt(obj3
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9644 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxImage
*arg1
= (wxImage
*) 0 ;
9647 wxString
*arg2
= 0 ;
9648 wxString
*arg3
= 0 ;
9649 int arg4
= (int) -1 ;
9651 bool temp2
= False
;
9652 bool temp3
= False
;
9653 PyObject
* obj0
= 0 ;
9654 PyObject
* obj1
= 0 ;
9655 PyObject
* obj2
= 0 ;
9656 PyObject
* obj3
= 0 ;
9658 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9665 arg2
= wxString_in_helper(obj1
);
9666 if (arg2
== NULL
) SWIG_fail
;
9670 arg3
= wxString_in_helper(obj2
);
9671 if (arg3
== NULL
) SWIG_fail
;
9675 arg4
= (int) SWIG_AsInt(obj3
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9710 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
;
9712 wxImage
*arg1
= (wxImage
*) 0 ;
9713 wxString
*arg2
= 0 ;
9716 bool temp2
= False
;
9717 PyObject
* obj0
= 0 ;
9718 PyObject
* obj1
= 0 ;
9719 PyObject
* obj2
= 0 ;
9721 (char *) "self",(char *) "name",(char *) "type", NULL
9724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9728 arg2
= wxString_in_helper(obj1
);
9729 if (arg2
== NULL
) SWIG_fail
;
9732 arg3
= (int) SWIG_AsInt(obj2
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9758 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
;
9760 wxImage
*arg1
= (wxImage
*) 0 ;
9761 wxString
*arg2
= 0 ;
9762 wxString
*arg3
= 0 ;
9764 bool temp2
= False
;
9765 bool temp3
= False
;
9766 PyObject
* obj0
= 0 ;
9767 PyObject
* obj1
= 0 ;
9768 PyObject
* obj2
= 0 ;
9770 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9777 arg2
= wxString_in_helper(obj1
);
9778 if (arg2
== NULL
) SWIG_fail
;
9782 arg3
= wxString_in_helper(obj2
);
9783 if (arg3
== NULL
) SWIG_fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9818 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9820 wxInputStream
*arg1
= 0 ;
9822 wxPyInputStream
*temp1
;
9824 PyObject
* obj0
= 0 ;
9826 (char *) "stream", NULL
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9831 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9832 arg1
= temp1
->m_wxis
;
9835 PyErr_Clear(); // clear the failure of the wxPyConvert above
9836 arg1
= wxPyCBInputStream_create(obj0
, False
);
9838 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 result
= (bool)wxImage::CanRead(*arg1
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9868 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9870 wxImage
*arg1
= (wxImage
*) 0 ;
9871 wxInputStream
*arg2
= 0 ;
9872 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9873 int arg4
= (int) -1 ;
9875 wxPyInputStream
*temp2
;
9877 PyObject
* obj0
= 0 ;
9878 PyObject
* obj1
= 0 ;
9879 PyObject
* obj2
= 0 ;
9880 PyObject
* obj3
= 0 ;
9882 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9889 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9890 arg2
= temp2
->m_wxis
;
9893 PyErr_Clear(); // clear the failure of the wxPyConvert above
9894 arg2
= wxPyCBInputStream_create(obj1
, False
);
9896 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9903 arg3
= (long) SWIG_AsLong(obj2
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9907 arg4
= (int) SWIG_AsInt(obj3
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9912 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9934 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
;
9936 wxImage
*arg1
= (wxImage
*) 0 ;
9937 wxInputStream
*arg2
= 0 ;
9938 wxString
*arg3
= 0 ;
9939 int arg4
= (int) -1 ;
9941 wxPyInputStream
*temp2
;
9943 bool temp3
= False
;
9944 PyObject
* obj0
= 0 ;
9945 PyObject
* obj1
= 0 ;
9946 PyObject
* obj2
= 0 ;
9947 PyObject
* obj3
= 0 ;
9949 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9956 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9957 arg2
= temp2
->m_wxis
;
9960 PyErr_Clear(); // clear the failure of the wxPyConvert above
9961 arg2
= wxPyCBInputStream_create(obj1
, False
);
9963 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9970 arg3
= wxString_in_helper(obj2
);
9971 if (arg3
== NULL
) SWIG_fail
;
9975 arg4
= (int) SWIG_AsInt(obj3
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10010 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
;
10012 wxImage
*arg1
= (wxImage
*) 0 ;
10014 PyObject
* obj0
= 0 ;
10015 char *kwnames
[] = {
10016 (char *) "self", NULL
10019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10024 result
= (bool)(arg1
)->Ok();
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10038 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxImage
*arg1
= (wxImage
*) 0 ;
10042 PyObject
* obj0
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= (int)(arg1
)->GetWidth();
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10057 resultobj
= SWIG_FromInt((int)result
);
10064 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxImage
*arg1
= (wxImage
*) 0 ;
10068 PyObject
* obj0
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= (int)(arg1
)->GetHeight();
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= SWIG_FromInt((int)result
);
10090 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
*resultobj
;
10092 wxImage
*arg1
= (wxImage
*) 0 ;
10094 PyObject
* obj0
= 0 ;
10095 char *kwnames
[] = {
10096 (char *) "self", NULL
10099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 result
= wxImage_GetSize(arg1
);
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10110 wxSize
* resultptr
;
10111 resultptr
= new wxSize((wxSize
&) result
);
10112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10120 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
;
10122 wxImage
*arg1
= (wxImage
*) 0 ;
10124 SwigValueWrapper
< wxImage
> result
;
10126 PyObject
* obj0
= 0 ;
10127 PyObject
* obj1
= 0 ;
10128 char *kwnames
[] = {
10129 (char *) "self",(char *) "rect", NULL
10132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10137 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10147 wxImage
* resultptr
;
10148 resultptr
= new wxImage((wxImage
&) result
);
10149 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10157 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxImage
*arg1
= (wxImage
*) 0 ;
10160 SwigValueWrapper
< wxImage
> result
;
10161 PyObject
* obj0
= 0 ;
10162 char *kwnames
[] = {
10163 (char *) "self", NULL
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (arg1
)->Copy();
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10177 wxImage
* resultptr
;
10178 resultptr
= new wxImage((wxImage
&) result
);
10179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10187 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxImage
*arg1
= (wxImage
*) 0 ;
10190 wxImage
*arg2
= 0 ;
10193 PyObject
* obj0
= 0 ;
10194 PyObject
* obj1
= 0 ;
10195 PyObject
* obj2
= 0 ;
10196 PyObject
* obj3
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10207 if (arg2
== NULL
) {
10208 PyErr_SetString(PyExc_TypeError
,"null reference");
10211 arg3
= (int) SWIG_AsInt(obj2
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10213 arg4
= (int) SWIG_AsInt(obj3
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 Py_INCREF(Py_None
); resultobj
= Py_None
;
10229 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxImage
*arg1
= (wxImage
*) 0 ;
10233 PyObject
* obj0
= 0 ;
10234 char *kwnames
[] = {
10235 (char *) "self", NULL
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= (PyObject
*)wxImage_GetData(arg1
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= result
;
10255 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
;
10257 wxImage
*arg1
= (wxImage
*) 0 ;
10258 PyObject
*arg2
= (PyObject
*) 0 ;
10259 PyObject
* obj0
= 0 ;
10260 PyObject
* obj1
= 0 ;
10261 char *kwnames
[] = {
10262 (char *) "self",(char *) "data", NULL
10265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 wxImage_SetData(arg1
,arg2
);
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 Py_INCREF(Py_None
); resultobj
= Py_None
;
10283 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
;
10285 wxImage
*arg1
= (wxImage
*) 0 ;
10287 PyObject
* obj0
= 0 ;
10288 char *kwnames
[] = {
10289 (char *) "self", NULL
10292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10299 wxPyEndAllowThreads(__tstate
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10302 resultobj
= result
;
10309 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10310 PyObject
*resultobj
;
10311 wxImage
*arg1
= (wxImage
*) 0 ;
10312 PyObject
*arg2
= (PyObject
*) 0 ;
10313 PyObject
* obj0
= 0 ;
10314 PyObject
* obj1
= 0 ;
10315 char *kwnames
[] = {
10316 (char *) "self",(char *) "data", NULL
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 wxImage_SetDataBuffer(arg1
,arg2
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10330 Py_INCREF(Py_None
); resultobj
= Py_None
;
10337 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10338 PyObject
*resultobj
;
10339 wxImage
*arg1
= (wxImage
*) 0 ;
10341 PyObject
* obj0
= 0 ;
10342 char *kwnames
[] = {
10343 (char *) "self", NULL
10346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10353 wxPyEndAllowThreads(__tstate
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10356 resultobj
= result
;
10363 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
;
10365 wxImage
*arg1
= (wxImage
*) 0 ;
10366 PyObject
*arg2
= (PyObject
*) 0 ;
10367 PyObject
* obj0
= 0 ;
10368 PyObject
* obj1
= 0 ;
10369 char *kwnames
[] = {
10370 (char *) "self",(char *) "data", NULL
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 wxImage_SetAlphaData(arg1
,arg2
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 Py_INCREF(Py_None
); resultobj
= Py_None
;
10391 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
;
10393 wxImage
*arg1
= (wxImage
*) 0 ;
10395 PyObject
* obj0
= 0 ;
10396 char *kwnames
[] = {
10397 (char *) "self", NULL
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= result
;
10417 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
;
10419 wxImage
*arg1
= (wxImage
*) 0 ;
10420 PyObject
*arg2
= (PyObject
*) 0 ;
10421 PyObject
* obj0
= 0 ;
10422 PyObject
* obj1
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self",(char *) "data", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 wxImage_SetAlphaBuffer(arg1
,arg2
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 Py_INCREF(Py_None
); resultobj
= Py_None
;
10445 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 wxImage
*arg1
= (wxImage
*) 0 ;
10448 unsigned char arg2
;
10449 unsigned char arg3
;
10450 unsigned char arg4
;
10451 PyObject
* obj0
= 0 ;
10452 PyObject
* obj1
= 0 ;
10453 PyObject
* obj2
= 0 ;
10454 PyObject
* obj3
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10462 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10464 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10466 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10475 Py_INCREF(Py_None
); resultobj
= Py_None
;
10482 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
;
10484 wxImage
*arg1
= (wxImage
*) 0 ;
10485 unsigned char result
;
10486 PyObject
* obj0
= 0 ;
10487 char *kwnames
[] = {
10488 (char *) "self", NULL
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 result
= (unsigned char)(arg1
)->GetMaskRed();
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10508 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxImage
*arg1
= (wxImage
*) 0 ;
10511 unsigned char result
;
10512 PyObject
* obj0
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 result
= (unsigned char)(arg1
)->GetMaskGreen();
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10534 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxImage
*arg1
= (wxImage
*) 0 ;
10537 unsigned char result
;
10538 PyObject
* obj0
= 0 ;
10539 char *kwnames
[] = {
10540 (char *) "self", NULL
10543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 result
= (unsigned char)(arg1
)->GetMaskBlue();
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10553 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10560 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
;
10562 wxImage
*arg1
= (wxImage
*) 0 ;
10563 bool arg2
= (bool) True
;
10564 PyObject
* obj0
= 0 ;
10565 PyObject
* obj1
= 0 ;
10566 char *kwnames
[] = {
10567 (char *) "self",(char *) "mask", NULL
10570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10574 arg2
= (bool) SWIG_AsBool(obj1
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 (arg1
)->SetMask(arg2
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 Py_INCREF(Py_None
); resultobj
= Py_None
;
10591 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
;
10593 wxImage
*arg1
= (wxImage
*) 0 ;
10595 PyObject
* obj0
= 0 ;
10596 char *kwnames
[] = {
10597 (char *) "self", NULL
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10605 result
= (bool)(arg1
)->HasMask();
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10619 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxImage
*arg1
= (wxImage
*) 0 ;
10623 wxPoint
*arg3
= 0 ;
10624 bool arg4
= (bool) True
;
10625 wxPoint
*arg5
= (wxPoint
*) NULL
;
10626 SwigValueWrapper
< wxImage
> result
;
10628 PyObject
* obj0
= 0 ;
10629 PyObject
* obj1
= 0 ;
10630 PyObject
* obj2
= 0 ;
10631 PyObject
* obj3
= 0 ;
10632 PyObject
* obj4
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10640 arg2
= (double) SWIG_AsDouble(obj1
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10644 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10647 arg4
= (bool) SWIG_AsBool(obj3
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10651 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10662 wxImage
* resultptr
;
10663 resultptr
= new wxImage((wxImage
&) result
);
10664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10672 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10673 PyObject
*resultobj
;
10674 wxImage
*arg1
= (wxImage
*) 0 ;
10675 bool arg2
= (bool) True
;
10676 SwigValueWrapper
< wxImage
> result
;
10677 PyObject
* obj0
= 0 ;
10678 PyObject
* obj1
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "self",(char *) "clockwise", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10687 arg2
= (bool) SWIG_AsBool(obj1
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10692 result
= (arg1
)->Rotate90(arg2
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10698 wxImage
* resultptr
;
10699 resultptr
= new wxImage((wxImage
&) result
);
10700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10708 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
;
10710 wxImage
*arg1
= (wxImage
*) 0 ;
10711 bool arg2
= (bool) True
;
10712 SwigValueWrapper
< wxImage
> result
;
10713 PyObject
* obj0
= 0 ;
10714 PyObject
* obj1
= 0 ;
10715 char *kwnames
[] = {
10716 (char *) "self",(char *) "horizontally", NULL
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10723 arg2
= (bool) SWIG_AsBool(obj1
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 result
= (arg1
)->Mirror(arg2
);
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10734 wxImage
* resultptr
;
10735 resultptr
= new wxImage((wxImage
&) result
);
10736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10744 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
;
10746 wxImage
*arg1
= (wxImage
*) 0 ;
10747 unsigned char arg2
;
10748 unsigned char arg3
;
10749 unsigned char arg4
;
10750 unsigned char arg5
;
10751 unsigned char arg6
;
10752 unsigned char arg7
;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 PyObject
* obj2
= 0 ;
10756 PyObject
* obj3
= 0 ;
10757 PyObject
* obj4
= 0 ;
10758 PyObject
* obj5
= 0 ;
10759 PyObject
* obj6
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10767 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10769 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10771 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10773 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10775 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10777 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 Py_INCREF(Py_None
); resultobj
= Py_None
;
10793 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
*resultobj
;
10795 wxImage
*arg1
= (wxImage
*) 0 ;
10796 unsigned char arg2
;
10797 unsigned char arg3
;
10798 unsigned char arg4
;
10799 SwigValueWrapper
< wxImage
> result
;
10800 PyObject
* obj0
= 0 ;
10801 PyObject
* obj1
= 0 ;
10802 PyObject
* obj2
= 0 ;
10803 PyObject
* obj3
= 0 ;
10804 char *kwnames
[] = {
10805 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10811 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10813 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10815 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10819 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10821 wxPyEndAllowThreads(__tstate
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10825 wxImage
* resultptr
;
10826 resultptr
= new wxImage((wxImage
&) result
);
10827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10835 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
;
10837 wxImage
*arg1
= (wxImage
*) 0 ;
10838 wxString
*arg2
= 0 ;
10839 wxString
*arg3
= 0 ;
10840 bool temp2
= False
;
10841 bool temp3
= False
;
10842 PyObject
* obj0
= 0 ;
10843 PyObject
* obj1
= 0 ;
10844 PyObject
* obj2
= 0 ;
10845 char *kwnames
[] = {
10846 (char *) "self",(char *) "name",(char *) "value", NULL
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10853 arg2
= wxString_in_helper(obj1
);
10854 if (arg2
== NULL
) SWIG_fail
;
10858 arg3
= wxString_in_helper(obj2
);
10859 if (arg3
== NULL
) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 Py_INCREF(Py_None
); resultobj
= Py_None
;
10892 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
;
10894 wxImage
*arg1
= (wxImage
*) 0 ;
10895 wxString
*arg2
= 0 ;
10897 bool temp2
= False
;
10898 PyObject
* obj0
= 0 ;
10899 PyObject
* obj1
= 0 ;
10900 PyObject
* obj2
= 0 ;
10901 char *kwnames
[] = {
10902 (char *) "self",(char *) "name",(char *) "value", NULL
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10909 arg2
= wxString_in_helper(obj1
);
10910 if (arg2
== NULL
) SWIG_fail
;
10913 arg3
= (int) SWIG_AsInt(obj2
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 Py_INCREF(Py_None
); resultobj
= Py_None
;
10937 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
;
10939 wxImage
*arg1
= (wxImage
*) 0 ;
10940 wxString
*arg2
= 0 ;
10942 bool temp2
= False
;
10943 PyObject
* obj0
= 0 ;
10944 PyObject
* obj1
= 0 ;
10945 char *kwnames
[] = {
10946 (char *) "self",(char *) "name", NULL
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10953 arg2
= wxString_in_helper(obj1
);
10954 if (arg2
== NULL
) SWIG_fail
;
10958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10959 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10985 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
;
10987 wxImage
*arg1
= (wxImage
*) 0 ;
10988 wxString
*arg2
= 0 ;
10990 bool temp2
= False
;
10991 PyObject
* obj0
= 0 ;
10992 PyObject
* obj1
= 0 ;
10993 char *kwnames
[] = {
10994 (char *) "self",(char *) "name", NULL
10997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11001 arg2
= wxString_in_helper(obj1
);
11002 if (arg2
== NULL
) SWIG_fail
;
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11009 wxPyEndAllowThreads(__tstate
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11012 resultobj
= SWIG_FromInt((int)result
);
11027 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
;
11029 wxImage
*arg1
= (wxImage
*) 0 ;
11030 wxString
*arg2
= 0 ;
11032 bool temp2
= False
;
11033 PyObject
* obj0
= 0 ;
11034 PyObject
* obj1
= 0 ;
11035 char *kwnames
[] = {
11036 (char *) "self",(char *) "name", NULL
11039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11043 arg2
= wxString_in_helper(obj1
);
11044 if (arg2
== NULL
) SWIG_fail
;
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11071 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
;
11073 wxImage
*arg1
= (wxImage
*) 0 ;
11074 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11075 unsigned long result
;
11076 PyObject
* obj0
= 0 ;
11077 PyObject
* obj1
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "self",(char *) "stopafter", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11086 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11091 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11096 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11103 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
*resultobj
;
11105 wxImage
*arg1
= (wxImage
*) 0 ;
11106 wxImageHistogram
*arg2
= 0 ;
11107 unsigned long result
;
11108 PyObject
* obj0
= 0 ;
11109 PyObject
* obj1
= 0 ;
11110 char *kwnames
[] = {
11111 (char *) "self",(char *) "h", NULL
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11120 if (arg2
== NULL
) {
11121 PyErr_SetString(PyExc_TypeError
,"null reference");
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11131 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11138 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11141 PyObject
* obj0
= 0 ;
11142 char *kwnames
[] = {
11143 (char *) "handler", NULL
11146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11151 wxImage::AddHandler(arg1
);
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11156 Py_INCREF(Py_None
); resultobj
= Py_None
;
11163 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
*resultobj
;
11165 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11166 PyObject
* obj0
= 0 ;
11167 char *kwnames
[] = {
11168 (char *) "handler", NULL
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 wxImage::InsertHandler(arg1
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11181 Py_INCREF(Py_None
); resultobj
= Py_None
;
11188 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxString
*arg1
= 0 ;
11192 bool temp1
= False
;
11193 PyObject
* obj0
= 0 ;
11194 char *kwnames
[] = {
11195 (char *) "name", NULL
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11200 arg1
= wxString_in_helper(obj0
);
11201 if (arg1
== NULL
) SWIG_fail
;
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11228 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11231 char *kwnames
[] = {
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 result
= wxImage::GetImageExtWildcard();
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11256 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11258 wxImage
*arg1
= (wxImage
*) 0 ;
11260 PyObject
* obj0
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "self", NULL
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11269 if (!wxPyCheckForApp()) SWIG_fail
;
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 result
= wxImage_ConvertToBitmap(arg1
);
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11277 wxBitmap
* resultptr
;
11278 resultptr
= new wxBitmap((wxBitmap
&) result
);
11279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11287 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
;
11289 wxImage
*arg1
= (wxImage
*) 0 ;
11290 unsigned char arg2
;
11291 unsigned char arg3
;
11292 unsigned char arg4
;
11294 PyObject
* obj0
= 0 ;
11295 PyObject
* obj1
= 0 ;
11296 PyObject
* obj2
= 0 ;
11297 PyObject
* obj3
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11305 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11307 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11309 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 if (!wxPyCheckForApp()) SWIG_fail
;
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11320 wxBitmap
* resultptr
;
11321 resultptr
= new wxBitmap((wxBitmap
&) result
);
11322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11330 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11333 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11335 return Py_BuildValue((char *)"");
11337 static int _wrap_NullImage_set(PyObject
*_val
) {
11338 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11343 static PyObject
*_wrap_NullImage_get() {
11346 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11351 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11352 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11357 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11362 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11364 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11371 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11372 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11377 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11382 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11384 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11391 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11392 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11397 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11402 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11404 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11411 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11412 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11417 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11422 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11424 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11431 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11432 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11437 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11442 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11444 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11451 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11452 PyObject
*resultobj
;
11453 wxBMPHandler
*result
;
11454 char *kwnames
[] = {
11458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 result
= (wxBMPHandler
*)new wxBMPHandler();
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11473 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11476 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11478 return Py_BuildValue((char *)"");
11480 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
;
11482 wxICOHandler
*result
;
11483 char *kwnames
[] = {
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 result
= (wxICOHandler
*)new wxICOHandler();
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11502 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11505 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11507 return Py_BuildValue((char *)"");
11509 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11510 PyObject
*resultobj
;
11511 wxCURHandler
*result
;
11512 char *kwnames
[] = {
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= (wxCURHandler
*)new wxCURHandler();
11521 wxPyEndAllowThreads(__tstate
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11531 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11534 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11536 return Py_BuildValue((char *)"");
11538 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11539 PyObject
*resultobj
;
11540 wxANIHandler
*result
;
11541 char *kwnames
[] = {
11545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 result
= (wxANIHandler
*)new wxANIHandler();
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11560 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11563 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11565 return Py_BuildValue((char *)"");
11567 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11568 PyObject
*resultobj
;
11569 wxPNGHandler
*result
;
11570 char *kwnames
[] = {
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 result
= (wxPNGHandler
*)new wxPNGHandler();
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11589 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11592 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11594 return Py_BuildValue((char *)"");
11596 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxGIFHandler
*result
;
11599 char *kwnames
[] = {
11603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 result
= (wxGIFHandler
*)new wxGIFHandler();
11608 wxPyEndAllowThreads(__tstate
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11618 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11621 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11623 return Py_BuildValue((char *)"");
11625 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxPCXHandler
*result
;
11628 char *kwnames
[] = {
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (wxPCXHandler
*)new wxPCXHandler();
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11647 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11650 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11652 return Py_BuildValue((char *)"");
11654 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxJPEGHandler
*result
;
11657 char *kwnames
[] = {
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11676 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11679 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11681 return Py_BuildValue((char *)"");
11683 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxPNMHandler
*result
;
11686 char *kwnames
[] = {
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 result
= (wxPNMHandler
*)new wxPNMHandler();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11705 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11708 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11710 return Py_BuildValue((char *)"");
11712 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxXPMHandler
*result
;
11715 char *kwnames
[] = {
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 result
= (wxXPMHandler
*)new wxXPMHandler();
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11734 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11737 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11739 return Py_BuildValue((char *)"");
11741 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
;
11743 wxTIFFHandler
*result
;
11744 char *kwnames
[] = {
11748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11763 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11766 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11768 return Py_BuildValue((char *)"");
11770 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxEvtHandler
*result
;
11773 char *kwnames
[] = {
11777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (wxEvtHandler
*)new wxEvtHandler();
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
11792 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11795 wxEvtHandler
*result
;
11796 PyObject
* obj0
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= wxPyMake_wxObject(result
, 0);
11820 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11821 PyObject
*resultobj
;
11822 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11823 wxEvtHandler
*result
;
11824 PyObject
* obj0
= 0 ;
11825 char *kwnames
[] = {
11826 (char *) "self", NULL
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= wxPyMake_wxObject(result
, 0);
11848 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11851 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11852 PyObject
* obj0
= 0 ;
11853 PyObject
* obj1
= 0 ;
11854 char *kwnames
[] = {
11855 (char *) "self",(char *) "handler", NULL
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 (arg1
)->SetNextHandler(arg2
);
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11870 Py_INCREF(Py_None
); resultobj
= Py_None
;
11877 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
;
11879 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11880 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11881 PyObject
* obj0
= 0 ;
11882 PyObject
* obj1
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self",(char *) "handler", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 (arg1
)->SetPreviousHandler(arg2
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 Py_INCREF(Py_None
); resultobj
= Py_None
;
11906 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11910 PyObject
* obj0
= 0 ;
11911 char *kwnames
[] = {
11912 (char *) "self", NULL
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11934 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11935 PyObject
*resultobj
;
11936 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11938 PyObject
* obj0
= 0 ;
11939 PyObject
* obj1
= 0 ;
11940 char *kwnames
[] = {
11941 (char *) "self",(char *) "enabled", NULL
11944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11947 arg2
= (bool) SWIG_AsBool(obj1
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 (arg1
)->SetEvtHandlerEnabled(arg2
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 Py_INCREF(Py_None
); resultobj
= Py_None
;
11963 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11966 wxEvent
*arg2
= 0 ;
11968 PyObject
* obj0
= 0 ;
11969 PyObject
* obj1
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self",(char *) "event", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11980 if (arg2
== NULL
) {
11981 PyErr_SetString(PyExc_TypeError
,"null reference");
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12000 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12001 PyObject
*resultobj
;
12002 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12003 wxEvent
*arg2
= 0 ;
12004 PyObject
* obj0
= 0 ;
12005 PyObject
* obj1
= 0 ;
12006 char *kwnames
[] = {
12007 (char *) "self",(char *) "event", NULL
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12016 if (arg2
== NULL
) {
12017 PyErr_SetString(PyExc_TypeError
,"null reference");
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 (arg1
)->AddPendingEvent(*arg2
);
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12027 Py_INCREF(Py_None
); resultobj
= Py_None
;
12034 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
;
12036 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12037 PyObject
* obj0
= 0 ;
12038 char *kwnames
[] = {
12039 (char *) "self", NULL
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 (arg1
)->ProcessPendingEvents();
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12052 Py_INCREF(Py_None
); resultobj
= Py_None
;
12059 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
;
12061 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12065 PyObject
*arg5
= (PyObject
*) 0 ;
12066 PyObject
* obj0
= 0 ;
12067 PyObject
* obj1
= 0 ;
12068 PyObject
* obj2
= 0 ;
12069 PyObject
* obj3
= 0 ;
12070 PyObject
* obj4
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12078 arg2
= (int) SWIG_AsInt(obj1
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12080 arg3
= (int) SWIG_AsInt(obj2
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12082 arg4
= (int) SWIG_AsInt(obj3
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12092 Py_INCREF(Py_None
); resultobj
= Py_None
;
12099 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12103 int arg3
= (int) -1 ;
12104 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12106 PyObject
* obj0
= 0 ;
12107 PyObject
* obj1
= 0 ;
12108 PyObject
* obj2
= 0 ;
12109 PyObject
* obj3
= 0 ;
12110 char *kwnames
[] = {
12111 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12117 arg2
= (int) SWIG_AsInt(obj1
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 arg3
= (int) SWIG_AsInt(obj2
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12124 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12143 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12144 PyObject
*resultobj
;
12145 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12146 PyObject
*arg2
= (PyObject
*) 0 ;
12147 PyObject
* obj0
= 0 ;
12148 PyObject
* obj1
= 0 ;
12149 char *kwnames
[] = {
12150 (char *) "self",(char *) "_self", NULL
12153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 wxEvtHandler__setOORInfo(arg1
,arg2
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 Py_INCREF(Py_None
); resultobj
= Py_None
;
12171 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12174 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12176 return Py_BuildValue((char *)"");
12178 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
;
12180 wxEventType result
;
12181 char *kwnames
[] = {
12185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 result
= (wxEventType
)wxNewEventType();
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= SWIG_FromInt((int)result
);
12200 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
;
12202 wxEvent
*arg1
= (wxEvent
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 Py_INCREF(Py_None
); resultobj
= Py_None
;
12225 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12226 PyObject
*resultobj
;
12227 wxEvent
*arg1
= (wxEvent
*) 0 ;
12229 PyObject
* obj0
= 0 ;
12230 PyObject
* obj1
= 0 ;
12231 char *kwnames
[] = {
12232 (char *) "self",(char *) "typ", NULL
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12238 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 (arg1
)->SetEventType(arg2
);
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 Py_INCREF(Py_None
); resultobj
= Py_None
;
12254 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
;
12256 wxEvent
*arg1
= (wxEvent
*) 0 ;
12257 wxEventType result
;
12258 PyObject
* obj0
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12268 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12273 resultobj
= SWIG_FromInt((int)result
);
12280 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12281 PyObject
*resultobj
;
12282 wxEvent
*arg1
= (wxEvent
*) 0 ;
12284 PyObject
* obj0
= 0 ;
12285 char *kwnames
[] = {
12286 (char *) "self", NULL
12289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= wxPyMake_wxObject(result
, 0);
12308 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
;
12310 wxEvent
*arg1
= (wxEvent
*) 0 ;
12311 wxObject
*arg2
= (wxObject
*) 0 ;
12312 PyObject
* obj0
= 0 ;
12313 PyObject
* obj1
= 0 ;
12314 char *kwnames
[] = {
12315 (char *) "self",(char *) "obj", NULL
12318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 (arg1
)->SetEventObject(arg2
);
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 Py_INCREF(Py_None
); resultobj
= Py_None
;
12337 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
;
12339 wxEvent
*arg1
= (wxEvent
*) 0 ;
12341 PyObject
* obj0
= 0 ;
12342 char *kwnames
[] = {
12343 (char *) "self", NULL
12346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= SWIG_FromLong((long)result
);
12363 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12364 PyObject
*resultobj
;
12365 wxEvent
*arg1
= (wxEvent
*) 0 ;
12366 long arg2
= (long) 0 ;
12367 PyObject
* obj0
= 0 ;
12368 PyObject
* obj1
= 0 ;
12369 char *kwnames
[] = {
12370 (char *) "self",(char *) "ts", NULL
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12377 arg2
= (long) SWIG_AsLong(obj1
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 (arg1
)->SetTimestamp(arg2
);
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 Py_INCREF(Py_None
); resultobj
= Py_None
;
12394 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
*resultobj
;
12396 wxEvent
*arg1
= (wxEvent
*) 0 ;
12398 PyObject
* obj0
= 0 ;
12399 char *kwnames
[] = {
12400 (char *) "self", NULL
12403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= (int)((wxEvent
const *)arg1
)->GetId();
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 resultobj
= SWIG_FromInt((int)result
);
12420 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
;
12422 wxEvent
*arg1
= (wxEvent
*) 0 ;
12424 PyObject
* obj0
= 0 ;
12425 PyObject
* obj1
= 0 ;
12426 char *kwnames
[] = {
12427 (char *) "self",(char *) "Id", NULL
12430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12433 arg2
= (int) SWIG_AsInt(obj1
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 (arg1
)->SetId(arg2
);
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 Py_INCREF(Py_None
); resultobj
= Py_None
;
12449 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12450 PyObject
*resultobj
;
12451 wxEvent
*arg1
= (wxEvent
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12477 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
;
12479 wxEvent
*arg1
= (wxEvent
*) 0 ;
12480 bool arg2
= (bool) True
;
12481 PyObject
* obj0
= 0 ;
12482 PyObject
* obj1
= 0 ;
12483 char *kwnames
[] = {
12484 (char *) "self",(char *) "skip", NULL
12487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12491 arg2
= (bool) SWIG_AsBool(obj1
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 (arg1
)->Skip(arg2
);
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 Py_INCREF(Py_None
); resultobj
= Py_None
;
12508 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
;
12510 wxEvent
*arg1
= (wxEvent
*) 0 ;
12512 PyObject
* obj0
= 0 ;
12513 char *kwnames
[] = {
12514 (char *) "self", NULL
12517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12536 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxEvent
*arg1
= (wxEvent
*) 0 ;
12540 PyObject
* obj0
= 0 ;
12541 char *kwnames
[] = {
12542 (char *) "self", NULL
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12564 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
;
12566 wxEvent
*arg1
= (wxEvent
*) 0 ;
12568 PyObject
* obj0
= 0 ;
12569 char *kwnames
[] = {
12570 (char *) "self", NULL
12573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 result
= (int)(arg1
)->StopPropagation();
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 resultobj
= SWIG_FromInt((int)result
);
12590 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12591 PyObject
*resultobj
;
12592 wxEvent
*arg1
= (wxEvent
*) 0 ;
12594 PyObject
* obj0
= 0 ;
12595 PyObject
* obj1
= 0 ;
12596 char *kwnames
[] = {
12597 (char *) "self",(char *) "propagationLevel", NULL
12600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12603 arg2
= (int) SWIG_AsInt(obj1
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 (arg1
)->ResumePropagation(arg2
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 Py_INCREF(Py_None
); resultobj
= Py_None
;
12619 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxEvent
*arg1
= (wxEvent
*) 0 ;
12623 PyObject
* obj0
= 0 ;
12624 char *kwnames
[] = {
12625 (char *) "self", NULL
12628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 result
= (wxEvent
*)(arg1
)->Clone();
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12645 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12648 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12650 return Py_BuildValue((char *)"");
12652 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12653 PyObject
*resultobj
;
12654 wxEvent
*arg1
= 0 ;
12655 wxPropagationDisabler
*result
;
12656 PyObject
* obj0
= 0 ;
12657 char *kwnames
[] = {
12658 (char *) "event", NULL
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12665 if (arg1
== NULL
) {
12666 PyErr_SetString(PyExc_TypeError
,"null reference");
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12683 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
;
12685 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12686 PyObject
* obj0
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12701 Py_INCREF(Py_None
); resultobj
= Py_None
;
12708 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12711 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12713 return Py_BuildValue((char *)"");
12715 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
;
12717 wxEvent
*arg1
= 0 ;
12718 wxPropagateOnce
*result
;
12719 PyObject
* obj0
= 0 ;
12720 char *kwnames
[] = {
12721 (char *) "event", NULL
12724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12728 if (arg1
== NULL
) {
12729 PyErr_SetString(PyExc_TypeError
,"null reference");
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12746 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12747 PyObject
*resultobj
;
12748 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12749 PyObject
* obj0
= 0 ;
12750 char *kwnames
[] = {
12751 (char *) "self", NULL
12754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12764 Py_INCREF(Py_None
); resultobj
= Py_None
;
12771 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12774 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12776 return Py_BuildValue((char *)"");
12778 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12779 PyObject
*resultobj
;
12780 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12781 int arg2
= (int) 0 ;
12782 wxCommandEvent
*result
;
12783 PyObject
* obj0
= 0 ;
12784 PyObject
* obj1
= 0 ;
12785 char *kwnames
[] = {
12786 (char *) "commandType",(char *) "winid", NULL
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12791 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12795 arg2
= (int) SWIG_AsInt(obj1
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12812 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12816 PyObject
* obj0
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= SWIG_FromInt((int)result
);
12838 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12841 wxString
*arg2
= 0 ;
12842 bool temp2
= False
;
12843 PyObject
* obj0
= 0 ;
12844 PyObject
* obj1
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self",(char *) "s", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12853 arg2
= wxString_in_helper(obj1
);
12854 if (arg2
== NULL
) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 (arg1
)->SetString((wxString
const &)*arg2
);
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12864 Py_INCREF(Py_None
); resultobj
= Py_None
;
12879 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
;
12881 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12883 PyObject
* obj0
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "self", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12911 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
*resultobj
;
12913 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12915 PyObject
* obj0
= 0 ;
12916 char *kwnames
[] = {
12917 (char *) "self", NULL
12920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12939 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12943 PyObject
* obj0
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "self", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12967 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
;
12969 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12971 PyObject
* obj0
= 0 ;
12972 PyObject
* obj1
= 0 ;
12973 char *kwnames
[] = {
12974 (char *) "self",(char *) "extraLong", NULL
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12980 arg2
= (long) SWIG_AsLong(obj1
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 (arg1
)->SetExtraLong(arg2
);
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 Py_INCREF(Py_None
); resultobj
= Py_None
;
12996 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12997 PyObject
*resultobj
;
12998 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13000 PyObject
* obj0
= 0 ;
13001 char *kwnames
[] = {
13002 (char *) "self", NULL
13005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= SWIG_FromLong((long)result
);
13022 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
;
13024 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self",(char *) "i", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13035 arg2
= (int) SWIG_AsInt(obj1
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 (arg1
)->SetInt(arg2
);
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 Py_INCREF(Py_None
); resultobj
= Py_None
;
13051 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= SWIG_FromLong((long)result
);
13077 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13103 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13106 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13108 return Py_BuildValue((char *)"");
13110 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
;
13112 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13113 int arg2
= (int) 0 ;
13114 wxNotifyEvent
*result
;
13115 PyObject
* obj0
= 0 ;
13116 PyObject
* obj1
= 0 ;
13117 char *kwnames
[] = {
13118 (char *) "commandType",(char *) "winid", NULL
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13123 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13127 arg2
= (int) SWIG_AsInt(obj1
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13144 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
;
13146 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13147 PyObject
* obj0
= 0 ;
13148 char *kwnames
[] = {
13149 (char *) "self", NULL
13152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13162 Py_INCREF(Py_None
); resultobj
= Py_None
;
13169 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13170 PyObject
*resultobj
;
13171 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13172 PyObject
* obj0
= 0 ;
13173 char *kwnames
[] = {
13174 (char *) "self", NULL
13177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 Py_INCREF(Py_None
); resultobj
= Py_None
;
13194 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
;
13196 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13198 PyObject
* obj0
= 0 ;
13199 char *kwnames
[] = {
13200 (char *) "self", NULL
13203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 result
= (bool)(arg1
)->IsAllowed();
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13222 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13225 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13227 return Py_BuildValue((char *)"");
13229 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13232 int arg2
= (int) 0 ;
13233 int arg3
= (int) 0 ;
13234 int arg4
= (int) 0 ;
13235 wxScrollEvent
*result
;
13236 PyObject
* obj0
= 0 ;
13237 PyObject
* obj1
= 0 ;
13238 PyObject
* obj2
= 0 ;
13239 PyObject
* obj3
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13246 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13250 arg2
= (int) SWIG_AsInt(obj1
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13254 arg3
= (int) SWIG_AsInt(obj2
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13258 arg4
= (int) SWIG_AsInt(obj3
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13275 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
;
13277 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13279 PyObject
* obj0
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= SWIG_FromInt((int)result
);
13301 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13305 PyObject
* obj0
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= SWIG_FromInt((int)result
);
13327 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13331 PyObject
* obj0
= 0 ;
13332 PyObject
* obj1
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self",(char *) "orient", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13340 arg2
= (int) SWIG_AsInt(obj1
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 (arg1
)->SetOrientation(arg2
);
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 Py_INCREF(Py_None
); resultobj
= Py_None
;
13356 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self",(char *) "pos", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13369 arg2
= (int) SWIG_AsInt(obj1
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 (arg1
)->SetPosition(arg2
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 Py_INCREF(Py_None
); resultobj
= Py_None
;
13385 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13388 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13390 return Py_BuildValue((char *)"");
13392 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
;
13394 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13395 int arg2
= (int) 0 ;
13396 int arg3
= (int) 0 ;
13397 wxScrollWinEvent
*result
;
13398 PyObject
* obj0
= 0 ;
13399 PyObject
* obj1
= 0 ;
13400 PyObject
* obj2
= 0 ;
13401 char *kwnames
[] = {
13402 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13407 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13411 arg2
= (int) SWIG_AsInt(obj1
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13415 arg3
= (int) SWIG_AsInt(obj2
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13422 wxPyEndAllowThreads(__tstate
);
13423 if (PyErr_Occurred()) SWIG_fail
;
13425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13432 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
;
13434 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13436 PyObject
* obj0
= 0 ;
13437 char *kwnames
[] = {
13438 (char *) "self", NULL
13441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= SWIG_FromInt((int)result
);
13458 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13459 PyObject
*resultobj
;
13460 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13462 PyObject
* obj0
= 0 ;
13463 char *kwnames
[] = {
13464 (char *) "self", NULL
13467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= SWIG_FromInt((int)result
);
13484 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
;
13486 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13488 PyObject
* obj0
= 0 ;
13489 PyObject
* obj1
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self",(char *) "orient", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13497 arg2
= (int) SWIG_AsInt(obj1
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 (arg1
)->SetOrientation(arg2
);
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 Py_INCREF(Py_None
); resultobj
= Py_None
;
13513 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13517 PyObject
* obj0
= 0 ;
13518 PyObject
* obj1
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "self",(char *) "pos", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13526 arg2
= (int) SWIG_AsInt(obj1
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 (arg1
)->SetPosition(arg2
);
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 Py_INCREF(Py_None
); resultobj
= Py_None
;
13542 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13545 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13547 return Py_BuildValue((char *)"");
13549 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13550 PyObject
*resultobj
;
13551 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13552 wxMouseEvent
*result
;
13553 PyObject
* obj0
= 0 ;
13554 char *kwnames
[] = {
13555 (char *) "mouseType", NULL
13558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13560 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13571 resultobj
= wxPyMake_wxObject(result
, 1);
13579 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13580 PyObject
*resultobj
;
13581 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13583 PyObject
* obj0
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "self", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13595 wxPyEndAllowThreads(__tstate
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13607 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13608 PyObject
*resultobj
;
13609 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13610 int arg2
= (int) wxMOUSE_BTN_ANY
;
13612 PyObject
* obj0
= 0 ;
13613 PyObject
* obj1
= 0 ;
13614 char *kwnames
[] = {
13615 (char *) "self",(char *) "but", NULL
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13622 arg2
= (int) SWIG_AsInt(obj1
);
13623 if (PyErr_Occurred()) SWIG_fail
;
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13627 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13641 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13644 int arg2
= (int) wxMOUSE_BTN_ANY
;
13646 PyObject
* obj0
= 0 ;
13647 PyObject
* obj1
= 0 ;
13648 char *kwnames
[] = {
13649 (char *) "self",(char *) "but", NULL
13652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13656 arg2
= (int) SWIG_AsInt(obj1
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13675 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
;
13677 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13678 int arg2
= (int) wxMOUSE_BTN_ANY
;
13680 PyObject
* obj0
= 0 ;
13681 PyObject
* obj1
= 0 ;
13682 char *kwnames
[] = {
13683 (char *) "self",(char *) "but", NULL
13686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13690 arg2
= (int) SWIG_AsInt(obj1
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13709 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
;
13711 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13714 PyObject
* obj0
= 0 ;
13715 PyObject
* obj1
= 0 ;
13716 char *kwnames
[] = {
13717 (char *) "self",(char *) "but", NULL
13720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13723 arg2
= (int) SWIG_AsInt(obj1
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13741 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13742 PyObject
*resultobj
;
13743 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13746 PyObject
* obj0
= 0 ;
13747 PyObject
* obj1
= 0 ;
13748 char *kwnames
[] = {
13749 (char *) "self",(char *) "but", NULL
13752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13755 arg2
= (int) SWIG_AsInt(obj1
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13773 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
;
13775 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13777 PyObject
* obj0
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "self", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13787 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13789 wxPyEndAllowThreads(__tstate
);
13790 if (PyErr_Occurred()) SWIG_fail
;
13792 resultobj
= SWIG_FromInt((int)result
);
13799 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13800 PyObject
*resultobj
;
13801 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13803 PyObject
* obj0
= 0 ;
13804 char *kwnames
[] = {
13805 (char *) "self", NULL
13808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13813 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13827 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13828 PyObject
*resultobj
;
13829 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13831 PyObject
* obj0
= 0 ;
13832 char *kwnames
[] = {
13833 (char *) "self", NULL
13836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13855 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13856 PyObject
*resultobj
;
13857 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13859 PyObject
* obj0
= 0 ;
13860 char *kwnames
[] = {
13861 (char *) "self", NULL
13864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13883 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
;
13885 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13887 PyObject
* obj0
= 0 ;
13888 char *kwnames
[] = {
13889 (char *) "self", NULL
13892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13911 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13912 PyObject
*resultobj
;
13913 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13915 PyObject
* obj0
= 0 ;
13916 char *kwnames
[] = {
13917 (char *) "self", NULL
13920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
13921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13925 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13939 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
;
13941 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13943 PyObject
* obj0
= 0 ;
13944 char *kwnames
[] = {
13945 (char *) "self", NULL
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13967 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
;
13969 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13971 PyObject
* obj0
= 0 ;
13972 char *kwnames
[] = {
13973 (char *) "self", NULL
13976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13981 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13983 wxPyEndAllowThreads(__tstate
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13995 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
;
13997 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13999 PyObject
* obj0
= 0 ;
14000 char *kwnames
[] = {
14001 (char *) "self", NULL
14004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14023 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14027 PyObject
* obj0
= 0 ;
14028 char *kwnames
[] = {
14029 (char *) "self", NULL
14032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14037 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14051 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14052 PyObject
*resultobj
;
14053 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14055 PyObject
* obj0
= 0 ;
14056 char *kwnames
[] = {
14057 (char *) "self", NULL
14060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14065 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14079 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14080 PyObject
*resultobj
;
14081 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14083 PyObject
* obj0
= 0 ;
14084 char *kwnames
[] = {
14085 (char *) "self", NULL
14088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14093 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14107 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14111 PyObject
* obj0
= 0 ;
14112 char *kwnames
[] = {
14113 (char *) "self", NULL
14116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14135 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14136 PyObject
*resultobj
;
14137 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14139 PyObject
* obj0
= 0 ;
14140 char *kwnames
[] = {
14141 (char *) "self", NULL
14144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14163 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14164 PyObject
*resultobj
;
14165 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14167 PyObject
* obj0
= 0 ;
14168 char *kwnames
[] = {
14169 (char *) "self", NULL
14172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14191 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14192 PyObject
*resultobj
;
14193 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14195 PyObject
* obj0
= 0 ;
14196 char *kwnames
[] = {
14197 (char *) "self", NULL
14200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= (bool)(arg1
)->LeftIsDown();
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14219 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14223 PyObject
* obj0
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "self", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (bool)(arg1
)->MiddleIsDown();
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14247 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
;
14249 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14251 PyObject
* obj0
= 0 ;
14252 char *kwnames
[] = {
14253 (char *) "self", NULL
14256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 result
= (bool)(arg1
)->RightIsDown();
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14275 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14276 PyObject
*resultobj
;
14277 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14279 PyObject
* obj0
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14303 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14307 PyObject
* obj0
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self", NULL
14312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14331 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14335 PyObject
* obj0
= 0 ;
14336 char *kwnames
[] = {
14337 (char *) "self", NULL
14340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14359 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
;
14361 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14363 PyObject
* obj0
= 0 ;
14364 char *kwnames
[] = {
14365 (char *) "self", NULL
14368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14373 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14375 wxPyEndAllowThreads(__tstate
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14387 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
;
14389 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14391 PyObject
* obj0
= 0 ;
14392 char *kwnames
[] = {
14393 (char *) "self", NULL
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 result
= (arg1
)->GetPosition();
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14407 wxPoint
* resultptr
;
14408 resultptr
= new wxPoint((wxPoint
&) result
);
14409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14417 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
;
14419 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14420 long *arg2
= (long *) 0 ;
14421 long *arg3
= (long *) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 char *kwnames
[] = {
14426 (char *) "self", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 (arg1
)->GetPosition(arg2
,arg3
);
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 Py_INCREF(Py_None
); resultobj
= Py_None
;
14443 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14444 resultobj
= t_output_helper(resultobj
,o
);
14447 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14448 resultobj
= t_output_helper(resultobj
,o
);
14456 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 PyObject
* obj1
= 0 ;
14463 char *kwnames
[] = {
14464 (char *) "self",(char *) "dc", NULL
14467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14473 if (arg2
== NULL
) {
14474 PyErr_SetString(PyExc_TypeError
,"null reference");
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14485 wxPoint
* resultptr
;
14486 resultptr
= new wxPoint((wxPoint
&) result
);
14487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14495 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
;
14497 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14499 PyObject
* obj0
= 0 ;
14500 char *kwnames
[] = {
14501 (char *) "self", NULL
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14514 resultobj
= SWIG_FromInt((int)result
);
14521 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
;
14523 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14525 PyObject
* obj0
= 0 ;
14526 char *kwnames
[] = {
14527 (char *) "self", NULL
14530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14537 wxPyEndAllowThreads(__tstate
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14540 resultobj
= SWIG_FromInt((int)result
);
14547 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14548 PyObject
*resultobj
;
14549 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14551 PyObject
* obj0
= 0 ;
14552 char *kwnames
[] = {
14553 (char *) "self", NULL
14556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= SWIG_FromInt((int)result
);
14573 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14577 PyObject
* obj0
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= SWIG_FromInt((int)result
);
14599 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
;
14601 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14603 PyObject
* obj0
= 0 ;
14604 char *kwnames
[] = {
14605 (char *) "self", NULL
14608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 resultobj
= SWIG_FromInt((int)result
);
14625 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
;
14627 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14629 PyObject
* obj0
= 0 ;
14630 char *kwnames
[] = {
14631 (char *) "self", NULL
14634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14641 wxPyEndAllowThreads(__tstate
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14653 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
;
14655 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14657 PyObject
* obj0
= 0 ;
14658 PyObject
* obj1
= 0 ;
14659 char *kwnames
[] = {
14660 (char *) "self",(char *) "m_x", NULL
14663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14666 arg2
= (int) SWIG_AsInt(obj1
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14668 if (arg1
) (arg1
)->m_x
= arg2
;
14670 Py_INCREF(Py_None
); resultobj
= Py_None
;
14677 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
;
14679 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14681 PyObject
* obj0
= 0 ;
14682 char *kwnames
[] = {
14683 (char *) "self", NULL
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14689 result
= (int) ((arg1
)->m_x
);
14691 resultobj
= SWIG_FromInt((int)result
);
14698 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 PyObject
* obj1
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "self",(char *) "m_y", NULL
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14711 arg2
= (int) SWIG_AsInt(obj1
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14713 if (arg1
) (arg1
)->m_y
= arg2
;
14715 Py_INCREF(Py_None
); resultobj
= Py_None
;
14722 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14723 PyObject
*resultobj
;
14724 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14726 PyObject
* obj0
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "self", NULL
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14734 result
= (int) ((arg1
)->m_y
);
14736 resultobj
= SWIG_FromInt((int)result
);
14743 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
;
14745 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14747 PyObject
* obj0
= 0 ;
14748 PyObject
* obj1
= 0 ;
14749 char *kwnames
[] = {
14750 (char *) "self",(char *) "m_leftDown", NULL
14753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14756 arg2
= (bool) SWIG_AsBool(obj1
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14758 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14760 Py_INCREF(Py_None
); resultobj
= Py_None
;
14767 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
;
14769 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14771 PyObject
* obj0
= 0 ;
14772 char *kwnames
[] = {
14773 (char *) "self", NULL
14776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14779 result
= (bool) ((arg1
)->m_leftDown
);
14782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14790 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
;
14792 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14794 PyObject
* obj0
= 0 ;
14795 PyObject
* obj1
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self",(char *) "m_middleDown", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14803 arg2
= (bool) SWIG_AsBool(obj1
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14805 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14807 Py_INCREF(Py_None
); resultobj
= Py_None
;
14814 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14818 PyObject
* obj0
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "self", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14826 result
= (bool) ((arg1
)->m_middleDown
);
14829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14837 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14841 PyObject
* obj0
= 0 ;
14842 PyObject
* obj1
= 0 ;
14843 char *kwnames
[] = {
14844 (char *) "self",(char *) "m_rightDown", NULL
14847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14850 arg2
= (bool) SWIG_AsBool(obj1
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14852 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14854 Py_INCREF(Py_None
); resultobj
= Py_None
;
14861 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14865 PyObject
* obj0
= 0 ;
14866 char *kwnames
[] = {
14867 (char *) "self", NULL
14870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14873 result
= (bool) ((arg1
)->m_rightDown
);
14876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14884 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14888 PyObject
* obj0
= 0 ;
14889 PyObject
* obj1
= 0 ;
14890 char *kwnames
[] = {
14891 (char *) "self",(char *) "m_controlDown", NULL
14894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14897 arg2
= (bool) SWIG_AsBool(obj1
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14899 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14901 Py_INCREF(Py_None
); resultobj
= Py_None
;
14908 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
;
14910 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14912 PyObject
* obj0
= 0 ;
14913 char *kwnames
[] = {
14914 (char *) "self", NULL
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14920 result
= (bool) ((arg1
)->m_controlDown
);
14923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14931 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14932 PyObject
*resultobj
;
14933 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14935 PyObject
* obj0
= 0 ;
14936 PyObject
* obj1
= 0 ;
14937 char *kwnames
[] = {
14938 (char *) "self",(char *) "m_shiftDown", NULL
14941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14944 arg2
= (bool) SWIG_AsBool(obj1
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14946 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14948 Py_INCREF(Py_None
); resultobj
= Py_None
;
14955 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
;
14957 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14959 PyObject
* obj0
= 0 ;
14960 char *kwnames
[] = {
14961 (char *) "self", NULL
14964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14967 result
= (bool) ((arg1
)->m_shiftDown
);
14970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14978 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14979 PyObject
*resultobj
;
14980 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14982 PyObject
* obj0
= 0 ;
14983 PyObject
* obj1
= 0 ;
14984 char *kwnames
[] = {
14985 (char *) "self",(char *) "m_altDown", NULL
14988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14991 arg2
= (bool) SWIG_AsBool(obj1
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14993 if (arg1
) (arg1
)->m_altDown
= arg2
;
14995 Py_INCREF(Py_None
); resultobj
= Py_None
;
15002 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
;
15004 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15006 PyObject
* obj0
= 0 ;
15007 char *kwnames
[] = {
15008 (char *) "self", NULL
15011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15014 result
= (bool) ((arg1
)->m_altDown
);
15017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15025 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15029 PyObject
* obj0
= 0 ;
15030 PyObject
* obj1
= 0 ;
15031 char *kwnames
[] = {
15032 (char *) "self",(char *) "m_metaDown", NULL
15035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15038 arg2
= (bool) SWIG_AsBool(obj1
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15040 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15042 Py_INCREF(Py_None
); resultobj
= Py_None
;
15049 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15050 PyObject
*resultobj
;
15051 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15053 PyObject
* obj0
= 0 ;
15054 char *kwnames
[] = {
15055 (char *) "self", NULL
15058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15061 result
= (bool) ((arg1
)->m_metaDown
);
15064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15072 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15076 PyObject
* obj0
= 0 ;
15077 PyObject
* obj1
= 0 ;
15078 char *kwnames
[] = {
15079 (char *) "self",(char *) "m_wheelRotation", NULL
15082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15085 arg2
= (int) SWIG_AsInt(obj1
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15087 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15089 Py_INCREF(Py_None
); resultobj
= Py_None
;
15096 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15100 PyObject
* obj0
= 0 ;
15101 char *kwnames
[] = {
15102 (char *) "self", NULL
15105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15108 result
= (int) ((arg1
)->m_wheelRotation
);
15110 resultobj
= SWIG_FromInt((int)result
);
15117 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
;
15119 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15121 PyObject
* obj0
= 0 ;
15122 PyObject
* obj1
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self",(char *) "m_wheelDelta", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15130 arg2
= (int) SWIG_AsInt(obj1
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15132 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15134 Py_INCREF(Py_None
); resultobj
= Py_None
;
15141 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15145 PyObject
* obj0
= 0 ;
15146 char *kwnames
[] = {
15147 (char *) "self", NULL
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15153 result
= (int) ((arg1
)->m_wheelDelta
);
15155 resultobj
= SWIG_FromInt((int)result
);
15162 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
;
15164 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15166 PyObject
* obj0
= 0 ;
15167 PyObject
* obj1
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self",(char *) "m_linesPerAction", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15175 arg2
= (int) SWIG_AsInt(obj1
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15177 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15179 Py_INCREF(Py_None
); resultobj
= Py_None
;
15186 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15187 PyObject
*resultobj
;
15188 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15190 PyObject
* obj0
= 0 ;
15191 char *kwnames
[] = {
15192 (char *) "self", NULL
15195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15198 result
= (int) ((arg1
)->m_linesPerAction
);
15200 resultobj
= SWIG_FromInt((int)result
);
15207 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15210 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15212 return Py_BuildValue((char *)"");
15214 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 int arg1
= (int) 0 ;
15217 int arg2
= (int) 0 ;
15218 wxSetCursorEvent
*result
;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "x",(char *) "y", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15227 arg1
= (int) SWIG_AsInt(obj0
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15231 arg2
= (int) SWIG_AsInt(obj1
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15236 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15238 wxPyEndAllowThreads(__tstate
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15248 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15249 PyObject
*resultobj
;
15250 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15252 PyObject
* obj0
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= SWIG_FromInt((int)result
);
15274 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
;
15276 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15278 PyObject
* obj0
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 resultobj
= SWIG_FromInt((int)result
);
15300 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15303 wxCursor
*arg2
= 0 ;
15304 PyObject
* obj0
= 0 ;
15305 PyObject
* obj1
= 0 ;
15306 char *kwnames
[] = {
15307 (char *) "self",(char *) "cursor", NULL
15310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15314 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15316 if (arg2
== NULL
) {
15317 PyErr_SetString(PyExc_TypeError
,"null reference");
15321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15322 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15324 wxPyEndAllowThreads(__tstate
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15327 Py_INCREF(Py_None
); resultobj
= Py_None
;
15334 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
;
15336 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15338 PyObject
* obj0
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15350 result
= (wxCursor
*) &_result_ref
;
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15357 wxCursor
* resultptr
= new wxCursor(*result
);
15358 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15366 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15367 PyObject
*resultobj
;
15368 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15370 PyObject
* obj0
= 0 ;
15371 char *kwnames
[] = {
15372 (char *) "self", NULL
15375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15394 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15397 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15399 return Py_BuildValue((char *)"");
15401 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15404 wxKeyEvent
*result
;
15405 PyObject
* obj0
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "keyType", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15412 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15429 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 char *kwnames
[] = {
15435 (char *) "self", NULL
15438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15457 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15458 PyObject
*resultobj
;
15459 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15461 PyObject
* obj0
= 0 ;
15462 char *kwnames
[] = {
15463 (char *) "self", NULL
15466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15471 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15485 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
;
15487 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15489 PyObject
* obj0
= 0 ;
15490 char *kwnames
[] = {
15491 (char *) "self", NULL
15494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15513 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15514 PyObject
*resultobj
;
15515 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15517 PyObject
* obj0
= 0 ;
15518 char *kwnames
[] = {
15519 (char *) "self", NULL
15522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15541 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15545 PyObject
* obj0
= 0 ;
15546 char *kwnames
[] = {
15547 (char *) "self", NULL
15550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15557 wxPyEndAllowThreads(__tstate
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15569 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15570 PyObject
*resultobj
;
15571 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15573 PyObject
* obj0
= 0 ;
15574 char *kwnames
[] = {
15575 (char *) "self", NULL
15578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15597 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
;
15599 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15601 PyObject
* obj0
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15613 wxPyEndAllowThreads(__tstate
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15616 resultobj
= SWIG_FromInt((int)result
);
15623 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15624 PyObject
*resultobj
;
15625 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15627 PyObject
* obj0
= 0 ;
15628 char *kwnames
[] = {
15629 (char *) "self", NULL
15632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= SWIG_FromInt((int)result
);
15649 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15650 PyObject
*resultobj
;
15651 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15652 unsigned int result
;
15653 PyObject
* obj0
= 0 ;
15654 char *kwnames
[] = {
15655 (char *) "self", NULL
15658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15675 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15678 unsigned int result
;
15679 PyObject
* obj0
= 0 ;
15680 char *kwnames
[] = {
15681 (char *) "self", NULL
15684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15701 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15705 PyObject
* obj0
= 0 ;
15706 char *kwnames
[] = {
15707 (char *) "self", NULL
15710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 result
= (arg1
)->GetPosition();
15717 wxPyEndAllowThreads(__tstate
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15721 wxPoint
* resultptr
;
15722 resultptr
= new wxPoint((wxPoint
&) result
);
15723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15731 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
;
15733 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15734 long *arg2
= (long *) 0 ;
15735 long *arg3
= (long *) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 char *kwnames
[] = {
15740 (char *) "self", NULL
15745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 (arg1
)->GetPosition(arg2
,arg3
);
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 Py_INCREF(Py_None
); resultobj
= Py_None
;
15757 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15758 resultobj
= t_output_helper(resultobj
,o
);
15761 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15762 resultobj
= t_output_helper(resultobj
,o
);
15770 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
;
15772 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15774 PyObject
* obj0
= 0 ;
15775 char *kwnames
[] = {
15776 (char *) "self", NULL
15779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= SWIG_FromInt((int)result
);
15796 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15797 PyObject
*resultobj
;
15798 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15800 PyObject
* obj0
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "self", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= SWIG_FromInt((int)result
);
15822 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
;
15824 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15826 PyObject
* obj0
= 0 ;
15827 PyObject
* obj1
= 0 ;
15828 char *kwnames
[] = {
15829 (char *) "self",(char *) "m_x", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15835 arg2
= (int) SWIG_AsInt(obj1
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15837 if (arg1
) (arg1
)->m_x
= arg2
;
15839 Py_INCREF(Py_None
); resultobj
= Py_None
;
15846 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15850 PyObject
* obj0
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15858 result
= (int) ((arg1
)->m_x
);
15860 resultobj
= SWIG_FromInt((int)result
);
15867 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 PyObject
* obj1
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "self",(char *) "m_y", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 arg2
= (int) SWIG_AsInt(obj1
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15882 if (arg1
) (arg1
)->m_y
= arg2
;
15884 Py_INCREF(Py_None
); resultobj
= Py_None
;
15891 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 char *kwnames
[] = {
15897 (char *) "self", NULL
15900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15903 result
= (int) ((arg1
)->m_y
);
15905 resultobj
= SWIG_FromInt((int)result
);
15912 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15913 PyObject
*resultobj
;
15914 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15916 PyObject
* obj0
= 0 ;
15917 PyObject
* obj1
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self",(char *) "m_keyCode", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15925 arg2
= (long) SWIG_AsLong(obj1
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15927 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15929 Py_INCREF(Py_None
); resultobj
= Py_None
;
15936 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15940 PyObject
* obj0
= 0 ;
15941 char *kwnames
[] = {
15942 (char *) "self", NULL
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15948 result
= (long) ((arg1
)->m_keyCode
);
15950 resultobj
= SWIG_FromLong((long)result
);
15957 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15958 PyObject
*resultobj
;
15959 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15961 PyObject
* obj0
= 0 ;
15962 PyObject
* obj1
= 0 ;
15963 char *kwnames
[] = {
15964 (char *) "self",(char *) "m_controlDown", NULL
15967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15970 arg2
= (bool) SWIG_AsBool(obj1
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15972 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15974 Py_INCREF(Py_None
); resultobj
= Py_None
;
15981 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
;
15983 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15985 PyObject
* obj0
= 0 ;
15986 char *kwnames
[] = {
15987 (char *) "self", NULL
15990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15993 result
= (bool) ((arg1
)->m_controlDown
);
15996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16004 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
;
16006 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16008 PyObject
* obj0
= 0 ;
16009 PyObject
* obj1
= 0 ;
16010 char *kwnames
[] = {
16011 (char *) "self",(char *) "m_shiftDown", NULL
16014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16017 arg2
= (bool) SWIG_AsBool(obj1
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16019 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16021 Py_INCREF(Py_None
); resultobj
= Py_None
;
16028 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
;
16030 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16032 PyObject
* obj0
= 0 ;
16033 char *kwnames
[] = {
16034 (char *) "self", NULL
16037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16040 result
= (bool) ((arg1
)->m_shiftDown
);
16043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16051 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
;
16053 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16055 PyObject
* obj0
= 0 ;
16056 PyObject
* obj1
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self",(char *) "m_altDown", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16064 arg2
= (bool) SWIG_AsBool(obj1
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16066 if (arg1
) (arg1
)->m_altDown
= arg2
;
16068 Py_INCREF(Py_None
); resultobj
= Py_None
;
16075 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16077 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16079 PyObject
* obj0
= 0 ;
16080 char *kwnames
[] = {
16081 (char *) "self", NULL
16084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16087 result
= (bool) ((arg1
)->m_altDown
);
16090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16098 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
;
16100 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16102 PyObject
* obj0
= 0 ;
16103 PyObject
* obj1
= 0 ;
16104 char *kwnames
[] = {
16105 (char *) "self",(char *) "m_metaDown", NULL
16108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16111 arg2
= (bool) SWIG_AsBool(obj1
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16113 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16115 Py_INCREF(Py_None
); resultobj
= Py_None
;
16122 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
;
16124 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16126 PyObject
* obj0
= 0 ;
16127 char *kwnames
[] = {
16128 (char *) "self", NULL
16131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16134 result
= (bool) ((arg1
)->m_metaDown
);
16137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16145 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16149 PyObject
* obj0
= 0 ;
16150 PyObject
* obj1
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self",(char *) "m_scanCode", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16158 arg2
= (bool) SWIG_AsBool(obj1
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16160 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16162 Py_INCREF(Py_None
); resultobj
= Py_None
;
16169 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16181 result
= (bool) ((arg1
)->m_scanCode
);
16184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16192 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16193 PyObject
*resultobj
;
16194 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16195 unsigned int arg2
;
16196 PyObject
* obj0
= 0 ;
16197 PyObject
* obj1
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self",(char *) "m_rawCode", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16205 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16207 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16209 Py_INCREF(Py_None
); resultobj
= Py_None
;
16216 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16217 PyObject
*resultobj
;
16218 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16219 unsigned int result
;
16220 PyObject
* obj0
= 0 ;
16221 char *kwnames
[] = {
16222 (char *) "self", NULL
16225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16228 result
= (unsigned int) ((arg1
)->m_rawCode
);
16230 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16237 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16238 PyObject
*resultobj
;
16239 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16240 unsigned int arg2
;
16241 PyObject
* obj0
= 0 ;
16242 PyObject
* obj1
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self",(char *) "m_rawFlags", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16250 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16252 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16254 Py_INCREF(Py_None
); resultobj
= Py_None
;
16261 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16262 PyObject
*resultobj
;
16263 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16264 unsigned int result
;
16265 PyObject
* obj0
= 0 ;
16266 char *kwnames
[] = {
16267 (char *) "self", NULL
16270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16273 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16275 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16282 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16285 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16287 return Py_BuildValue((char *)"");
16289 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16292 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16293 int arg2
= (int) 0 ;
16294 wxSizeEvent
*result
;
16296 PyObject
* obj0
= 0 ;
16297 PyObject
* obj1
= 0 ;
16298 char *kwnames
[] = {
16299 (char *) "sz",(char *) "winid", NULL
16302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16306 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16310 arg2
= (int) SWIG_AsInt(obj1
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16327 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16347 wxSize
* resultptr
;
16348 resultptr
= new wxSize((wxSize
&) result
);
16349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16357 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16377 wxRect
* resultptr
;
16378 resultptr
= new wxRect((wxRect
&) result
);
16379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16387 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
;
16389 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16392 PyObject
* obj0
= 0 ;
16393 PyObject
* obj1
= 0 ;
16394 char *kwnames
[] = {
16395 (char *) "self",(char *) "rect", NULL
16398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16401 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16402 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16406 (arg1
)->SetRect(arg2
);
16408 wxPyEndAllowThreads(__tstate
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16411 Py_INCREF(Py_None
); resultobj
= Py_None
;
16418 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16419 PyObject
*resultobj
;
16420 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16423 PyObject
* obj0
= 0 ;
16424 PyObject
* obj1
= 0 ;
16425 char *kwnames
[] = {
16426 (char *) "self",(char *) "size", NULL
16429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16432 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16433 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 wxSizeEvent_SetSize(arg1
,arg2
);
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 Py_INCREF(Py_None
); resultobj
= Py_None
;
16449 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16452 wxSize
*arg2
= (wxSize
*) 0 ;
16453 PyObject
* obj0
= 0 ;
16454 PyObject
* obj1
= 0 ;
16455 char *kwnames
[] = {
16456 (char *) "self",(char *) "m_size", NULL
16459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16464 if (arg1
) (arg1
)->m_size
= *arg2
;
16466 Py_INCREF(Py_None
); resultobj
= Py_None
;
16473 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
;
16475 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16477 PyObject
* obj0
= 0 ;
16478 char *kwnames
[] = {
16479 (char *) "self", NULL
16482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16485 result
= (wxSize
*)& ((arg1
)->m_size
);
16487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16494 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16497 wxRect
*arg2
= (wxRect
*) 0 ;
16498 PyObject
* obj0
= 0 ;
16499 PyObject
* obj1
= 0 ;
16500 char *kwnames
[] = {
16501 (char *) "self",(char *) "m_rect", NULL
16504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16509 if (arg1
) (arg1
)->m_rect
= *arg2
;
16511 Py_INCREF(Py_None
); resultobj
= Py_None
;
16518 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
;
16520 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16522 PyObject
* obj0
= 0 ;
16523 char *kwnames
[] = {
16524 (char *) "self", NULL
16527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16530 result
= (wxRect
*)& ((arg1
)->m_rect
);
16532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16539 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16542 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16544 return Py_BuildValue((char *)"");
16546 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
;
16548 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16549 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16550 int arg2
= (int) 0 ;
16551 wxMoveEvent
*result
;
16553 PyObject
* obj0
= 0 ;
16554 PyObject
* obj1
= 0 ;
16555 char *kwnames
[] = {
16556 (char *) "pos",(char *) "winid", NULL
16559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16563 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16567 arg2
= (int) SWIG_AsInt(obj1
);
16568 if (PyErr_Occurred()) SWIG_fail
;
16571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16572 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16574 wxPyEndAllowThreads(__tstate
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16584 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16604 wxPoint
* resultptr
;
16605 resultptr
= new wxPoint((wxPoint
&) result
);
16606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16614 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
;
16616 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16618 PyObject
* obj0
= 0 ;
16619 char *kwnames
[] = {
16620 (char *) "self", NULL
16623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16628 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16634 wxRect
* resultptr
;
16635 resultptr
= new wxRect((wxRect
&) result
);
16636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16644 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
;
16646 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16649 PyObject
* obj0
= 0 ;
16650 PyObject
* obj1
= 0 ;
16651 char *kwnames
[] = {
16652 (char *) "self",(char *) "rect", NULL
16655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16658 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16659 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16663 (arg1
)->SetRect(arg2
);
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16668 Py_INCREF(Py_None
); resultobj
= Py_None
;
16675 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
;
16677 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16680 PyObject
* obj0
= 0 ;
16681 PyObject
* obj1
= 0 ;
16682 char *kwnames
[] = {
16683 (char *) "self",(char *) "pos", NULL
16686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16689 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16690 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 wxMoveEvent_SetPosition(arg1
,arg2
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 Py_INCREF(Py_None
); resultobj
= Py_None
;
16706 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16709 wxPoint
*arg2
= (wxPoint
*) 0 ;
16710 PyObject
* obj0
= 0 ;
16711 PyObject
* obj1
= 0 ;
16712 char *kwnames
[] = {
16713 (char *) "self",(char *) "m_pos", NULL
16716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16721 if (arg1
) (arg1
)->m_pos
= *arg2
;
16723 Py_INCREF(Py_None
); resultobj
= Py_None
;
16730 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16731 PyObject
*resultobj
;
16732 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16734 PyObject
* obj0
= 0 ;
16735 char *kwnames
[] = {
16736 (char *) "self", NULL
16739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16742 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16751 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
;
16753 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16754 wxRect
*arg2
= (wxRect
*) 0 ;
16755 PyObject
* obj0
= 0 ;
16756 PyObject
* obj1
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "self",(char *) "m_rect", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16766 if (arg1
) (arg1
)->m_rect
= *arg2
;
16768 Py_INCREF(Py_None
); resultobj
= Py_None
;
16775 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
;
16777 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16779 PyObject
* obj0
= 0 ;
16780 char *kwnames
[] = {
16781 (char *) "self", NULL
16784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16787 result
= (wxRect
*)& ((arg1
)->m_rect
);
16789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16796 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16799 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16801 return Py_BuildValue((char *)"");
16803 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
;
16805 int arg1
= (int) 0 ;
16806 wxPaintEvent
*result
;
16807 PyObject
* obj0
= 0 ;
16808 char *kwnames
[] = {
16809 (char *) "Id", NULL
16812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16814 arg1
= (int) SWIG_AsInt(obj0
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16831 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16834 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16836 return Py_BuildValue((char *)"");
16838 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16839 PyObject
*resultobj
;
16840 int arg1
= (int) 0 ;
16841 wxNcPaintEvent
*result
;
16842 PyObject
* obj0
= 0 ;
16843 char *kwnames
[] = {
16844 (char *) "winid", NULL
16847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16849 arg1
= (int) SWIG_AsInt(obj0
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16856 wxPyEndAllowThreads(__tstate
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16866 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16869 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16871 return Py_BuildValue((char *)"");
16873 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 int arg1
= (int) 0 ;
16876 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16877 wxEraseEvent
*result
;
16878 PyObject
* obj0
= 0 ;
16879 PyObject
* obj1
= 0 ;
16880 char *kwnames
[] = {
16881 (char *) "Id",(char *) "dc", NULL
16884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16886 arg1
= (int) SWIG_AsInt(obj0
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16907 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
;
16909 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16911 PyObject
* obj0
= 0 ;
16912 char *kwnames
[] = {
16913 (char *) "self", NULL
16916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= wxPyMake_wxObject(result
, 0);
16935 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16938 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16940 return Py_BuildValue((char *)"");
16942 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
;
16944 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16945 int arg2
= (int) 0 ;
16946 wxFocusEvent
*result
;
16947 PyObject
* obj0
= 0 ;
16948 PyObject
* obj1
= 0 ;
16949 char *kwnames
[] = {
16950 (char *) "type",(char *) "winid", NULL
16953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16955 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16959 arg2
= (int) SWIG_AsInt(obj1
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16976 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 char *kwnames
[] = {
16982 (char *) "self", NULL
16985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= wxPyMake_wxObject(result
, 0);
17004 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17007 wxWindow
*arg2
= (wxWindow
*) 0 ;
17008 PyObject
* obj0
= 0 ;
17009 PyObject
* obj1
= 0 ;
17010 char *kwnames
[] = {
17011 (char *) "self",(char *) "win", NULL
17014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 (arg1
)->SetWindow(arg2
);
17023 wxPyEndAllowThreads(__tstate
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17026 Py_INCREF(Py_None
); resultobj
= Py_None
;
17033 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17036 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17038 return Py_BuildValue((char *)"");
17040 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
;
17042 wxWindow
*arg1
= (wxWindow
*) NULL
;
17043 wxChildFocusEvent
*result
;
17044 PyObject
* obj0
= 0 ;
17045 char *kwnames
[] = {
17046 (char *) "win", NULL
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17056 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17068 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
;
17070 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17072 PyObject
* obj0
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "self", NULL
17077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17082 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17084 wxPyEndAllowThreads(__tstate
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17088 resultobj
= wxPyMake_wxObject(result
, 0);
17096 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17099 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17101 return Py_BuildValue((char *)"");
17103 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17104 PyObject
*resultobj
;
17105 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17106 bool arg2
= (bool) True
;
17107 int arg3
= (int) 0 ;
17108 wxActivateEvent
*result
;
17109 PyObject
* obj0
= 0 ;
17110 PyObject
* obj1
= 0 ;
17111 PyObject
* obj2
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "type",(char *) "active",(char *) "Id", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17118 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17122 arg2
= (bool) SWIG_AsBool(obj1
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17126 arg3
= (int) SWIG_AsInt(obj2
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17133 wxPyEndAllowThreads(__tstate
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17143 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17145 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17147 PyObject
* obj0
= 0 ;
17148 char *kwnames
[] = {
17149 (char *) "self", NULL
17152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17159 wxPyEndAllowThreads(__tstate
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17171 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17174 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17176 return Py_BuildValue((char *)"");
17178 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
;
17180 int arg1
= (int) 0 ;
17181 wxInitDialogEvent
*result
;
17182 PyObject
* obj0
= 0 ;
17183 char *kwnames
[] = {
17184 (char *) "Id", NULL
17187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17189 arg1
= (int) SWIG_AsInt(obj0
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17206 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17209 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17211 return Py_BuildValue((char *)"");
17213 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17216 int arg2
= (int) 0 ;
17217 wxMenu
*arg3
= (wxMenu
*) NULL
;
17218 wxMenuEvent
*result
;
17219 PyObject
* obj0
= 0 ;
17220 PyObject
* obj1
= 0 ;
17221 PyObject
* obj2
= 0 ;
17222 char *kwnames
[] = {
17223 (char *) "type",(char *) "winid",(char *) "menu", NULL
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17228 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17232 arg2
= (int) SWIG_AsInt(obj1
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17236 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17241 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17243 wxPyEndAllowThreads(__tstate
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17253 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
;
17255 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17257 PyObject
* obj0
= 0 ;
17258 char *kwnames
[] = {
17259 (char *) "self", NULL
17262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17272 resultobj
= SWIG_FromInt((int)result
);
17279 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
;
17281 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17283 PyObject
* obj0
= 0 ;
17284 char *kwnames
[] = {
17285 (char *) "self", NULL
17288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17307 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
;
17309 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17311 PyObject
* obj0
= 0 ;
17312 char *kwnames
[] = {
17313 (char *) "self", NULL
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= wxPyMake_wxObject(result
, 0);
17335 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17338 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17340 return Py_BuildValue((char *)"");
17342 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
;
17344 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17345 int arg2
= (int) 0 ;
17346 wxCloseEvent
*result
;
17347 PyObject
* obj0
= 0 ;
17348 PyObject
* obj1
= 0 ;
17349 char *kwnames
[] = {
17350 (char *) "type",(char *) "winid", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17355 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 arg2
= (int) SWIG_AsInt(obj1
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17364 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17366 wxPyEndAllowThreads(__tstate
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17376 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
;
17378 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17380 PyObject
* obj0
= 0 ;
17381 PyObject
* obj1
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "self",(char *) "logOff", NULL
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17389 arg2
= (bool) SWIG_AsBool(obj1
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 (arg1
)->SetLoggingOff(arg2
);
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 Py_INCREF(Py_None
); resultobj
= Py_None
;
17405 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17407 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17409 PyObject
* obj0
= 0 ;
17410 char *kwnames
[] = {
17411 (char *) "self", NULL
17414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17433 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17436 bool arg2
= (bool) True
;
17437 PyObject
* obj0
= 0 ;
17438 PyObject
* obj1
= 0 ;
17439 char *kwnames
[] = {
17440 (char *) "self",(char *) "veto", NULL
17443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17447 arg2
= (bool) SWIG_AsBool(obj1
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 (arg1
)->Veto(arg2
);
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17457 Py_INCREF(Py_None
); resultobj
= Py_None
;
17464 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17465 PyObject
*resultobj
;
17466 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17468 PyObject
* obj0
= 0 ;
17469 PyObject
* obj1
= 0 ;
17470 char *kwnames
[] = {
17471 (char *) "self",(char *) "canVeto", NULL
17474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17477 arg2
= (bool) SWIG_AsBool(obj1
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17481 (arg1
)->SetCanVeto(arg2
);
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17486 Py_INCREF(Py_None
); resultobj
= Py_None
;
17493 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
;
17495 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17497 PyObject
* obj0
= 0 ;
17498 char *kwnames
[] = {
17499 (char *) "self", NULL
17502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17521 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
;
17523 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17525 PyObject
* obj0
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17549 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17552 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17554 return Py_BuildValue((char *)"");
17556 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 int arg1
= (int) 0 ;
17559 bool arg2
= (bool) False
;
17560 wxShowEvent
*result
;
17561 PyObject
* obj0
= 0 ;
17562 PyObject
* obj1
= 0 ;
17563 char *kwnames
[] = {
17564 (char *) "winid",(char *) "show", NULL
17567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17569 arg1
= (int) SWIG_AsInt(obj0
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17573 arg2
= (bool) SWIG_AsBool(obj1
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17590 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 char *kwnames
[] = {
17597 (char *) "self",(char *) "show", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17603 arg2
= (bool) SWIG_AsBool(obj1
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 (arg1
)->SetShow(arg2
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 Py_INCREF(Py_None
); resultobj
= Py_None
;
17619 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17623 PyObject
* obj0
= 0 ;
17624 char *kwnames
[] = {
17625 (char *) "self", NULL
17628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17647 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17650 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17652 return Py_BuildValue((char *)"");
17654 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17655 PyObject
*resultobj
;
17656 int arg1
= (int) 0 ;
17657 bool arg2
= (bool) True
;
17658 wxIconizeEvent
*result
;
17659 PyObject
* obj0
= 0 ;
17660 PyObject
* obj1
= 0 ;
17661 char *kwnames
[] = {
17662 (char *) "id",(char *) "iconized", NULL
17665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17667 arg1
= (int) SWIG_AsInt(obj0
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17671 arg2
= (bool) SWIG_AsBool(obj1
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17688 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17692 PyObject
* obj0
= 0 ;
17693 char *kwnames
[] = {
17694 (char *) "self", NULL
17697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (bool)(arg1
)->Iconized();
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17716 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17719 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17721 return Py_BuildValue((char *)"");
17723 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
;
17725 int arg1
= (int) 0 ;
17726 wxMaximizeEvent
*result
;
17727 PyObject
* obj0
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "id", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17734 arg1
= (int) SWIG_AsInt(obj0
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17751 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17754 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17756 return Py_BuildValue((char *)"");
17758 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
;
17760 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17762 PyObject
* obj0
= 0 ;
17763 char *kwnames
[] = {
17764 (char *) "self", NULL
17767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= (arg1
)->GetPosition();
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17778 wxPoint
* resultptr
;
17779 resultptr
= new wxPoint((wxPoint
&) result
);
17780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17788 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17792 PyObject
* obj0
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "self", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 result
= (int)(arg1
)->GetNumberOfFiles();
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 resultobj
= SWIG_FromInt((int)result
);
17814 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
;
17816 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17818 PyObject
* obj0
= 0 ;
17819 char *kwnames
[] = {
17820 (char *) "self", NULL
17823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17830 wxPyEndAllowThreads(__tstate
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17833 resultobj
= result
;
17840 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17843 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17845 return Py_BuildValue((char *)"");
17847 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 int arg1
= (int) 0 ;
17850 wxUpdateUIEvent
*result
;
17851 PyObject
* obj0
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "commandId", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17858 arg1
= (int) SWIG_AsInt(obj0
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17875 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17879 PyObject
* obj0
= 0 ;
17880 char *kwnames
[] = {
17881 (char *) "self", NULL
17884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17903 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
;
17905 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17907 PyObject
* obj0
= 0 ;
17908 char *kwnames
[] = {
17909 (char *) "self", NULL
17912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17931 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17935 PyObject
* obj0
= 0 ;
17936 char *kwnames
[] = {
17937 (char *) "self", NULL
17940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17947 wxPyEndAllowThreads(__tstate
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17963 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17964 PyObject
*resultobj
;
17965 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17967 PyObject
* obj0
= 0 ;
17968 char *kwnames
[] = {
17969 (char *) "self", NULL
17972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17991 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17995 PyObject
* obj0
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18019 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
;
18021 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18023 PyObject
* obj0
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18047 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 char *kwnames
[] = {
18054 (char *) "self",(char *) "check", NULL
18057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18060 arg2
= (bool) SWIG_AsBool(obj1
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 (arg1
)->Check(arg2
);
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18069 Py_INCREF(Py_None
); resultobj
= Py_None
;
18076 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
;
18078 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 PyObject
* obj1
= 0 ;
18082 char *kwnames
[] = {
18083 (char *) "self",(char *) "enable", NULL
18086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18089 arg2
= (bool) SWIG_AsBool(obj1
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18093 (arg1
)->Enable(arg2
);
18095 wxPyEndAllowThreads(__tstate
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18098 Py_INCREF(Py_None
); resultobj
= Py_None
;
18105 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18106 PyObject
*resultobj
;
18107 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18108 wxString
*arg2
= 0 ;
18109 bool temp2
= False
;
18110 PyObject
* obj0
= 0 ;
18111 PyObject
* obj1
= 0 ;
18112 char *kwnames
[] = {
18113 (char *) "self",(char *) "text", NULL
18116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18120 arg2
= wxString_in_helper(obj1
);
18121 if (arg2
== NULL
) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 (arg1
)->SetText((wxString
const &)*arg2
);
18128 wxPyEndAllowThreads(__tstate
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18131 Py_INCREF(Py_None
); resultobj
= Py_None
;
18146 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18149 PyObject
* obj0
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "updateInterval", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18155 arg1
= (long) SWIG_AsLong(obj0
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 Py_INCREF(Py_None
); resultobj
= Py_None
;
18171 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18174 char *kwnames
[] = {
18178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18186 resultobj
= SWIG_FromLong((long)result
);
18193 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
;
18195 wxWindow
*arg1
= (wxWindow
*) 0 ;
18197 PyObject
* obj0
= 0 ;
18198 char *kwnames
[] = {
18199 (char *) "win", NULL
18202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18207 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18221 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
;
18223 char *kwnames
[] = {
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18230 wxUpdateUIEvent::ResetUpdateTime();
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 Py_INCREF(Py_None
); resultobj
= Py_None
;
18242 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18245 PyObject
* obj0
= 0 ;
18246 char *kwnames
[] = {
18247 (char *) "mode", NULL
18250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18251 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 Py_INCREF(Py_None
); resultobj
= Py_None
;
18267 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
;
18270 char *kwnames
[] = {
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 result
= (int)wxUpdateUIEvent::GetMode();
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= SWIG_FromInt((int)result
);
18289 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18292 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18294 return Py_BuildValue((char *)"");
18296 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxSysColourChangedEvent
*result
;
18299 char *kwnames
[] = {
18303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18318 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18321 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18323 return Py_BuildValue((char *)"");
18325 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18326 PyObject
*resultobj
;
18327 int arg1
= (int) 0 ;
18328 wxWindow
*arg2
= (wxWindow
*) NULL
;
18329 wxMouseCaptureChangedEvent
*result
;
18330 PyObject
* obj0
= 0 ;
18331 PyObject
* obj1
= 0 ;
18332 char *kwnames
[] = {
18333 (char *) "winid",(char *) "gainedCapture", NULL
18336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18338 arg1
= (int) SWIG_AsInt(obj0
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18359 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18361 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18363 PyObject
* obj0
= 0 ;
18364 char *kwnames
[] = {
18365 (char *) "self", NULL
18368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= wxPyMake_wxObject(result
, 0);
18387 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18390 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18392 return Py_BuildValue((char *)"");
18394 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18395 PyObject
*resultobj
;
18396 wxDisplayChangedEvent
*result
;
18397 char *kwnames
[] = {
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18416 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18419 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18421 return Py_BuildValue((char *)"");
18423 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
;
18425 int arg1
= (int) 0 ;
18426 wxPaletteChangedEvent
*result
;
18427 PyObject
* obj0
= 0 ;
18428 char *kwnames
[] = {
18429 (char *) "id", NULL
18432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18434 arg1
= (int) SWIG_AsInt(obj0
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18451 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
;
18453 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18454 wxWindow
*arg2
= (wxWindow
*) 0 ;
18455 PyObject
* obj0
= 0 ;
18456 PyObject
* obj1
= 0 ;
18457 char *kwnames
[] = {
18458 (char *) "self",(char *) "win", NULL
18461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 (arg1
)->SetChangedWindow(arg2
);
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 Py_INCREF(Py_None
); resultobj
= Py_None
;
18480 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
;
18482 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18484 PyObject
* obj0
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18494 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18496 wxPyEndAllowThreads(__tstate
);
18497 if (PyErr_Occurred()) SWIG_fail
;
18500 resultobj
= wxPyMake_wxObject(result
, 0);
18508 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18511 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18513 return Py_BuildValue((char *)"");
18515 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
;
18517 int arg1
= (int) 0 ;
18518 wxQueryNewPaletteEvent
*result
;
18519 PyObject
* obj0
= 0 ;
18520 char *kwnames
[] = {
18521 (char *) "winid", NULL
18524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18526 arg1
= (int) SWIG_AsInt(obj0
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18543 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
;
18545 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18547 PyObject
* obj0
= 0 ;
18548 PyObject
* obj1
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self",(char *) "realized", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18556 arg2
= (bool) SWIG_AsBool(obj1
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 (arg1
)->SetPaletteRealized(arg2
);
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 Py_INCREF(Py_None
); resultobj
= Py_None
;
18572 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "self", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18600 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18603 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18605 return Py_BuildValue((char *)"");
18607 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
;
18609 wxNavigationKeyEvent
*result
;
18610 char *kwnames
[] = {
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18629 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18631 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18633 PyObject
* obj0
= 0 ;
18634 char *kwnames
[] = {
18635 (char *) "self", NULL
18638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18657 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18658 PyObject
*resultobj
;
18659 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18661 PyObject
* obj0
= 0 ;
18662 PyObject
* obj1
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "self",(char *) "forward", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18670 arg2
= (bool) SWIG_AsBool(obj1
);
18671 if (PyErr_Occurred()) SWIG_fail
;
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 (arg1
)->SetDirection(arg2
);
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 Py_INCREF(Py_None
); resultobj
= Py_None
;
18686 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18687 PyObject
*resultobj
;
18688 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18690 PyObject
* obj0
= 0 ;
18691 char *kwnames
[] = {
18692 (char *) "self", NULL
18695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18700 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18702 wxPyEndAllowThreads(__tstate
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18714 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18715 PyObject
*resultobj
;
18716 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18718 PyObject
* obj0
= 0 ;
18719 PyObject
* obj1
= 0 ;
18720 char *kwnames
[] = {
18721 (char *) "self",(char *) "ischange", NULL
18724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18727 arg2
= (bool) SWIG_AsBool(obj1
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18731 (arg1
)->SetWindowChange(arg2
);
18733 wxPyEndAllowThreads(__tstate
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18736 Py_INCREF(Py_None
); resultobj
= Py_None
;
18743 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
;
18745 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18747 PyObject
* obj0
= 0 ;
18748 PyObject
* obj1
= 0 ;
18749 char *kwnames
[] = {
18750 (char *) "self",(char *) "flags", NULL
18753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
18754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18756 arg2
= (long) SWIG_AsLong(obj1
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18760 (arg1
)->SetFlags(arg2
);
18762 wxPyEndAllowThreads(__tstate
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18765 Py_INCREF(Py_None
); resultobj
= Py_None
;
18772 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18773 PyObject
*resultobj
;
18774 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18776 PyObject
* obj0
= 0 ;
18777 char *kwnames
[] = {
18778 (char *) "self", NULL
18781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= wxPyMake_wxObject(result
, 0);
18800 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18801 PyObject
*resultobj
;
18802 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18803 wxWindow
*arg2
= (wxWindow
*) 0 ;
18804 PyObject
* obj0
= 0 ;
18805 PyObject
* obj1
= 0 ;
18806 char *kwnames
[] = {
18807 (char *) "self",(char *) "win", NULL
18810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 (arg1
)->SetCurrentFocus(arg2
);
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18822 Py_INCREF(Py_None
); resultobj
= Py_None
;
18829 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18832 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18834 return Py_BuildValue((char *)"");
18836 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
;
18838 wxWindow
*arg1
= (wxWindow
*) NULL
;
18839 wxWindowCreateEvent
*result
;
18840 PyObject
* obj0
= 0 ;
18841 char *kwnames
[] = {
18842 (char *) "win", NULL
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18864 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18865 PyObject
*resultobj
;
18866 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18868 PyObject
* obj0
= 0 ;
18869 char *kwnames
[] = {
18870 (char *) "self", NULL
18873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= wxPyMake_wxObject(result
, 0);
18892 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18895 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18897 return Py_BuildValue((char *)"");
18899 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxWindow
*arg1
= (wxWindow
*) NULL
;
18902 wxWindowDestroyEvent
*result
;
18903 PyObject
* obj0
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "win", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18927 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18931 PyObject
* obj0
= 0 ;
18932 char *kwnames
[] = {
18933 (char *) "self", NULL
18936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18941 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= wxPyMake_wxObject(result
, 0);
18955 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18958 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18960 return Py_BuildValue((char *)"");
18962 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18963 PyObject
*resultobj
;
18964 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18965 int arg2
= (int) 0 ;
18966 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18967 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18968 wxContextMenuEvent
*result
;
18970 PyObject
* obj0
= 0 ;
18971 PyObject
* obj1
= 0 ;
18972 PyObject
* obj2
= 0 ;
18973 char *kwnames
[] = {
18974 (char *) "type",(char *) "winid",(char *) "pt", NULL
18977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18979 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18983 arg2
= (int) SWIG_AsInt(obj1
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18989 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19006 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
;
19008 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19010 PyObject
* obj0
= 0 ;
19011 char *kwnames
[] = {
19012 (char *) "self", NULL
19015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19022 result
= (wxPoint
*) &_result_ref
;
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19035 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
;
19037 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19038 wxPoint
*arg2
= 0 ;
19040 PyObject
* obj0
= 0 ;
19041 PyObject
* obj1
= 0 ;
19042 char *kwnames
[] = {
19043 (char *) "self",(char *) "pos", NULL
19046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19051 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19055 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 Py_INCREF(Py_None
); resultobj
= Py_None
;
19067 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19070 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19072 return Py_BuildValue((char *)"");
19074 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
;
19076 wxIdleEvent
*result
;
19077 char *kwnames
[] = {
19081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 result
= (wxIdleEvent
*)new wxIdleEvent();
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19096 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19099 bool arg2
= (bool) True
;
19100 PyObject
* obj0
= 0 ;
19101 PyObject
* obj1
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "self",(char *) "needMore", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19110 arg2
= (bool) SWIG_AsBool(obj1
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 (arg1
)->RequestMore(arg2
);
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 Py_INCREF(Py_None
); resultobj
= Py_None
;
19127 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
;
19129 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19131 PyObject
* obj0
= 0 ;
19132 char *kwnames
[] = {
19133 (char *) "self", NULL
19136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19141 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19143 wxPyEndAllowThreads(__tstate
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19155 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19156 PyObject
*resultobj
;
19158 PyObject
* obj0
= 0 ;
19159 char *kwnames
[] = {
19160 (char *) "mode", NULL
19163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19164 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19168 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19170 wxPyEndAllowThreads(__tstate
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19173 Py_INCREF(Py_None
); resultobj
= Py_None
;
19180 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19183 char *kwnames
[] = {
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19190 result
= (int)wxIdleEvent::GetMode();
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19195 resultobj
= SWIG_FromInt((int)result
);
19202 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
;
19204 wxWindow
*arg1
= (wxWindow
*) 0 ;
19206 PyObject
* obj0
= 0 ;
19207 char *kwnames
[] = {
19208 (char *) "win", NULL
19211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 result
= (bool)wxIdleEvent::CanSend(arg1
);
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19230 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19233 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19235 return Py_BuildValue((char *)"");
19237 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 int arg1
= (int) 0 ;
19240 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19242 PyObject
* obj0
= 0 ;
19243 PyObject
* obj1
= 0 ;
19244 char *kwnames
[] = {
19245 (char *) "winid",(char *) "commandType", NULL
19248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19250 arg1
= (int) SWIG_AsInt(obj0
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19254 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19271 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19272 PyObject
*resultobj
;
19273 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19274 PyObject
* obj0
= 0 ;
19275 char *kwnames
[] = {
19276 (char *) "self", NULL
19279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19289 Py_INCREF(Py_None
); resultobj
= Py_None
;
19296 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
;
19298 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19299 PyObject
*arg2
= (PyObject
*) 0 ;
19300 PyObject
* obj0
= 0 ;
19301 PyObject
* obj1
= 0 ;
19302 char *kwnames
[] = {
19303 (char *) "self",(char *) "self", NULL
19306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19312 (arg1
)->SetSelf(arg2
);
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19317 Py_INCREF(Py_None
); resultobj
= Py_None
;
19324 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19325 PyObject
*resultobj
;
19326 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19328 PyObject
* obj0
= 0 ;
19329 char *kwnames
[] = {
19330 (char *) "self", NULL
19333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 result
= (PyObject
*)(arg1
)->GetSelf();
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 resultobj
= result
;
19350 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19353 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19355 return Py_BuildValue((char *)"");
19357 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
;
19359 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19360 int arg2
= (int) 0 ;
19361 wxPyCommandEvent
*result
;
19362 PyObject
* obj0
= 0 ;
19363 PyObject
* obj1
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "commandType",(char *) "id", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19370 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19374 arg2
= (int) SWIG_AsInt(obj1
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19381 wxPyEndAllowThreads(__tstate
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19391 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
;
19393 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19394 PyObject
* obj0
= 0 ;
19395 char *kwnames
[] = {
19396 (char *) "self", NULL
19399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19406 wxPyEndAllowThreads(__tstate
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19409 Py_INCREF(Py_None
); resultobj
= Py_None
;
19416 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
;
19418 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19419 PyObject
*arg2
= (PyObject
*) 0 ;
19420 PyObject
* obj0
= 0 ;
19421 PyObject
* obj1
= 0 ;
19422 char *kwnames
[] = {
19423 (char *) "self",(char *) "self", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 (arg1
)->SetSelf(arg2
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 Py_INCREF(Py_None
); resultobj
= Py_None
;
19444 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
;
19446 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19448 PyObject
* obj0
= 0 ;
19449 char *kwnames
[] = {
19450 (char *) "self", NULL
19453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19458 result
= (PyObject
*)(arg1
)->GetSelf();
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 resultobj
= result
;
19470 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19473 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19475 return Py_BuildValue((char *)"");
19477 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19478 PyObject
*resultobj
;
19480 char *kwnames
[] = {
19484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 result
= (wxPyApp
*)new_wxPyApp();
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19499 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
;
19501 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19502 PyObject
* obj0
= 0 ;
19503 char *kwnames
[] = {
19504 (char *) "self", NULL
19507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 Py_INCREF(Py_None
); resultobj
= Py_None
;
19524 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
;
19526 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19527 PyObject
*arg2
= (PyObject
*) 0 ;
19528 PyObject
*arg3
= (PyObject
*) 0 ;
19529 PyObject
* obj0
= 0 ;
19530 PyObject
* obj1
= 0 ;
19531 PyObject
* obj2
= 0 ;
19532 char *kwnames
[] = {
19533 (char *) "self",(char *) "self",(char *) "_class", NULL
19536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19548 Py_INCREF(Py_None
); resultobj
= Py_None
;
19555 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
;
19557 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19559 PyObject
* obj0
= 0 ;
19560 char *kwnames
[] = {
19561 (char *) "self", NULL
19564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19571 wxPyEndAllowThreads(__tstate
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19587 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
;
19589 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19590 wxString
*arg2
= 0 ;
19591 bool temp2
= False
;
19592 PyObject
* obj0
= 0 ;
19593 PyObject
* obj1
= 0 ;
19594 char *kwnames
[] = {
19595 (char *) "self",(char *) "name", NULL
19598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19602 arg2
= wxString_in_helper(obj1
);
19603 if (arg2
== NULL
) SWIG_fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 (arg1
)->SetAppName((wxString
const &)*arg2
);
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 Py_INCREF(Py_None
); resultobj
= Py_None
;
19628 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
;
19630 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19632 PyObject
* obj0
= 0 ;
19633 char *kwnames
[] = {
19634 (char *) "self", NULL
19637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19642 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19660 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
;
19662 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19663 wxString
*arg2
= 0 ;
19664 bool temp2
= False
;
19665 PyObject
* obj0
= 0 ;
19666 PyObject
* obj1
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "self",(char *) "name", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19675 arg2
= wxString_in_helper(obj1
);
19676 if (arg2
== NULL
) SWIG_fail
;
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 (arg1
)->SetClassName((wxString
const &)*arg2
);
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19686 Py_INCREF(Py_None
); resultobj
= Py_None
;
19701 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19717 result
= (wxString
*) &_result_ref
;
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19727 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19736 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19737 PyObject
*resultobj
;
19738 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19739 wxString
*arg2
= 0 ;
19740 bool temp2
= False
;
19741 PyObject
* obj0
= 0 ;
19742 PyObject
* obj1
= 0 ;
19743 char *kwnames
[] = {
19744 (char *) "self",(char *) "name", NULL
19747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19751 arg2
= wxString_in_helper(obj1
);
19752 if (arg2
== NULL
) SWIG_fail
;
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19762 Py_INCREF(Py_None
); resultobj
= Py_None
;
19777 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
;
19779 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19780 wxAppTraits
*result
;
19781 PyObject
* obj0
= 0 ;
19782 char *kwnames
[] = {
19783 (char *) "self", NULL
19786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19793 wxPyEndAllowThreads(__tstate
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19803 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19804 PyObject
*resultobj
;
19805 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19806 PyObject
* obj0
= 0 ;
19807 char *kwnames
[] = {
19808 (char *) "self", NULL
19811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 (arg1
)->ProcessPendingEvents();
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 Py_INCREF(Py_None
); resultobj
= Py_None
;
19828 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19831 bool arg2
= (bool) False
;
19833 PyObject
* obj0
= 0 ;
19834 PyObject
* obj1
= 0 ;
19835 char *kwnames
[] = {
19836 (char *) "self",(char *) "onlyIfNeeded", NULL
19839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19843 arg2
= (bool) SWIG_AsBool(obj1
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 result
= (bool)(arg1
)->Yield(arg2
);
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19862 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
;
19864 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 char *kwnames
[] = {
19867 (char *) "self", NULL
19870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 (arg1
)->WakeUpIdle();
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19880 Py_INCREF(Py_None
); resultobj
= Py_None
;
19887 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
;
19889 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19891 PyObject
* obj0
= 0 ;
19892 char *kwnames
[] = {
19893 (char *) "self", NULL
19896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 result
= (int)(arg1
)->MainLoop();
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19906 resultobj
= SWIG_FromInt((int)result
);
19913 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19916 PyObject
* obj0
= 0 ;
19917 char *kwnames
[] = {
19918 (char *) "self", NULL
19921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 wxPyEndAllowThreads(__tstate
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19931 Py_INCREF(Py_None
); resultobj
= Py_None
;
19938 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19939 PyObject
*resultobj
;
19940 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19941 PyObject
* obj0
= 0 ;
19942 char *kwnames
[] = {
19943 (char *) "self", NULL
19946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 (arg1
)->ExitMainLoop();
19953 wxPyEndAllowThreads(__tstate
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19956 Py_INCREF(Py_None
); resultobj
= Py_None
;
19963 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
;
19965 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19967 PyObject
* obj0
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 result
= (bool)(arg1
)->Pending();
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19991 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
;
19993 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19995 PyObject
* obj0
= 0 ;
19996 char *kwnames
[] = {
19997 (char *) "self", NULL
20000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 result
= (bool)(arg1
)->Dispatch();
20007 wxPyEndAllowThreads(__tstate
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20019 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20020 PyObject
*resultobj
;
20021 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20023 PyObject
* obj0
= 0 ;
20024 char *kwnames
[] = {
20025 (char *) "self", NULL
20028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20033 result
= (bool)(arg1
)->ProcessIdle();
20035 wxPyEndAllowThreads(__tstate
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20047 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
;
20049 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20050 wxWindow
*arg2
= (wxWindow
*) 0 ;
20051 wxIdleEvent
*arg3
= 0 ;
20053 PyObject
* obj0
= 0 ;
20054 PyObject
* obj1
= 0 ;
20055 PyObject
* obj2
= 0 ;
20056 char *kwnames
[] = {
20057 (char *) "self",(char *) "win",(char *) "event", NULL
20060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20065 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20068 if (arg3
== NULL
) {
20069 PyErr_SetString(PyExc_TypeError
,"null reference");
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20088 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20089 PyObject
*resultobj
;
20090 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20092 PyObject
* obj0
= 0 ;
20093 char *kwnames
[] = {
20094 (char *) "self", NULL
20097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20104 wxPyEndAllowThreads(__tstate
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20116 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20119 wxWindow
*arg2
= (wxWindow
*) 0 ;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20122 char *kwnames
[] = {
20123 (char *) "self",(char *) "win", NULL
20126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 (arg1
)->SetTopWindow(arg2
);
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 Py_INCREF(Py_None
); resultobj
= Py_None
;
20145 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
;
20147 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20149 PyObject
* obj0
= 0 ;
20150 char *kwnames
[] = {
20151 (char *) "self", NULL
20154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20161 wxPyEndAllowThreads(__tstate
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20165 resultobj
= wxPyMake_wxObject(result
, 0);
20173 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20174 PyObject
*resultobj
;
20175 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20177 PyObject
* obj0
= 0 ;
20178 PyObject
* obj1
= 0 ;
20179 char *kwnames
[] = {
20180 (char *) "self",(char *) "flag", NULL
20183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20186 arg2
= (bool) SWIG_AsBool(obj1
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 (arg1
)->SetExitOnFrameDelete(arg2
);
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20195 Py_INCREF(Py_None
); resultobj
= Py_None
;
20202 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20203 PyObject
*resultobj
;
20204 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20206 PyObject
* obj0
= 0 ;
20207 char *kwnames
[] = {
20208 (char *) "self", NULL
20211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20218 wxPyEndAllowThreads(__tstate
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20230 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20231 PyObject
*resultobj
;
20232 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20234 PyObject
* obj0
= 0 ;
20235 PyObject
* obj1
= 0 ;
20236 char *kwnames
[] = {
20237 (char *) "self",(char *) "flag", NULL
20240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20243 arg2
= (bool) SWIG_AsBool(obj1
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 (arg1
)->SetUseBestVisual(arg2
);
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20252 Py_INCREF(Py_None
); resultobj
= Py_None
;
20259 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20260 PyObject
*resultobj
;
20261 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20263 PyObject
* obj0
= 0 ;
20264 char *kwnames
[] = {
20265 (char *) "self", NULL
20268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20275 wxPyEndAllowThreads(__tstate
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20287 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20289 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20291 PyObject
* obj0
= 0 ;
20292 PyObject
* obj1
= 0 ;
20293 char *kwnames
[] = {
20294 (char *) "self",(char *) "mode", NULL
20297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20300 arg2
= (int) SWIG_AsInt(obj1
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 (arg1
)->SetPrintMode(arg2
);
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 Py_INCREF(Py_None
); resultobj
= Py_None
;
20316 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
;
20318 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20320 PyObject
* obj0
= 0 ;
20321 char *kwnames
[] = {
20322 (char *) "self", NULL
20325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20335 resultobj
= SWIG_FromInt((int)result
);
20342 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20343 PyObject
*resultobj
;
20344 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20346 PyObject
* obj0
= 0 ;
20347 PyObject
* obj1
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "self",(char *) "mode", NULL
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20355 arg2
= (int) SWIG_AsInt(obj1
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 (arg1
)->SetAssertMode(arg2
);
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20364 Py_INCREF(Py_None
); resultobj
= Py_None
;
20371 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20372 PyObject
*resultobj
;
20373 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20375 PyObject
* obj0
= 0 ;
20376 char *kwnames
[] = {
20377 (char *) "self", NULL
20380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 result
= (int)(arg1
)->GetAssertMode();
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= SWIG_FromInt((int)result
);
20397 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
;
20400 char *kwnames
[] = {
20404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20407 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20421 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20422 PyObject
*resultobj
;
20424 char *kwnames
[] = {
20428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 resultobj
= SWIG_FromLong((long)result
);
20443 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20446 char *kwnames
[] = {
20450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20458 resultobj
= SWIG_FromLong((long)result
);
20465 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
;
20468 char *kwnames
[] = {
20472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 result
= (long)wxPyApp::GetMacExitMenuItemId();
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20480 resultobj
= SWIG_FromLong((long)result
);
20487 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
;
20490 char *kwnames
[] = {
20494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20497 result
= wxPyApp::GetMacHelpMenuTitleName();
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20515 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20516 PyObject
*resultobj
;
20518 PyObject
* obj0
= 0 ;
20519 char *kwnames
[] = {
20520 (char *) "val", NULL
20523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20524 arg1
= (bool) SWIG_AsBool(obj0
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20533 Py_INCREF(Py_None
); resultobj
= Py_None
;
20540 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20541 PyObject
*resultobj
;
20543 PyObject
* obj0
= 0 ;
20544 char *kwnames
[] = {
20545 (char *) "val", NULL
20548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20549 arg1
= (long) SWIG_AsLong(obj0
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 wxPyApp::SetMacAboutMenuItemId(arg1
);
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 Py_INCREF(Py_None
); resultobj
= Py_None
;
20565 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20566 PyObject
*resultobj
;
20568 PyObject
* obj0
= 0 ;
20569 char *kwnames
[] = {
20570 (char *) "val", NULL
20573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20574 arg1
= (long) SWIG_AsLong(obj0
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 Py_INCREF(Py_None
); resultobj
= Py_None
;
20590 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
;
20593 PyObject
* obj0
= 0 ;
20594 char *kwnames
[] = {
20595 (char *) "val", NULL
20598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20599 arg1
= (long) SWIG_AsLong(obj0
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 wxPyApp::SetMacExitMenuItemId(arg1
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 Py_INCREF(Py_None
); resultobj
= Py_None
;
20615 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
;
20617 wxString
*arg1
= 0 ;
20618 bool temp1
= False
;
20619 PyObject
* obj0
= 0 ;
20620 char *kwnames
[] = {
20621 (char *) "val", NULL
20624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20626 arg1
= wxString_in_helper(obj0
);
20627 if (arg1
== NULL
) SWIG_fail
;
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20637 Py_INCREF(Py_None
); resultobj
= Py_None
;
20652 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
;
20654 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20655 PyObject
* obj0
= 0 ;
20656 char *kwnames
[] = {
20657 (char *) "self", NULL
20660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20665 (arg1
)->_BootstrapApp();
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20670 Py_INCREF(Py_None
); resultobj
= Py_None
;
20677 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
;
20680 char *kwnames
[] = {
20684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 result
= (int)wxPyApp::GetComCtl32Version();
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= SWIG_FromInt((int)result
);
20699 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20702 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20704 return Py_BuildValue((char *)"");
20706 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
;
20708 char *kwnames
[] = {
20712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20720 Py_INCREF(Py_None
); resultobj
= Py_None
;
20727 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20728 PyObject
*resultobj
;
20730 char *kwnames
[] = {
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20737 result
= (bool)wxYield();
20739 wxPyEndAllowThreads(__tstate
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20751 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20754 char *kwnames
[] = {
20758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (bool)wxYieldIfNeeded();
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20775 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20776 PyObject
*resultobj
;
20777 wxWindow
*arg1
= (wxWindow
*) NULL
;
20778 bool arg2
= (bool) False
;
20780 PyObject
* obj0
= 0 ;
20781 PyObject
* obj1
= 0 ;
20782 char *kwnames
[] = {
20783 (char *) "win",(char *) "onlyIfNeeded", NULL
20786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20792 arg2
= (bool) SWIG_AsBool(obj1
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 result
= (bool)wxSafeYield(arg1
,arg2
);
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20811 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
;
20813 char *kwnames
[] = {
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 Py_INCREF(Py_None
); resultobj
= Py_None
;
20832 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20834 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20835 wxEvent
*arg2
= 0 ;
20836 PyObject
* obj0
= 0 ;
20837 PyObject
* obj1
= 0 ;
20838 char *kwnames
[] = {
20839 (char *) "dest",(char *) "event", NULL
20842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20848 if (arg2
== NULL
) {
20849 PyErr_SetString(PyExc_TypeError
,"null reference");
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 wxPostEvent(arg1
,*arg2
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 Py_INCREF(Py_None
); resultobj
= Py_None
;
20866 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
;
20868 char *kwnames
[] = {
20872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20880 Py_INCREF(Py_None
); resultobj
= Py_None
;
20887 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20888 PyObject
*resultobj
;
20890 char *kwnames
[] = {
20894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 result
= (wxPyApp
*)wxPyGetApp();
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= wxPyMake_wxObject(result
, 0);
20911 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
;
20913 int arg1
= (int) 0 ;
20914 int arg2
= (int) 0 ;
20915 int arg3
= (int) 0 ;
20916 wxAcceleratorEntry
*result
;
20917 PyObject
* obj0
= 0 ;
20918 PyObject
* obj1
= 0 ;
20919 PyObject
* obj2
= 0 ;
20920 char *kwnames
[] = {
20921 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20926 arg1
= (int) SWIG_AsInt(obj0
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20930 arg2
= (int) SWIG_AsInt(obj1
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20934 arg3
= (int) SWIG_AsInt(obj2
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20951 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20952 PyObject
*resultobj
;
20953 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20954 PyObject
* obj0
= 0 ;
20955 char *kwnames
[] = {
20956 (char *) "self", NULL
20959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20969 Py_INCREF(Py_None
); resultobj
= Py_None
;
20976 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20977 PyObject
*resultobj
;
20978 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20982 PyObject
* obj0
= 0 ;
20983 PyObject
* obj1
= 0 ;
20984 PyObject
* obj2
= 0 ;
20985 PyObject
* obj3
= 0 ;
20986 char *kwnames
[] = {
20987 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20993 arg2
= (int) SWIG_AsInt(obj1
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20995 arg3
= (int) SWIG_AsInt(obj2
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20997 arg4
= (int) SWIG_AsInt(obj3
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 (arg1
)->Set(arg2
,arg3
,arg4
);
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21006 Py_INCREF(Py_None
); resultobj
= Py_None
;
21013 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
;
21015 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21017 PyObject
* obj0
= 0 ;
21018 char *kwnames
[] = {
21019 (char *) "self", NULL
21022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 result
= (int)(arg1
)->GetFlags();
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 resultobj
= SWIG_FromInt((int)result
);
21039 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
;
21041 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21043 PyObject
* obj0
= 0 ;
21044 char *kwnames
[] = {
21045 (char *) "self", NULL
21048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 result
= (int)(arg1
)->GetKeyCode();
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21058 resultobj
= SWIG_FromInt((int)result
);
21065 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21066 PyObject
*resultobj
;
21067 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21069 PyObject
* obj0
= 0 ;
21070 char *kwnames
[] = {
21071 (char *) "self", NULL
21074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21079 result
= (int)(arg1
)->GetCommand();
21081 wxPyEndAllowThreads(__tstate
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21084 resultobj
= SWIG_FromInt((int)result
);
21091 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
21093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21094 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21096 return Py_BuildValue((char *)"");
21098 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21099 PyObject
*resultobj
;
21101 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21102 wxAcceleratorTable
*result
;
21103 PyObject
* obj0
= 0 ;
21104 char *kwnames
[] = {
21108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21110 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21111 if (arg2
) arg1
= PyList_Size(obj0
);
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21134 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21137 PyObject
* obj0
= 0 ;
21138 char *kwnames
[] = {
21139 (char *) "self", NULL
21142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21152 Py_INCREF(Py_None
); resultobj
= Py_None
;
21159 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
;
21161 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21163 PyObject
* obj0
= 0 ;
21164 char *kwnames
[] = {
21165 (char *) "self", NULL
21168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21187 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21190 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21192 return Py_BuildValue((char *)"");
21194 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21195 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21200 static PyObject
*_wrap_NullAcceleratorTable_get() {
21203 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21208 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21209 PyObject
*resultobj
;
21210 wxString
*arg1
= 0 ;
21211 wxAcceleratorEntry
*result
;
21212 bool temp1
= False
;
21213 PyObject
* obj0
= 0 ;
21214 char *kwnames
[] = {
21215 (char *) "label", NULL
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21220 arg1
= wxString_in_helper(obj0
);
21221 if (arg1
== NULL
) SWIG_fail
;
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21246 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21247 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21252 static PyObject
*_wrap_PanelNameStr_get() {
21257 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21259 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21266 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
;
21268 wxVisualAttributes
*result
;
21269 char *kwnames
[] = {
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21288 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21289 PyObject
*resultobj
;
21290 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21291 PyObject
* obj0
= 0 ;
21292 char *kwnames
[] = {
21293 (char *) "self", NULL
21296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 delete_wxVisualAttributes(arg1
);
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 Py_INCREF(Py_None
); resultobj
= Py_None
;
21313 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
;
21315 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21316 wxFont
*arg2
= (wxFont
*) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 PyObject
* obj1
= 0 ;
21319 char *kwnames
[] = {
21320 (char *) "self",(char *) "font", NULL
21323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21328 if (arg1
) (arg1
)->font
= *arg2
;
21330 Py_INCREF(Py_None
); resultobj
= Py_None
;
21337 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21338 PyObject
*resultobj
;
21339 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21341 PyObject
* obj0
= 0 ;
21342 char *kwnames
[] = {
21343 (char *) "self", NULL
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21349 result
= (wxFont
*)& ((arg1
)->font
);
21351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21358 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
;
21360 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21361 wxColour
*arg2
= (wxColour
*) 0 ;
21362 PyObject
* obj0
= 0 ;
21363 PyObject
* obj1
= 0 ;
21364 char *kwnames
[] = {
21365 (char *) "self",(char *) "colFg", NULL
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21373 if (arg1
) (arg1
)->colFg
= *arg2
;
21375 Py_INCREF(Py_None
); resultobj
= Py_None
;
21382 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21383 PyObject
*resultobj
;
21384 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21386 PyObject
* obj0
= 0 ;
21387 char *kwnames
[] = {
21388 (char *) "self", NULL
21391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21394 result
= (wxColour
*)& ((arg1
)->colFg
);
21396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21403 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
;
21405 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21406 wxColour
*arg2
= (wxColour
*) 0 ;
21407 PyObject
* obj0
= 0 ;
21408 PyObject
* obj1
= 0 ;
21409 char *kwnames
[] = {
21410 (char *) "self",(char *) "colBg", NULL
21413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21418 if (arg1
) (arg1
)->colBg
= *arg2
;
21420 Py_INCREF(Py_None
); resultobj
= Py_None
;
21427 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
;
21429 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21431 PyObject
* obj0
= 0 ;
21432 char *kwnames
[] = {
21433 (char *) "self", NULL
21436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21439 result
= (wxColour
*)& ((arg1
)->colBg
);
21441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21448 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21451 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21453 return Py_BuildValue((char *)"");
21455 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
;
21457 wxWindow
*arg1
= (wxWindow
*) 0 ;
21458 int arg2
= (int) (int)-1 ;
21459 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21460 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21461 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21462 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21463 long arg5
= (long) 0 ;
21464 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21465 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21469 bool temp6
= False
;
21470 PyObject
* obj0
= 0 ;
21471 PyObject
* obj1
= 0 ;
21472 PyObject
* obj2
= 0 ;
21473 PyObject
* obj3
= 0 ;
21474 PyObject
* obj4
= 0 ;
21475 PyObject
* obj5
= 0 ;
21476 char *kwnames
[] = {
21477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21484 arg2
= (int const) SWIG_AsInt(obj1
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21490 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21496 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21500 arg5
= (long) SWIG_AsLong(obj4
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21505 arg6
= wxString_in_helper(obj5
);
21506 if (arg6
== NULL
) SWIG_fail
;
21511 if (!wxPyCheckForApp()) SWIG_fail
;
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21533 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21536 char *kwnames
[] = {
21540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21542 if (!wxPyCheckForApp()) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= (wxWindow
*)new wxWindow();
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21556 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
;
21558 wxWindow
*arg1
= (wxWindow
*) 0 ;
21559 wxWindow
*arg2
= (wxWindow
*) 0 ;
21560 int arg3
= (int) (int)-1 ;
21561 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21562 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21563 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21564 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21565 long arg6
= (long) 0 ;
21566 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21567 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21571 bool temp7
= False
;
21572 PyObject
* obj0
= 0 ;
21573 PyObject
* obj1
= 0 ;
21574 PyObject
* obj2
= 0 ;
21575 PyObject
* obj3
= 0 ;
21576 PyObject
* obj4
= 0 ;
21577 PyObject
* obj5
= 0 ;
21578 PyObject
* obj6
= 0 ;
21579 char *kwnames
[] = {
21580 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21589 arg3
= (int const) SWIG_AsInt(obj2
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21605 arg6
= (long) SWIG_AsLong(obj5
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21610 arg7
= wxString_in_helper(obj6
);
21611 if (arg7
== NULL
) SWIG_fail
;
21616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21619 wxPyEndAllowThreads(__tstate
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21639 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
;
21641 wxWindow
*arg1
= (wxWindow
*) 0 ;
21642 bool arg2
= (bool) False
;
21644 PyObject
* obj0
= 0 ;
21645 PyObject
* obj1
= 0 ;
21646 char *kwnames
[] = {
21647 (char *) "self",(char *) "force", NULL
21650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21654 arg2
= (bool) SWIG_AsBool(obj1
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 result
= (bool)(arg1
)->Close(arg2
);
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21673 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21674 PyObject
*resultobj
;
21675 wxWindow
*arg1
= (wxWindow
*) 0 ;
21677 PyObject
* obj0
= 0 ;
21678 char *kwnames
[] = {
21679 (char *) "self", NULL
21682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 result
= (bool)(arg1
)->Destroy();
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21701 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
;
21703 wxWindow
*arg1
= (wxWindow
*) 0 ;
21705 PyObject
* obj0
= 0 ;
21706 char *kwnames
[] = {
21707 (char *) "self", NULL
21710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21715 result
= (bool)(arg1
)->DestroyChildren();
21717 wxPyEndAllowThreads(__tstate
);
21718 if (PyErr_Occurred()) SWIG_fail
;
21721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21729 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21730 PyObject
*resultobj
;
21731 wxWindow
*arg1
= (wxWindow
*) 0 ;
21733 PyObject
* obj0
= 0 ;
21734 char *kwnames
[] = {
21735 (char *) "self", NULL
21738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21743 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21757 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
;
21759 wxWindow
*arg1
= (wxWindow
*) 0 ;
21760 wxString
*arg2
= 0 ;
21761 bool temp2
= False
;
21762 PyObject
* obj0
= 0 ;
21763 PyObject
* obj1
= 0 ;
21764 char *kwnames
[] = {
21765 (char *) "self",(char *) "title", NULL
21768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21772 arg2
= wxString_in_helper(obj1
);
21773 if (arg2
== NULL
) SWIG_fail
;
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 (arg1
)->SetTitle((wxString
const &)*arg2
);
21780 wxPyEndAllowThreads(__tstate
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21783 Py_INCREF(Py_None
); resultobj
= Py_None
;
21798 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21799 PyObject
*resultobj
;
21800 wxWindow
*arg1
= (wxWindow
*) 0 ;
21802 PyObject
* obj0
= 0 ;
21803 char *kwnames
[] = {
21804 (char *) "self", NULL
21807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21812 result
= ((wxWindow
const *)arg1
)->GetTitle();
21814 wxPyEndAllowThreads(__tstate
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21830 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21831 PyObject
*resultobj
;
21832 wxWindow
*arg1
= (wxWindow
*) 0 ;
21833 wxString
*arg2
= 0 ;
21834 bool temp2
= False
;
21835 PyObject
* obj0
= 0 ;
21836 PyObject
* obj1
= 0 ;
21837 char *kwnames
[] = {
21838 (char *) "self",(char *) "label", NULL
21841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21845 arg2
= wxString_in_helper(obj1
);
21846 if (arg2
== NULL
) SWIG_fail
;
21850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21851 (arg1
)->SetLabel((wxString
const &)*arg2
);
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21856 Py_INCREF(Py_None
); resultobj
= Py_None
;
21871 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21872 PyObject
*resultobj
;
21873 wxWindow
*arg1
= (wxWindow
*) 0 ;
21875 PyObject
* obj0
= 0 ;
21876 char *kwnames
[] = {
21877 (char *) "self", NULL
21880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 result
= ((wxWindow
const *)arg1
)->GetLabel();
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21903 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxWindow
*arg1
= (wxWindow
*) 0 ;
21906 wxString
*arg2
= 0 ;
21907 bool temp2
= False
;
21908 PyObject
* obj0
= 0 ;
21909 PyObject
* obj1
= 0 ;
21910 char *kwnames
[] = {
21911 (char *) "self",(char *) "name", NULL
21914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21918 arg2
= wxString_in_helper(obj1
);
21919 if (arg2
== NULL
) SWIG_fail
;
21923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 (arg1
)->SetName((wxString
const &)*arg2
);
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21929 Py_INCREF(Py_None
); resultobj
= Py_None
;
21944 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
;
21946 wxWindow
*arg1
= (wxWindow
*) 0 ;
21948 PyObject
* obj0
= 0 ;
21949 char *kwnames
[] = {
21950 (char *) "self", NULL
21953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 result
= ((wxWindow
const *)arg1
)->GetName();
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21976 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
;
21978 wxWindow
*arg1
= (wxWindow
*) 0 ;
21980 PyObject
* obj0
= 0 ;
21981 PyObject
* obj1
= 0 ;
21982 char *kwnames
[] = {
21983 (char *) "self",(char *) "variant", NULL
21986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21989 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21998 Py_INCREF(Py_None
); resultobj
= Py_None
;
22005 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22006 PyObject
*resultobj
;
22007 wxWindow
*arg1
= (wxWindow
*) 0 ;
22009 PyObject
* obj0
= 0 ;
22010 char *kwnames
[] = {
22011 (char *) "self", NULL
22014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22019 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22024 resultobj
= SWIG_FromInt((int)result
);
22031 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22032 PyObject
*resultobj
;
22033 wxWindow
*arg1
= (wxWindow
*) 0 ;
22035 PyObject
* obj0
= 0 ;
22036 PyObject
* obj1
= 0 ;
22037 char *kwnames
[] = {
22038 (char *) "self",(char *) "winid", NULL
22041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22044 arg2
= (int) SWIG_AsInt(obj1
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 (arg1
)->SetId(arg2
);
22050 wxPyEndAllowThreads(__tstate
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 Py_INCREF(Py_None
); resultobj
= Py_None
;
22060 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
;
22062 wxWindow
*arg1
= (wxWindow
*) 0 ;
22064 PyObject
* obj0
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "self", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22074 result
= (int)((wxWindow
const *)arg1
)->GetId();
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22079 resultobj
= SWIG_FromInt((int)result
);
22086 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22087 PyObject
*resultobj
;
22089 char *kwnames
[] = {
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 result
= (int)wxWindow::NewControlId();
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22101 resultobj
= SWIG_FromInt((int)result
);
22108 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
;
22112 PyObject
* obj0
= 0 ;
22113 char *kwnames
[] = {
22114 (char *) "winid", NULL
22117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22118 arg1
= (int) SWIG_AsInt(obj0
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (int)wxWindow::NextControlId(arg1
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= SWIG_FromInt((int)result
);
22134 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22138 PyObject
* obj0
= 0 ;
22139 char *kwnames
[] = {
22140 (char *) "winid", NULL
22143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22144 arg1
= (int) SWIG_AsInt(obj0
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 result
= (int)wxWindow::PrevControlId(arg1
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 resultobj
= SWIG_FromInt((int)result
);
22160 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
;
22162 wxWindow
*arg1
= (wxWindow
*) 0 ;
22165 PyObject
* obj0
= 0 ;
22166 PyObject
* obj1
= 0 ;
22167 char *kwnames
[] = {
22168 (char *) "self",(char *) "size", NULL
22171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22176 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22180 (arg1
)->SetSize((wxSize
const &)*arg2
);
22182 wxPyEndAllowThreads(__tstate
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22185 Py_INCREF(Py_None
); resultobj
= Py_None
;
22192 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
;
22194 wxWindow
*arg1
= (wxWindow
*) 0 ;
22199 int arg6
= (int) wxSIZE_AUTO
;
22200 PyObject
* obj0
= 0 ;
22201 PyObject
* obj1
= 0 ;
22202 PyObject
* obj2
= 0 ;
22203 PyObject
* obj3
= 0 ;
22204 PyObject
* obj4
= 0 ;
22205 PyObject
* obj5
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22213 arg2
= (int) SWIG_AsInt(obj1
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22215 arg3
= (int) SWIG_AsInt(obj2
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22217 arg4
= (int) SWIG_AsInt(obj3
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22219 arg5
= (int) SWIG_AsInt(obj4
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22222 arg6
= (int) SWIG_AsInt(obj5
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22232 Py_INCREF(Py_None
); resultobj
= Py_None
;
22239 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22240 PyObject
*resultobj
;
22241 wxWindow
*arg1
= (wxWindow
*) 0 ;
22243 int arg3
= (int) wxSIZE_AUTO
;
22245 PyObject
* obj0
= 0 ;
22246 PyObject
* obj1
= 0 ;
22247 PyObject
* obj2
= 0 ;
22248 char *kwnames
[] = {
22249 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22257 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22260 arg3
= (int) SWIG_AsInt(obj2
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 Py_INCREF(Py_None
); resultobj
= Py_None
;
22277 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22278 PyObject
*resultobj
;
22279 wxWindow
*arg1
= (wxWindow
*) 0 ;
22282 PyObject
* obj0
= 0 ;
22283 PyObject
* obj1
= 0 ;
22284 PyObject
* obj2
= 0 ;
22285 char *kwnames
[] = {
22286 (char *) "self",(char *) "width",(char *) "height", NULL
22289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22292 arg2
= (int) SWIG_AsInt(obj1
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22294 arg3
= (int) SWIG_AsInt(obj2
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 (arg1
)->SetSize(arg2
,arg3
);
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 Py_INCREF(Py_None
); resultobj
= Py_None
;
22310 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22311 PyObject
*resultobj
;
22312 wxWindow
*arg1
= (wxWindow
*) 0 ;
22313 wxPoint
*arg2
= 0 ;
22314 int arg3
= (int) wxSIZE_USE_EXISTING
;
22316 PyObject
* obj0
= 0 ;
22317 PyObject
* obj1
= 0 ;
22318 PyObject
* obj2
= 0 ;
22319 char *kwnames
[] = {
22320 (char *) "self",(char *) "pt",(char *) "flags", NULL
22323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22328 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22331 arg3
= (int) SWIG_AsInt(obj2
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22336 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22338 wxPyEndAllowThreads(__tstate
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22341 Py_INCREF(Py_None
); resultobj
= Py_None
;
22348 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22349 PyObject
*resultobj
;
22350 wxWindow
*arg1
= (wxWindow
*) 0 ;
22353 int arg4
= (int) wxSIZE_USE_EXISTING
;
22354 PyObject
* obj0
= 0 ;
22355 PyObject
* obj1
= 0 ;
22356 PyObject
* obj2
= 0 ;
22357 PyObject
* obj3
= 0 ;
22358 char *kwnames
[] = {
22359 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22365 arg2
= (int) SWIG_AsInt(obj1
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22367 arg3
= (int) SWIG_AsInt(obj2
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22370 arg4
= (int) SWIG_AsInt(obj3
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 (arg1
)->Move(arg2
,arg3
,arg4
);
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22380 Py_INCREF(Py_None
); resultobj
= Py_None
;
22387 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
;
22389 wxWindow
*arg1
= (wxWindow
*) 0 ;
22390 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22391 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 char *kwnames
[] = {
22396 (char *) "self",(char *) "size", NULL
22399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22405 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22415 Py_INCREF(Py_None
); resultobj
= Py_None
;
22422 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
;
22424 wxWindow
*arg1
= (wxWindow
*) 0 ;
22425 PyObject
* obj0
= 0 ;
22426 char *kwnames
[] = {
22427 (char *) "self", NULL
22430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22440 Py_INCREF(Py_None
); resultobj
= Py_None
;
22447 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22448 PyObject
*resultobj
;
22449 wxWindow
*arg1
= (wxWindow
*) 0 ;
22450 PyObject
* obj0
= 0 ;
22451 char *kwnames
[] = {
22452 (char *) "self", NULL
22455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 wxPyEndAllowThreads(__tstate
);
22463 if (PyErr_Occurred()) SWIG_fail
;
22465 Py_INCREF(Py_None
); resultobj
= Py_None
;
22472 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22473 PyObject
*resultobj
;
22474 wxWindow
*arg1
= (wxWindow
*) 0 ;
22477 PyObject
* obj0
= 0 ;
22478 PyObject
* obj1
= 0 ;
22479 char *kwnames
[] = {
22480 (char *) "self",(char *) "size", NULL
22483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22488 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22494 wxPyEndAllowThreads(__tstate
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22497 Py_INCREF(Py_None
); resultobj
= Py_None
;
22504 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22505 PyObject
*resultobj
;
22506 wxWindow
*arg1
= (wxWindow
*) 0 ;
22509 PyObject
* obj0
= 0 ;
22510 PyObject
* obj1
= 0 ;
22511 PyObject
* obj2
= 0 ;
22512 char *kwnames
[] = {
22513 (char *) "self",(char *) "width",(char *) "height", NULL
22516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22519 arg2
= (int) SWIG_AsInt(obj1
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22521 arg3
= (int) SWIG_AsInt(obj2
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22525 (arg1
)->SetClientSize(arg2
,arg3
);
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 Py_INCREF(Py_None
); resultobj
= Py_None
;
22537 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22538 PyObject
*resultobj
;
22539 wxWindow
*arg1
= (wxWindow
*) 0 ;
22542 PyObject
* obj0
= 0 ;
22543 PyObject
* obj1
= 0 ;
22544 char *kwnames
[] = {
22545 (char *) "self",(char *) "rect", NULL
22548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22553 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 Py_INCREF(Py_None
); resultobj
= Py_None
;
22569 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22570 PyObject
*resultobj
;
22571 wxWindow
*arg1
= (wxWindow
*) 0 ;
22573 PyObject
* obj0
= 0 ;
22574 char *kwnames
[] = {
22575 (char *) "self", NULL
22578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22583 result
= (arg1
)->GetPosition();
22585 wxPyEndAllowThreads(__tstate
);
22586 if (PyErr_Occurred()) SWIG_fail
;
22589 wxPoint
* resultptr
;
22590 resultptr
= new wxPoint((wxPoint
&) result
);
22591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22599 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
;
22601 wxWindow
*arg1
= (wxWindow
*) 0 ;
22602 int *arg2
= (int *) 0 ;
22603 int *arg3
= (int *) 0 ;
22606 PyObject
* obj0
= 0 ;
22607 char *kwnames
[] = {
22608 (char *) "self", NULL
22613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22618 (arg1
)->GetPosition(arg2
,arg3
);
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 Py_INCREF(Py_None
); resultobj
= Py_None
;
22625 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22626 resultobj
= t_output_helper(resultobj
,o
);
22629 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22630 resultobj
= t_output_helper(resultobj
,o
);
22638 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22639 PyObject
*resultobj
;
22640 wxWindow
*arg1
= (wxWindow
*) 0 ;
22642 PyObject
* obj0
= 0 ;
22643 char *kwnames
[] = {
22644 (char *) "self", NULL
22647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 result
= ((wxWindow
const *)arg1
)->GetSize();
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22658 wxSize
* resultptr
;
22659 resultptr
= new wxSize((wxSize
&) result
);
22660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22668 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxWindow
*arg1
= (wxWindow
*) 0 ;
22671 int *arg2
= (int *) 0 ;
22672 int *arg3
= (int *) 0 ;
22675 PyObject
* obj0
= 0 ;
22676 char *kwnames
[] = {
22677 (char *) "self", NULL
22682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 Py_INCREF(Py_None
); resultobj
= Py_None
;
22694 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22695 resultobj
= t_output_helper(resultobj
,o
);
22698 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22699 resultobj
= t_output_helper(resultobj
,o
);
22707 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22708 PyObject
*resultobj
;
22709 wxWindow
*arg1
= (wxWindow
*) 0 ;
22711 PyObject
* obj0
= 0 ;
22712 char *kwnames
[] = {
22713 (char *) "self", NULL
22716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 result
= ((wxWindow
const *)arg1
)->GetRect();
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22727 wxRect
* resultptr
;
22728 resultptr
= new wxRect((wxRect
&) result
);
22729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22737 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22738 PyObject
*resultobj
;
22739 wxWindow
*arg1
= (wxWindow
*) 0 ;
22741 PyObject
* obj0
= 0 ;
22742 char *kwnames
[] = {
22743 (char *) "self", NULL
22746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22757 wxSize
* resultptr
;
22758 resultptr
= new wxSize((wxSize
&) result
);
22759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22767 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
;
22769 wxWindow
*arg1
= (wxWindow
*) 0 ;
22770 int *arg2
= (int *) 0 ;
22771 int *arg3
= (int *) 0 ;
22774 PyObject
* obj0
= 0 ;
22775 char *kwnames
[] = {
22776 (char *) "self", NULL
22781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22786 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22791 Py_INCREF(Py_None
); resultobj
= Py_None
;
22793 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22794 resultobj
= t_output_helper(resultobj
,o
);
22797 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22798 resultobj
= t_output_helper(resultobj
,o
);
22806 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22808 wxWindow
*arg1
= (wxWindow
*) 0 ;
22810 PyObject
* obj0
= 0 ;
22811 char *kwnames
[] = {
22812 (char *) "self", NULL
22815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22820 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22826 wxPoint
* resultptr
;
22827 resultptr
= new wxPoint((wxPoint
&) result
);
22828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22836 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22837 PyObject
*resultobj
;
22838 wxWindow
*arg1
= (wxWindow
*) 0 ;
22840 PyObject
* obj0
= 0 ;
22841 char *kwnames
[] = {
22842 (char *) "self", NULL
22845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22856 wxRect
* resultptr
;
22857 resultptr
= new wxRect((wxRect
&) result
);
22858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22866 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
;
22868 wxWindow
*arg1
= (wxWindow
*) 0 ;
22870 PyObject
* obj0
= 0 ;
22871 char *kwnames
[] = {
22872 (char *) "self", NULL
22875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22886 wxSize
* resultptr
;
22887 resultptr
= new wxSize((wxSize
&) result
);
22888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22896 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxWindow
*arg1
= (wxWindow
*) 0 ;
22899 int *arg2
= (int *) 0 ;
22900 int *arg3
= (int *) 0 ;
22903 PyObject
* obj0
= 0 ;
22904 char *kwnames
[] = {
22905 (char *) "self", NULL
22910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22920 Py_INCREF(Py_None
); resultobj
= Py_None
;
22922 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22923 resultobj
= t_output_helper(resultobj
,o
);
22926 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22927 resultobj
= t_output_helper(resultobj
,o
);
22935 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22936 PyObject
*resultobj
;
22937 wxWindow
*arg1
= (wxWindow
*) 0 ;
22938 PyObject
* obj0
= 0 ;
22939 char *kwnames
[] = {
22940 (char *) "self", NULL
22943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
22944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 (arg1
)->InvalidateBestSize();
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 Py_INCREF(Py_None
); resultobj
= Py_None
;
22960 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
;
22962 wxWindow
*arg1
= (wxWindow
*) 0 ;
22964 PyObject
* obj0
= 0 ;
22965 char *kwnames
[] = {
22966 (char *) "self", NULL
22969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
22970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22980 wxSize
* resultptr
;
22981 resultptr
= new wxSize((wxSize
&) result
);
22982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22990 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22991 PyObject
*resultobj
;
22992 wxWindow
*arg1
= (wxWindow
*) 0 ;
22994 PyObject
* obj0
= 0 ;
22995 char *kwnames
[] = {
22996 (char *) "self", NULL
22999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23010 wxSize
* resultptr
;
23011 resultptr
= new wxSize((wxSize
&) result
);
23012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23020 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
;
23022 wxWindow
*arg1
= (wxWindow
*) 0 ;
23023 int arg2
= (int) wxBOTH
;
23024 PyObject
* obj0
= 0 ;
23025 PyObject
* obj1
= 0 ;
23026 char *kwnames
[] = {
23027 (char *) "self",(char *) "direction", NULL
23030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23034 arg2
= (int) SWIG_AsInt(obj1
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 (arg1
)->Center(arg2
);
23041 wxPyEndAllowThreads(__tstate
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23044 Py_INCREF(Py_None
); resultobj
= Py_None
;
23051 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
;
23053 wxWindow
*arg1
= (wxWindow
*) 0 ;
23054 int arg2
= (int) wxBOTH
;
23055 PyObject
* obj0
= 0 ;
23056 PyObject
* obj1
= 0 ;
23057 char *kwnames
[] = {
23058 (char *) "self",(char *) "dir", NULL
23061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23065 arg2
= (int) SWIG_AsInt(obj1
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 (arg1
)->CenterOnScreen(arg2
);
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 Py_INCREF(Py_None
); resultobj
= Py_None
;
23082 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23083 PyObject
*resultobj
;
23084 wxWindow
*arg1
= (wxWindow
*) 0 ;
23085 int arg2
= (int) wxBOTH
;
23086 PyObject
* obj0
= 0 ;
23087 PyObject
* obj1
= 0 ;
23088 char *kwnames
[] = {
23089 (char *) "self",(char *) "dir", NULL
23092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23096 arg2
= (int) SWIG_AsInt(obj1
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 (arg1
)->CenterOnParent(arg2
);
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23106 Py_INCREF(Py_None
); resultobj
= Py_None
;
23113 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23114 PyObject
*resultobj
;
23115 wxWindow
*arg1
= (wxWindow
*) 0 ;
23116 PyObject
* obj0
= 0 ;
23117 char *kwnames
[] = {
23118 (char *) "self", NULL
23121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23131 Py_INCREF(Py_None
); resultobj
= Py_None
;
23138 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23139 PyObject
*resultobj
;
23140 wxWindow
*arg1
= (wxWindow
*) 0 ;
23141 PyObject
* obj0
= 0 ;
23142 char *kwnames
[] = {
23143 (char *) "self", NULL
23146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 (arg1
)->FitInside();
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23156 Py_INCREF(Py_None
); resultobj
= Py_None
;
23163 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23164 PyObject
*resultobj
;
23165 wxWindow
*arg1
= (wxWindow
*) 0 ;
23168 int arg4
= (int) -1 ;
23169 int arg5
= (int) -1 ;
23170 int arg6
= (int) -1 ;
23171 int arg7
= (int) -1 ;
23172 PyObject
* obj0
= 0 ;
23173 PyObject
* obj1
= 0 ;
23174 PyObject
* obj2
= 0 ;
23175 PyObject
* obj3
= 0 ;
23176 PyObject
* obj4
= 0 ;
23177 PyObject
* obj5
= 0 ;
23178 PyObject
* obj6
= 0 ;
23179 char *kwnames
[] = {
23180 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23186 arg2
= (int) SWIG_AsInt(obj1
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23188 arg3
= (int) SWIG_AsInt(obj2
);
23189 if (PyErr_Occurred()) SWIG_fail
;
23191 arg4
= (int) SWIG_AsInt(obj3
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23195 arg5
= (int) SWIG_AsInt(obj4
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23199 arg6
= (int) SWIG_AsInt(obj5
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23203 arg7
= (int) SWIG_AsInt(obj6
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 Py_INCREF(Py_None
); resultobj
= Py_None
;
23220 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
;
23222 wxWindow
*arg1
= (wxWindow
*) 0 ;
23224 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23225 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23226 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23227 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23231 PyObject
* obj0
= 0 ;
23232 PyObject
* obj1
= 0 ;
23233 PyObject
* obj2
= 0 ;
23234 PyObject
* obj3
= 0 ;
23235 char *kwnames
[] = {
23236 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23244 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23249 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23255 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23265 Py_INCREF(Py_None
); resultobj
= Py_None
;
23272 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23273 PyObject
*resultobj
;
23274 wxWindow
*arg1
= (wxWindow
*) 0 ;
23277 int arg4
= (int) -1 ;
23278 int arg5
= (int) -1 ;
23279 PyObject
* obj0
= 0 ;
23280 PyObject
* obj1
= 0 ;
23281 PyObject
* obj2
= 0 ;
23282 PyObject
* obj3
= 0 ;
23283 PyObject
* obj4
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23291 arg2
= (int) SWIG_AsInt(obj1
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23293 arg3
= (int) SWIG_AsInt(obj2
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23296 arg4
= (int) SWIG_AsInt(obj3
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23300 arg5
= (int) SWIG_AsInt(obj4
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23305 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 Py_INCREF(Py_None
); resultobj
= Py_None
;
23317 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23318 PyObject
*resultobj
;
23319 wxWindow
*arg1
= (wxWindow
*) 0 ;
23321 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23322 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23325 PyObject
* obj0
= 0 ;
23326 PyObject
* obj1
= 0 ;
23327 PyObject
* obj2
= 0 ;
23328 char *kwnames
[] = {
23329 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23337 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23342 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23352 Py_INCREF(Py_None
); resultobj
= Py_None
;
23359 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23360 PyObject
*resultobj
;
23361 wxWindow
*arg1
= (wxWindow
*) 0 ;
23363 PyObject
* obj0
= 0 ;
23364 char *kwnames
[] = {
23365 (char *) "self", NULL
23368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23379 wxSize
* resultptr
;
23380 resultptr
= new wxSize((wxSize
&) result
);
23381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23389 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
;
23391 wxWindow
*arg1
= (wxWindow
*) 0 ;
23393 PyObject
* obj0
= 0 ;
23394 char *kwnames
[] = {
23395 (char *) "self", NULL
23398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23409 wxSize
* resultptr
;
23410 resultptr
= new wxSize((wxSize
&) result
);
23411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23419 static PyObject
*_wrap_Window_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
;
23421 wxWindow
*arg1
= (wxWindow
*) 0 ;
23424 PyObject
* obj0
= 0 ;
23425 PyObject
* obj1
= 0 ;
23426 char *kwnames
[] = {
23427 (char *) "self",(char *) "minSize", NULL
23430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23435 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23439 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
23441 wxPyEndAllowThreads(__tstate
);
23442 if (PyErr_Occurred()) SWIG_fail
;
23444 Py_INCREF(Py_None
); resultobj
= Py_None
;
23451 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23452 PyObject
*resultobj
;
23453 wxWindow
*arg1
= (wxWindow
*) 0 ;
23456 PyObject
* obj0
= 0 ;
23457 PyObject
* obj1
= 0 ;
23458 char *kwnames
[] = {
23459 (char *) "self",(char *) "maxSize", NULL
23462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23467 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23476 Py_INCREF(Py_None
); resultobj
= Py_None
;
23483 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23484 PyObject
*resultobj
;
23485 wxWindow
*arg1
= (wxWindow
*) 0 ;
23487 PyObject
* obj0
= 0 ;
23488 char *kwnames
[] = {
23489 (char *) "self", NULL
23492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23502 resultobj
= SWIG_FromInt((int)result
);
23509 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23510 PyObject
*resultobj
;
23511 wxWindow
*arg1
= (wxWindow
*) 0 ;
23513 PyObject
* obj0
= 0 ;
23514 char *kwnames
[] = {
23515 (char *) "self", NULL
23518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23523 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23528 resultobj
= SWIG_FromInt((int)result
);
23535 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
;
23537 wxWindow
*arg1
= (wxWindow
*) 0 ;
23539 PyObject
* obj0
= 0 ;
23540 char *kwnames
[] = {
23541 (char *) "self", NULL
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23549 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23554 resultobj
= SWIG_FromInt((int)result
);
23561 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23562 PyObject
*resultobj
;
23563 wxWindow
*arg1
= (wxWindow
*) 0 ;
23565 PyObject
* obj0
= 0 ;
23566 char *kwnames
[] = {
23567 (char *) "self", NULL
23570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23575 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23577 wxPyEndAllowThreads(__tstate
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23580 resultobj
= SWIG_FromInt((int)result
);
23587 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
;
23589 wxWindow
*arg1
= (wxWindow
*) 0 ;
23592 PyObject
* obj0
= 0 ;
23593 PyObject
* obj1
= 0 ;
23594 char *kwnames
[] = {
23595 (char *) "self",(char *) "size", NULL
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23603 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23612 Py_INCREF(Py_None
); resultobj
= Py_None
;
23619 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23620 PyObject
*resultobj
;
23621 wxWindow
*arg1
= (wxWindow
*) 0 ;
23624 PyObject
* obj0
= 0 ;
23625 PyObject
* obj1
= 0 ;
23626 PyObject
* obj2
= 0 ;
23627 char *kwnames
[] = {
23628 (char *) "self",(char *) "w",(char *) "h", NULL
23631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23634 arg2
= (int) SWIG_AsInt(obj1
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23636 arg3
= (int) SWIG_AsInt(obj2
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23640 (arg1
)->SetVirtualSize(arg2
,arg3
);
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23645 Py_INCREF(Py_None
); resultobj
= Py_None
;
23652 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
;
23654 wxWindow
*arg1
= (wxWindow
*) 0 ;
23656 PyObject
* obj0
= 0 ;
23657 char *kwnames
[] = {
23658 (char *) "self", NULL
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23668 wxPyEndAllowThreads(__tstate
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23672 wxSize
* resultptr
;
23673 resultptr
= new wxSize((wxSize
&) result
);
23674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23682 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23683 PyObject
*resultobj
;
23684 wxWindow
*arg1
= (wxWindow
*) 0 ;
23685 int *arg2
= (int *) 0 ;
23686 int *arg3
= (int *) 0 ;
23689 PyObject
* obj0
= 0 ;
23690 char *kwnames
[] = {
23691 (char *) "self", NULL
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23706 Py_INCREF(Py_None
); resultobj
= Py_None
;
23708 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23709 resultobj
= t_output_helper(resultobj
,o
);
23712 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23713 resultobj
= t_output_helper(resultobj
,o
);
23721 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
;
23723 wxWindow
*arg1
= (wxWindow
*) 0 ;
23725 PyObject
* obj0
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23741 wxSize
* resultptr
;
23742 resultptr
= new wxSize((wxSize
&) result
);
23743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23751 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23753 wxWindow
*arg1
= (wxWindow
*) 0 ;
23754 bool arg2
= (bool) True
;
23756 PyObject
* obj0
= 0 ;
23757 PyObject
* obj1
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self",(char *) "show", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23766 arg2
= (bool) SWIG_AsBool(obj1
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 result
= (bool)(arg1
)->Show(arg2
);
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23785 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
;
23787 wxWindow
*arg1
= (wxWindow
*) 0 ;
23789 PyObject
* obj0
= 0 ;
23790 char *kwnames
[] = {
23791 (char *) "self", NULL
23794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 result
= (bool)(arg1
)->Hide();
23801 wxPyEndAllowThreads(__tstate
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23813 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxWindow
*arg1
= (wxWindow
*) 0 ;
23816 bool arg2
= (bool) True
;
23818 PyObject
* obj0
= 0 ;
23819 PyObject
* obj1
= 0 ;
23820 char *kwnames
[] = {
23821 (char *) "self",(char *) "enable", NULL
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23828 arg2
= (bool) SWIG_AsBool(obj1
);
23829 if (PyErr_Occurred()) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 result
= (bool)(arg1
)->Enable(arg2
);
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23847 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
;
23849 wxWindow
*arg1
= (wxWindow
*) 0 ;
23851 PyObject
* obj0
= 0 ;
23852 char *kwnames
[] = {
23853 (char *) "self", NULL
23856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 result
= (bool)(arg1
)->Disable();
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23875 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23876 PyObject
*resultobj
;
23877 wxWindow
*arg1
= (wxWindow
*) 0 ;
23879 PyObject
* obj0
= 0 ;
23880 char *kwnames
[] = {
23881 (char *) "self", NULL
23884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23903 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23904 PyObject
*resultobj
;
23905 wxWindow
*arg1
= (wxWindow
*) 0 ;
23907 PyObject
* obj0
= 0 ;
23908 char *kwnames
[] = {
23909 (char *) "self", NULL
23912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23931 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
;
23933 wxWindow
*arg1
= (wxWindow
*) 0 ;
23935 PyObject
* obj0
= 0 ;
23936 PyObject
* obj1
= 0 ;
23937 char *kwnames
[] = {
23938 (char *) "self",(char *) "style", NULL
23941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23944 arg2
= (long) SWIG_AsLong(obj1
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 (arg1
)->SetWindowStyleFlag(arg2
);
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23953 Py_INCREF(Py_None
); resultobj
= Py_None
;
23960 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23962 wxWindow
*arg1
= (wxWindow
*) 0 ;
23964 PyObject
* obj0
= 0 ;
23965 char *kwnames
[] = {
23966 (char *) "self", NULL
23969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23976 wxPyEndAllowThreads(__tstate
);
23977 if (PyErr_Occurred()) SWIG_fail
;
23979 resultobj
= SWIG_FromLong((long)result
);
23986 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23987 PyObject
*resultobj
;
23988 wxWindow
*arg1
= (wxWindow
*) 0 ;
23991 PyObject
* obj0
= 0 ;
23992 PyObject
* obj1
= 0 ;
23993 char *kwnames
[] = {
23994 (char *) "self",(char *) "flag", NULL
23997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24000 arg2
= (int) SWIG_AsInt(obj1
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24004 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24006 wxPyEndAllowThreads(__tstate
);
24007 if (PyErr_Occurred()) SWIG_fail
;
24010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24018 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24019 PyObject
*resultobj
;
24020 wxWindow
*arg1
= (wxWindow
*) 0 ;
24022 PyObject
* obj0
= 0 ;
24023 char *kwnames
[] = {
24024 (char *) "self", NULL
24027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24046 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24047 PyObject
*resultobj
;
24048 wxWindow
*arg1
= (wxWindow
*) 0 ;
24050 PyObject
* obj0
= 0 ;
24051 PyObject
* obj1
= 0 ;
24052 char *kwnames
[] = {
24053 (char *) "self",(char *) "exStyle", NULL
24056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24059 arg2
= (long) SWIG_AsLong(obj1
);
24060 if (PyErr_Occurred()) SWIG_fail
;
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 (arg1
)->SetExtraStyle(arg2
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 Py_INCREF(Py_None
); resultobj
= Py_None
;
24075 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
;
24077 wxWindow
*arg1
= (wxWindow
*) 0 ;
24079 PyObject
* obj0
= 0 ;
24080 char *kwnames
[] = {
24081 (char *) "self", NULL
24084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24094 resultobj
= SWIG_FromLong((long)result
);
24101 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24102 PyObject
*resultobj
;
24103 wxWindow
*arg1
= (wxWindow
*) 0 ;
24104 bool arg2
= (bool) True
;
24105 PyObject
* obj0
= 0 ;
24106 PyObject
* obj1
= 0 ;
24107 char *kwnames
[] = {
24108 (char *) "self",(char *) "modal", NULL
24111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24115 arg2
= (bool) SWIG_AsBool(obj1
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24120 (arg1
)->MakeModal(arg2
);
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24125 Py_INCREF(Py_None
); resultobj
= Py_None
;
24132 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24133 PyObject
*resultobj
;
24134 wxWindow
*arg1
= (wxWindow
*) 0 ;
24136 PyObject
* obj0
= 0 ;
24137 PyObject
* obj1
= 0 ;
24138 char *kwnames
[] = {
24139 (char *) "self",(char *) "enableTheme", NULL
24142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24145 arg2
= (bool) SWIG_AsBool(obj1
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 (arg1
)->SetThemeEnabled(arg2
);
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24154 Py_INCREF(Py_None
); resultobj
= Py_None
;
24161 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24162 PyObject
*resultobj
;
24163 wxWindow
*arg1
= (wxWindow
*) 0 ;
24165 PyObject
* obj0
= 0 ;
24166 char *kwnames
[] = {
24167 (char *) "self", NULL
24170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24189 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24190 PyObject
*resultobj
;
24191 wxWindow
*arg1
= (wxWindow
*) 0 ;
24192 PyObject
* obj0
= 0 ;
24193 char *kwnames
[] = {
24194 (char *) "self", NULL
24197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24202 (arg1
)->SetFocus();
24204 wxPyEndAllowThreads(__tstate
);
24205 if (PyErr_Occurred()) SWIG_fail
;
24207 Py_INCREF(Py_None
); resultobj
= Py_None
;
24214 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
;
24216 wxWindow
*arg1
= (wxWindow
*) 0 ;
24217 PyObject
* obj0
= 0 ;
24218 char *kwnames
[] = {
24219 (char *) "self", NULL
24222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 (arg1
)->SetFocusFromKbd();
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24232 Py_INCREF(Py_None
); resultobj
= Py_None
;
24239 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24240 PyObject
*resultobj
;
24242 char *kwnames
[] = {
24246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24248 if (!wxPyCheckForApp()) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (wxWindow
*)wxWindow::FindFocus();
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= wxPyMake_wxObject(result
, 0);
24264 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxWindow
*arg1
= (wxWindow
*) 0 ;
24268 PyObject
* obj0
= 0 ;
24269 char *kwnames
[] = {
24270 (char *) "self", NULL
24273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24278 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24280 wxPyEndAllowThreads(__tstate
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24292 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxWindow
*arg1
= (wxWindow
*) 0 ;
24296 PyObject
* obj0
= 0 ;
24297 char *kwnames
[] = {
24298 (char *) "self", NULL
24301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24320 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24321 PyObject
*resultobj
;
24322 wxWindow
*arg1
= (wxWindow
*) 0 ;
24324 PyObject
* obj0
= 0 ;
24325 char *kwnames
[] = {
24326 (char *) "self", NULL
24329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24340 resultobj
= wxPyMake_wxObject(result
, 0);
24348 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24349 PyObject
*resultobj
;
24350 wxWindow
*arg1
= (wxWindow
*) 0 ;
24351 wxWindow
*arg2
= (wxWindow
*) 0 ;
24353 PyObject
* obj0
= 0 ;
24354 PyObject
* obj1
= 0 ;
24355 char *kwnames
[] = {
24356 (char *) "self",(char *) "child", NULL
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= wxPyMake_wxObject(result
, 0);
24380 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
;
24382 wxWindow
*arg1
= (wxWindow
*) 0 ;
24383 wxWindow
*arg2
= (wxWindow
*) 0 ;
24384 PyObject
* obj0
= 0 ;
24385 PyObject
* obj1
= 0 ;
24386 char *kwnames
[] = {
24387 (char *) "self",(char *) "win", NULL
24390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24397 (arg1
)->SetTmpDefaultItem(arg2
);
24399 wxPyEndAllowThreads(__tstate
);
24400 if (PyErr_Occurred()) SWIG_fail
;
24402 Py_INCREF(Py_None
); resultobj
= Py_None
;
24409 static PyObject
*_wrap_Window_Navigate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24410 PyObject
*resultobj
;
24411 wxWindow
*arg1
= (wxWindow
*) 0 ;
24412 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24414 PyObject
* obj0
= 0 ;
24415 PyObject
* obj1
= 0 ;
24416 char *kwnames
[] = {
24417 (char *) "self",(char *) "flags", NULL
24420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24424 arg2
= (int) SWIG_AsInt(obj1
);
24425 if (PyErr_Occurred()) SWIG_fail
;
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 result
= (bool)(arg1
)->Navigate(arg2
);
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24443 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24444 PyObject
*resultobj
;
24445 wxWindow
*arg1
= (wxWindow
*) 0 ;
24446 wxWindow
*arg2
= (wxWindow
*) 0 ;
24447 PyObject
* obj0
= 0 ;
24448 PyObject
* obj1
= 0 ;
24449 char *kwnames
[] = {
24450 (char *) "self",(char *) "win", NULL
24453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 (arg1
)->MoveAfterInTabOrder(arg2
);
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24465 Py_INCREF(Py_None
); resultobj
= Py_None
;
24472 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
;
24474 wxWindow
*arg1
= (wxWindow
*) 0 ;
24475 wxWindow
*arg2
= (wxWindow
*) 0 ;
24476 PyObject
* obj0
= 0 ;
24477 PyObject
* obj1
= 0 ;
24478 char *kwnames
[] = {
24479 (char *) "self",(char *) "win", NULL
24482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 (arg1
)->MoveBeforeInTabOrder(arg2
);
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24494 Py_INCREF(Py_None
); resultobj
= Py_None
;
24501 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
;
24503 wxWindow
*arg1
= (wxWindow
*) 0 ;
24505 PyObject
* obj0
= 0 ;
24506 char *kwnames
[] = {
24507 (char *) "self", NULL
24510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24520 resultobj
= result
;
24527 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
;
24529 wxWindow
*arg1
= (wxWindow
*) 0 ;
24531 PyObject
* obj0
= 0 ;
24532 char *kwnames
[] = {
24533 (char *) "self", NULL
24536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24541 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24543 wxPyEndAllowThreads(__tstate
);
24544 if (PyErr_Occurred()) SWIG_fail
;
24547 resultobj
= wxPyMake_wxObject(result
, 0);
24555 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24556 PyObject
*resultobj
;
24557 wxWindow
*arg1
= (wxWindow
*) 0 ;
24559 PyObject
* obj0
= 0 ;
24560 char *kwnames
[] = {
24561 (char *) "self", NULL
24564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24575 resultobj
= wxPyMake_wxObject(result
, 0);
24583 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24584 PyObject
*resultobj
;
24585 wxWindow
*arg1
= (wxWindow
*) 0 ;
24587 PyObject
* obj0
= 0 ;
24588 char *kwnames
[] = {
24589 (char *) "self", NULL
24592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24611 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24612 PyObject
*resultobj
;
24613 wxWindow
*arg1
= (wxWindow
*) 0 ;
24614 wxWindow
*arg2
= (wxWindow
*) 0 ;
24616 PyObject
* obj0
= 0 ;
24617 PyObject
* obj1
= 0 ;
24618 char *kwnames
[] = {
24619 (char *) "self",(char *) "newParent", NULL
24622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 result
= (bool)(arg1
)->Reparent(arg2
);
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24643 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24644 PyObject
*resultobj
;
24645 wxWindow
*arg1
= (wxWindow
*) 0 ;
24646 wxWindow
*arg2
= (wxWindow
*) 0 ;
24647 PyObject
* obj0
= 0 ;
24648 PyObject
* obj1
= 0 ;
24649 char *kwnames
[] = {
24650 (char *) "self",(char *) "child", NULL
24653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24660 (arg1
)->AddChild(arg2
);
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24665 Py_INCREF(Py_None
); resultobj
= Py_None
;
24672 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
;
24674 wxWindow
*arg1
= (wxWindow
*) 0 ;
24675 wxWindow
*arg2
= (wxWindow
*) 0 ;
24676 PyObject
* obj0
= 0 ;
24677 PyObject
* obj1
= 0 ;
24678 char *kwnames
[] = {
24679 (char *) "self",(char *) "child", NULL
24682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 (arg1
)->RemoveChild(arg2
);
24691 wxPyEndAllowThreads(__tstate
);
24692 if (PyErr_Occurred()) SWIG_fail
;
24694 Py_INCREF(Py_None
); resultobj
= Py_None
;
24701 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24702 PyObject
*resultobj
;
24703 wxWindow
*arg1
= (wxWindow
*) 0 ;
24706 PyObject
* obj0
= 0 ;
24707 PyObject
* obj1
= 0 ;
24708 char *kwnames
[] = {
24709 (char *) "self",(char *) "winid", NULL
24712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24715 arg2
= (long) SWIG_AsLong(obj1
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24719 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24721 wxPyEndAllowThreads(__tstate
);
24722 if (PyErr_Occurred()) SWIG_fail
;
24725 resultobj
= wxPyMake_wxObject(result
, 0);
24733 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
;
24735 wxWindow
*arg1
= (wxWindow
*) 0 ;
24736 wxString
*arg2
= 0 ;
24738 bool temp2
= False
;
24739 PyObject
* obj0
= 0 ;
24740 PyObject
* obj1
= 0 ;
24741 char *kwnames
[] = {
24742 (char *) "self",(char *) "name", NULL
24745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24749 arg2
= wxString_in_helper(obj1
);
24750 if (arg2
== NULL
) SWIG_fail
;
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24761 resultobj
= wxPyMake_wxObject(result
, 0);
24777 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
;
24779 wxWindow
*arg1
= (wxWindow
*) 0 ;
24780 wxEvtHandler
*result
;
24781 PyObject
* obj0
= 0 ;
24782 char *kwnames
[] = {
24783 (char *) "self", NULL
24786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24797 resultobj
= wxPyMake_wxObject(result
, 0);
24805 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxWindow
*arg1
= (wxWindow
*) 0 ;
24808 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24809 PyObject
* obj0
= 0 ;
24810 PyObject
* obj1
= 0 ;
24811 char *kwnames
[] = {
24812 (char *) "self",(char *) "handler", NULL
24815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 (arg1
)->SetEventHandler(arg2
);
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24827 Py_INCREF(Py_None
); resultobj
= Py_None
;
24834 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
;
24836 wxWindow
*arg1
= (wxWindow
*) 0 ;
24837 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24838 PyObject
* obj0
= 0 ;
24839 PyObject
* obj1
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "self",(char *) "handler", NULL
24844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24851 (arg1
)->PushEventHandler(arg2
);
24853 wxPyEndAllowThreads(__tstate
);
24854 if (PyErr_Occurred()) SWIG_fail
;
24856 Py_INCREF(Py_None
); resultobj
= Py_None
;
24863 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24864 PyObject
*resultobj
;
24865 wxWindow
*arg1
= (wxWindow
*) 0 ;
24866 bool arg2
= (bool) False
;
24867 wxEvtHandler
*result
;
24868 PyObject
* obj0
= 0 ;
24869 PyObject
* obj1
= 0 ;
24870 char *kwnames
[] = {
24871 (char *) "self",(char *) "deleteHandler", NULL
24874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24878 arg2
= (bool) SWIG_AsBool(obj1
);
24879 if (PyErr_Occurred()) SWIG_fail
;
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24885 wxPyEndAllowThreads(__tstate
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24889 resultobj
= wxPyMake_wxObject(result
, 0);
24897 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
;
24899 wxWindow
*arg1
= (wxWindow
*) 0 ;
24900 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24902 PyObject
* obj0
= 0 ;
24903 PyObject
* obj1
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self",(char *) "handler", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24929 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
;
24931 wxWindow
*arg1
= (wxWindow
*) 0 ;
24932 wxValidator
*arg2
= 0 ;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self",(char *) "validator", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24945 if (arg2
== NULL
) {
24946 PyErr_SetString(PyExc_TypeError
,"null reference");
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24956 Py_INCREF(Py_None
); resultobj
= Py_None
;
24963 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24964 PyObject
*resultobj
;
24965 wxWindow
*arg1
= (wxWindow
*) 0 ;
24966 wxValidator
*result
;
24967 PyObject
* obj0
= 0 ;
24968 char *kwnames
[] = {
24969 (char *) "self", NULL
24972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24977 result
= (wxValidator
*)(arg1
)->GetValidator();
24979 wxPyEndAllowThreads(__tstate
);
24980 if (PyErr_Occurred()) SWIG_fail
;
24983 resultobj
= wxPyMake_wxObject(result
, 0);
24991 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24992 PyObject
*resultobj
;
24993 wxWindow
*arg1
= (wxWindow
*) 0 ;
24995 PyObject
* obj0
= 0 ;
24996 char *kwnames
[] = {
24997 (char *) "self", NULL
25000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 result
= (bool)(arg1
)->Validate();
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25019 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25020 PyObject
*resultobj
;
25021 wxWindow
*arg1
= (wxWindow
*) 0 ;
25023 PyObject
* obj0
= 0 ;
25024 char *kwnames
[] = {
25025 (char *) "self", NULL
25028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25033 result
= (bool)(arg1
)->TransferDataToWindow();
25035 wxPyEndAllowThreads(__tstate
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25047 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25048 PyObject
*resultobj
;
25049 wxWindow
*arg1
= (wxWindow
*) 0 ;
25051 PyObject
* obj0
= 0 ;
25052 char *kwnames
[] = {
25053 (char *) "self", NULL
25056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25061 result
= (bool)(arg1
)->TransferDataFromWindow();
25063 wxPyEndAllowThreads(__tstate
);
25064 if (PyErr_Occurred()) SWIG_fail
;
25067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25075 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25076 PyObject
*resultobj
;
25077 wxWindow
*arg1
= (wxWindow
*) 0 ;
25078 PyObject
* obj0
= 0 ;
25079 char *kwnames
[] = {
25080 (char *) "self", NULL
25083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25088 (arg1
)->InitDialog();
25090 wxPyEndAllowThreads(__tstate
);
25091 if (PyErr_Occurred()) SWIG_fail
;
25093 Py_INCREF(Py_None
); resultobj
= Py_None
;
25100 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25101 PyObject
*resultobj
;
25102 wxWindow
*arg1
= (wxWindow
*) 0 ;
25103 wxAcceleratorTable
*arg2
= 0 ;
25104 PyObject
* obj0
= 0 ;
25105 PyObject
* obj1
= 0 ;
25106 char *kwnames
[] = {
25107 (char *) "self",(char *) "accel", NULL
25110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25116 if (arg2
== NULL
) {
25117 PyErr_SetString(PyExc_TypeError
,"null reference");
25121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25122 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25127 Py_INCREF(Py_None
); resultobj
= Py_None
;
25134 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25135 PyObject
*resultobj
;
25136 wxWindow
*arg1
= (wxWindow
*) 0 ;
25137 wxAcceleratorTable
*result
;
25138 PyObject
* obj0
= 0 ;
25139 char *kwnames
[] = {
25140 (char *) "self", NULL
25143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25160 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
;
25162 wxWindow
*arg1
= (wxWindow
*) 0 ;
25167 PyObject
* obj0
= 0 ;
25168 PyObject
* obj1
= 0 ;
25169 PyObject
* obj2
= 0 ;
25170 PyObject
* obj3
= 0 ;
25171 char *kwnames
[] = {
25172 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25178 arg2
= (int) SWIG_AsInt(obj1
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25180 arg3
= (int) SWIG_AsInt(obj2
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25182 arg4
= (int) SWIG_AsInt(obj3
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25186 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25188 wxPyEndAllowThreads(__tstate
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25200 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25201 PyObject
*resultobj
;
25202 wxWindow
*arg1
= (wxWindow
*) 0 ;
25205 PyObject
* obj0
= 0 ;
25206 PyObject
* obj1
= 0 ;
25207 char *kwnames
[] = {
25208 (char *) "self",(char *) "hotkeyId", NULL
25211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25214 arg2
= (int) SWIG_AsInt(obj1
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25232 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25233 PyObject
*resultobj
;
25234 wxWindow
*arg1
= (wxWindow
*) 0 ;
25235 wxPoint
*arg2
= 0 ;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj1
= 0 ;
25240 char *kwnames
[] = {
25241 (char *) "self",(char *) "pt", NULL
25244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25249 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25253 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25259 wxPoint
* resultptr
;
25260 resultptr
= new wxPoint((wxPoint
&) result
);
25261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25269 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25270 PyObject
*resultobj
;
25271 wxWindow
*arg1
= (wxWindow
*) 0 ;
25275 PyObject
* obj0
= 0 ;
25276 PyObject
* obj1
= 0 ;
25277 char *kwnames
[] = {
25278 (char *) "self",(char *) "sz", NULL
25281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25286 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25290 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25292 wxPyEndAllowThreads(__tstate
);
25293 if (PyErr_Occurred()) SWIG_fail
;
25296 wxSize
* resultptr
;
25297 resultptr
= new wxSize((wxSize
&) result
);
25298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25306 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25307 PyObject
*resultobj
;
25308 wxWindow
*arg1
= (wxWindow
*) 0 ;
25309 wxPoint
*arg2
= 0 ;
25312 PyObject
* obj0
= 0 ;
25313 PyObject
* obj1
= 0 ;
25314 char *kwnames
[] = {
25315 (char *) "self",(char *) "pt", NULL
25318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25323 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25333 wxPoint
* resultptr
;
25334 resultptr
= new wxPoint((wxPoint
&) result
);
25335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25343 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25344 PyObject
*resultobj
;
25345 wxWindow
*arg1
= (wxWindow
*) 0 ;
25349 PyObject
* obj0
= 0 ;
25350 PyObject
* obj1
= 0 ;
25351 char *kwnames
[] = {
25352 (char *) "self",(char *) "sz", NULL
25355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25360 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25370 wxSize
* resultptr
;
25371 resultptr
= new wxSize((wxSize
&) result
);
25372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25380 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25381 PyObject
*resultobj
;
25382 wxWindow
*arg1
= (wxWindow
*) 0 ;
25383 wxPoint
*arg2
= 0 ;
25386 PyObject
* obj0
= 0 ;
25387 PyObject
* obj1
= 0 ;
25388 char *kwnames
[] = {
25389 (char *) "self",(char *) "pt", NULL
25392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25397 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25401 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25407 wxPoint
* resultptr
;
25408 resultptr
= new wxPoint((wxPoint
&) result
);
25409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25417 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
;
25419 wxWindow
*arg1
= (wxWindow
*) 0 ;
25423 PyObject
* obj0
= 0 ;
25424 PyObject
* obj1
= 0 ;
25425 char *kwnames
[] = {
25426 (char *) "self",(char *) "sz", NULL
25429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25434 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25440 wxPyEndAllowThreads(__tstate
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25444 wxSize
* resultptr
;
25445 resultptr
= new wxSize((wxSize
&) result
);
25446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25454 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
;
25456 wxWindow
*arg1
= (wxWindow
*) 0 ;
25459 PyObject
* obj0
= 0 ;
25460 PyObject
* obj1
= 0 ;
25461 PyObject
* obj2
= 0 ;
25462 char *kwnames
[] = {
25463 (char *) "self",(char *) "x",(char *) "y", NULL
25466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25469 arg2
= (int) SWIG_AsInt(obj1
);
25470 if (PyErr_Occurred()) SWIG_fail
;
25471 arg3
= (int) SWIG_AsInt(obj2
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25475 (arg1
)->WarpPointer(arg2
,arg3
);
25477 wxPyEndAllowThreads(__tstate
);
25478 if (PyErr_Occurred()) SWIG_fail
;
25480 Py_INCREF(Py_None
); resultobj
= Py_None
;
25487 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
;
25489 wxWindow
*arg1
= (wxWindow
*) 0 ;
25490 PyObject
* obj0
= 0 ;
25491 char *kwnames
[] = {
25492 (char *) "self", NULL
25495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 (arg1
)->CaptureMouse();
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 Py_INCREF(Py_None
); resultobj
= Py_None
;
25512 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25513 PyObject
*resultobj
;
25514 wxWindow
*arg1
= (wxWindow
*) 0 ;
25515 PyObject
* obj0
= 0 ;
25516 char *kwnames
[] = {
25517 (char *) "self", NULL
25520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25525 (arg1
)->ReleaseMouse();
25527 wxPyEndAllowThreads(__tstate
);
25528 if (PyErr_Occurred()) SWIG_fail
;
25530 Py_INCREF(Py_None
); resultobj
= Py_None
;
25537 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25538 PyObject
*resultobj
;
25540 char *kwnames
[] = {
25544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25546 if (!wxPyCheckForApp()) SWIG_fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 result
= (wxWindow
*)wxWindow::GetCapture();
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25554 resultobj
= wxPyMake_wxObject(result
, 0);
25562 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25563 PyObject
*resultobj
;
25564 wxWindow
*arg1
= (wxWindow
*) 0 ;
25566 PyObject
* obj0
= 0 ;
25567 char *kwnames
[] = {
25568 (char *) "self", NULL
25571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25590 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
;
25592 wxWindow
*arg1
= (wxWindow
*) 0 ;
25593 bool arg2
= (bool) True
;
25594 wxRect
*arg3
= (wxRect
*) NULL
;
25595 PyObject
* obj0
= 0 ;
25596 PyObject
* obj1
= 0 ;
25597 PyObject
* obj2
= 0 ;
25598 char *kwnames
[] = {
25599 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25606 arg2
= (bool) SWIG_AsBool(obj1
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25610 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25615 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25620 Py_INCREF(Py_None
); resultobj
= Py_None
;
25627 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25628 PyObject
*resultobj
;
25629 wxWindow
*arg1
= (wxWindow
*) 0 ;
25632 PyObject
* obj0
= 0 ;
25633 PyObject
* obj1
= 0 ;
25634 char *kwnames
[] = {
25635 (char *) "self",(char *) "rect", NULL
25638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25643 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25649 wxPyEndAllowThreads(__tstate
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25652 Py_INCREF(Py_None
); resultobj
= Py_None
;
25659 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25660 PyObject
*resultobj
;
25661 wxWindow
*arg1
= (wxWindow
*) 0 ;
25662 PyObject
* obj0
= 0 ;
25663 char *kwnames
[] = {
25664 (char *) "self", NULL
25667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25674 wxPyEndAllowThreads(__tstate
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25677 Py_INCREF(Py_None
); resultobj
= Py_None
;
25684 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25685 PyObject
*resultobj
;
25686 wxWindow
*arg1
= (wxWindow
*) 0 ;
25687 PyObject
* obj0
= 0 ;
25688 char *kwnames
[] = {
25689 (char *) "self", NULL
25692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 (arg1
)->ClearBackground();
25699 wxPyEndAllowThreads(__tstate
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25702 Py_INCREF(Py_None
); resultobj
= Py_None
;
25709 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25710 PyObject
*resultobj
;
25711 wxWindow
*arg1
= (wxWindow
*) 0 ;
25712 PyObject
* obj0
= 0 ;
25713 char *kwnames
[] = {
25714 (char *) "self", NULL
25717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25724 wxPyEndAllowThreads(__tstate
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25727 Py_INCREF(Py_None
); resultobj
= Py_None
;
25734 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25735 PyObject
*resultobj
;
25736 wxWindow
*arg1
= (wxWindow
*) 0 ;
25737 PyObject
* obj0
= 0 ;
25738 char *kwnames
[] = {
25739 (char *) "self", NULL
25742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25749 wxPyEndAllowThreads(__tstate
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25752 Py_INCREF(Py_None
); resultobj
= Py_None
;
25759 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
;
25761 wxWindow
*arg1
= (wxWindow
*) 0 ;
25763 PyObject
* obj0
= 0 ;
25764 PyObject
* obj1
= 0 ;
25765 char *kwnames
[] = {
25766 (char *) "self",(char *) "dc", NULL
25769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25775 if (arg2
== NULL
) {
25776 PyErr_SetString(PyExc_TypeError
,"null reference");
25780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25781 (arg1
)->PrepareDC(*arg2
);
25783 wxPyEndAllowThreads(__tstate
);
25784 if (PyErr_Occurred()) SWIG_fail
;
25786 Py_INCREF(Py_None
); resultobj
= Py_None
;
25793 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25794 PyObject
*resultobj
;
25795 wxWindow
*arg1
= (wxWindow
*) 0 ;
25797 PyObject
* obj0
= 0 ;
25798 char *kwnames
[] = {
25799 (char *) "self", NULL
25802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25808 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25809 result
= (wxRegion
*) &_result_ref
;
25812 wxPyEndAllowThreads(__tstate
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25822 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25823 PyObject
*resultobj
;
25824 wxWindow
*arg1
= (wxWindow
*) 0 ;
25826 PyObject
* obj0
= 0 ;
25827 char *kwnames
[] = {
25828 (char *) "self", NULL
25831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25836 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25838 wxPyEndAllowThreads(__tstate
);
25839 if (PyErr_Occurred()) SWIG_fail
;
25842 wxRect
* resultptr
;
25843 resultptr
= new wxRect((wxRect
&) result
);
25844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25852 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25853 PyObject
*resultobj
;
25854 wxWindow
*arg1
= (wxWindow
*) 0 ;
25857 int arg4
= (int) 1 ;
25858 int arg5
= (int) 1 ;
25860 PyObject
* obj0
= 0 ;
25861 PyObject
* obj1
= 0 ;
25862 PyObject
* obj2
= 0 ;
25863 PyObject
* obj3
= 0 ;
25864 PyObject
* obj4
= 0 ;
25865 char *kwnames
[] = {
25866 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25872 arg2
= (int) SWIG_AsInt(obj1
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25874 arg3
= (int) SWIG_AsInt(obj2
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25877 arg4
= (int) SWIG_AsInt(obj3
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25881 arg5
= (int) SWIG_AsInt(obj4
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25888 wxPyEndAllowThreads(__tstate
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25900 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25901 PyObject
*resultobj
;
25902 wxWindow
*arg1
= (wxWindow
*) 0 ;
25903 wxPoint
*arg2
= 0 ;
25906 PyObject
* obj0
= 0 ;
25907 PyObject
* obj1
= 0 ;
25908 char *kwnames
[] = {
25909 (char *) "self",(char *) "pt", NULL
25912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25917 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25935 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25936 PyObject
*resultobj
;
25937 wxWindow
*arg1
= (wxWindow
*) 0 ;
25941 PyObject
* obj0
= 0 ;
25942 PyObject
* obj1
= 0 ;
25943 char *kwnames
[] = {
25944 (char *) "self",(char *) "rect", NULL
25947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25952 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25956 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25958 wxPyEndAllowThreads(__tstate
);
25959 if (PyErr_Occurred()) SWIG_fail
;
25962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25970 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25971 PyObject
*resultobj
;
25972 wxWindow
*arg1
= (wxWindow
*) 0 ;
25973 wxVisualAttributes result
;
25974 PyObject
* obj0
= 0 ;
25975 char *kwnames
[] = {
25976 (char *) "self", NULL
25979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25990 wxVisualAttributes
* resultptr
;
25991 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26000 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26001 PyObject
*resultobj
;
26002 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26003 wxVisualAttributes result
;
26004 PyObject
* obj0
= 0 ;
26005 char *kwnames
[] = {
26006 (char *) "variant", NULL
26009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26011 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26015 if (!wxPyCheckForApp()) SWIG_fail
;
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26023 wxVisualAttributes
* resultptr
;
26024 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26033 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26034 PyObject
*resultobj
;
26035 wxWindow
*arg1
= (wxWindow
*) 0 ;
26036 wxColour
*arg2
= 0 ;
26039 PyObject
* obj0
= 0 ;
26040 PyObject
* obj1
= 0 ;
26041 char *kwnames
[] = {
26042 (char *) "self",(char *) "colour", NULL
26045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26050 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26054 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26056 wxPyEndAllowThreads(__tstate
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26068 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26069 PyObject
*resultobj
;
26070 wxWindow
*arg1
= (wxWindow
*) 0 ;
26071 wxColour
*arg2
= 0 ;
26073 PyObject
* obj0
= 0 ;
26074 PyObject
* obj1
= 0 ;
26075 char *kwnames
[] = {
26076 (char *) "self",(char *) "colour", NULL
26079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26084 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 Py_INCREF(Py_None
); resultobj
= Py_None
;
26100 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxWindow
*arg1
= (wxWindow
*) 0 ;
26103 wxColour
*arg2
= 0 ;
26106 PyObject
* obj0
= 0 ;
26107 PyObject
* obj1
= 0 ;
26108 char *kwnames
[] = {
26109 (char *) "self",(char *) "colour", NULL
26112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26117 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26121 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26135 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26136 PyObject
*resultobj
;
26137 wxWindow
*arg1
= (wxWindow
*) 0 ;
26138 wxColour
*arg2
= 0 ;
26140 PyObject
* obj0
= 0 ;
26141 PyObject
* obj1
= 0 ;
26142 char *kwnames
[] = {
26143 (char *) "self",(char *) "colour", NULL
26146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26151 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 Py_INCREF(Py_None
); resultobj
= Py_None
;
26167 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxWindow
*arg1
= (wxWindow
*) 0 ;
26171 PyObject
* obj0
= 0 ;
26172 char *kwnames
[] = {
26173 (char *) "self", NULL
26176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26187 wxColour
* resultptr
;
26188 resultptr
= new wxColour((wxColour
&) result
);
26189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26197 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26198 PyObject
*resultobj
;
26199 wxWindow
*arg1
= (wxWindow
*) 0 ;
26201 PyObject
* obj0
= 0 ;
26202 char *kwnames
[] = {
26203 (char *) "self", NULL
26206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26211 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26213 wxPyEndAllowThreads(__tstate
);
26214 if (PyErr_Occurred()) SWIG_fail
;
26217 wxColour
* resultptr
;
26218 resultptr
= new wxColour((wxColour
&) result
);
26219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26227 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26228 PyObject
*resultobj
;
26229 wxWindow
*arg1
= (wxWindow
*) 0 ;
26230 wxCursor
*arg2
= 0 ;
26232 PyObject
* obj0
= 0 ;
26233 PyObject
* obj1
= 0 ;
26234 char *kwnames
[] = {
26235 (char *) "self",(char *) "cursor", NULL
26238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26244 if (arg2
== NULL
) {
26245 PyErr_SetString(PyExc_TypeError
,"null reference");
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26252 wxPyEndAllowThreads(__tstate
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26264 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26265 PyObject
*resultobj
;
26266 wxWindow
*arg1
= (wxWindow
*) 0 ;
26268 PyObject
* obj0
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 result
= (arg1
)->GetCursor();
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26284 wxCursor
* resultptr
;
26285 resultptr
= new wxCursor((wxCursor
&) result
);
26286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26294 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26295 PyObject
*resultobj
;
26296 wxWindow
*arg1
= (wxWindow
*) 0 ;
26299 PyObject
* obj0
= 0 ;
26300 PyObject
* obj1
= 0 ;
26301 char *kwnames
[] = {
26302 (char *) "self",(char *) "font", NULL
26305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26311 if (arg2
== NULL
) {
26312 PyErr_SetString(PyExc_TypeError
,"null reference");
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26319 wxPyEndAllowThreads(__tstate
);
26320 if (PyErr_Occurred()) SWIG_fail
;
26323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26331 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26332 PyObject
*resultobj
;
26333 wxWindow
*arg1
= (wxWindow
*) 0 ;
26335 PyObject
* obj0
= 0 ;
26336 PyObject
* obj1
= 0 ;
26337 char *kwnames
[] = {
26338 (char *) "self",(char *) "font", NULL
26341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26347 if (arg2
== NULL
) {
26348 PyErr_SetString(PyExc_TypeError
,"null reference");
26352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26353 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26358 Py_INCREF(Py_None
); resultobj
= Py_None
;
26365 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26366 PyObject
*resultobj
;
26367 wxWindow
*arg1
= (wxWindow
*) 0 ;
26369 PyObject
* obj0
= 0 ;
26370 char *kwnames
[] = {
26371 (char *) "self", NULL
26374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26379 result
= (arg1
)->GetFont();
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26385 wxFont
* resultptr
;
26386 resultptr
= new wxFont((wxFont
&) result
);
26387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26395 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26396 PyObject
*resultobj
;
26397 wxWindow
*arg1
= (wxWindow
*) 0 ;
26398 wxCaret
*arg2
= (wxCaret
*) 0 ;
26399 PyObject
* obj0
= 0 ;
26400 PyObject
* obj1
= 0 ;
26401 char *kwnames
[] = {
26402 (char *) "self",(char *) "caret", NULL
26405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26412 (arg1
)->SetCaret(arg2
);
26414 wxPyEndAllowThreads(__tstate
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26417 Py_INCREF(Py_None
); resultobj
= Py_None
;
26424 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26425 PyObject
*resultobj
;
26426 wxWindow
*arg1
= (wxWindow
*) 0 ;
26428 PyObject
* obj0
= 0 ;
26429 char *kwnames
[] = {
26430 (char *) "self", NULL
26433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26450 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26451 PyObject
*resultobj
;
26452 wxWindow
*arg1
= (wxWindow
*) 0 ;
26454 PyObject
* obj0
= 0 ;
26455 char *kwnames
[] = {
26456 (char *) "self", NULL
26459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26464 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26466 wxPyEndAllowThreads(__tstate
);
26467 if (PyErr_Occurred()) SWIG_fail
;
26469 resultobj
= SWIG_FromInt((int)result
);
26476 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26477 PyObject
*resultobj
;
26478 wxWindow
*arg1
= (wxWindow
*) 0 ;
26480 PyObject
* obj0
= 0 ;
26481 char *kwnames
[] = {
26482 (char *) "self", NULL
26485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26490 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26495 resultobj
= SWIG_FromInt((int)result
);
26502 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26503 PyObject
*resultobj
;
26504 wxWindow
*arg1
= (wxWindow
*) 0 ;
26505 wxString
*arg2
= 0 ;
26506 int *arg3
= (int *) 0 ;
26507 int *arg4
= (int *) 0 ;
26508 bool temp2
= False
;
26511 PyObject
* obj0
= 0 ;
26512 PyObject
* obj1
= 0 ;
26513 char *kwnames
[] = {
26514 (char *) "self",(char *) "string", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26523 arg2
= wxString_in_helper(obj1
);
26524 if (arg2
== NULL
) SWIG_fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 Py_INCREF(Py_None
); resultobj
= Py_None
;
26536 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26537 resultobj
= t_output_helper(resultobj
,o
);
26540 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26541 resultobj
= t_output_helper(resultobj
,o
);
26557 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26558 PyObject
*resultobj
;
26559 wxWindow
*arg1
= (wxWindow
*) 0 ;
26560 wxString
*arg2
= 0 ;
26561 int *arg3
= (int *) 0 ;
26562 int *arg4
= (int *) 0 ;
26563 int *arg5
= (int *) 0 ;
26564 int *arg6
= (int *) 0 ;
26565 wxFont
*arg7
= (wxFont
*) NULL
;
26566 bool temp2
= False
;
26571 PyObject
* obj0
= 0 ;
26572 PyObject
* obj1
= 0 ;
26573 PyObject
* obj2
= 0 ;
26574 char *kwnames
[] = {
26575 (char *) "self",(char *) "string",(char *) "font", NULL
26582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26586 arg2
= wxString_in_helper(obj1
);
26587 if (arg2
== NULL
) SWIG_fail
;
26591 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26596 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26601 Py_INCREF(Py_None
); resultobj
= Py_None
;
26603 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26604 resultobj
= t_output_helper(resultobj
,o
);
26607 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26608 resultobj
= t_output_helper(resultobj
,o
);
26611 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26612 resultobj
= t_output_helper(resultobj
,o
);
26615 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26616 resultobj
= t_output_helper(resultobj
,o
);
26632 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26633 PyObject
*resultobj
;
26634 wxWindow
*arg1
= (wxWindow
*) 0 ;
26635 int *arg2
= (int *) 0 ;
26636 int *arg3
= (int *) 0 ;
26639 PyObject
* obj0
= 0 ;
26640 PyObject
* obj1
= 0 ;
26641 PyObject
* obj2
= 0 ;
26642 char *kwnames
[] = {
26643 (char *) "self",(char *) "x",(char *) "y", NULL
26646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26650 temp2
= PyInt_AsLong(obj1
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26655 temp3
= PyInt_AsLong(obj2
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26663 wxPyEndAllowThreads(__tstate
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26666 Py_INCREF(Py_None
); resultobj
= Py_None
;
26668 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26669 resultobj
= t_output_helper(resultobj
,o
);
26672 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26673 resultobj
= t_output_helper(resultobj
,o
);
26681 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26682 PyObject
*resultobj
;
26683 wxWindow
*arg1
= (wxWindow
*) 0 ;
26684 int *arg2
= (int *) 0 ;
26685 int *arg3
= (int *) 0 ;
26688 PyObject
* obj0
= 0 ;
26689 PyObject
* obj1
= 0 ;
26690 PyObject
* obj2
= 0 ;
26691 char *kwnames
[] = {
26692 (char *) "self",(char *) "x",(char *) "y", NULL
26695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26699 temp2
= PyInt_AsLong(obj1
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26704 temp3
= PyInt_AsLong(obj2
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26710 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26712 wxPyEndAllowThreads(__tstate
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26715 Py_INCREF(Py_None
); resultobj
= Py_None
;
26717 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26718 resultobj
= t_output_helper(resultobj
,o
);
26721 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26722 resultobj
= t_output_helper(resultobj
,o
);
26730 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26731 PyObject
*resultobj
;
26732 wxWindow
*arg1
= (wxWindow
*) 0 ;
26733 wxPoint
*arg2
= 0 ;
26736 PyObject
* obj0
= 0 ;
26737 PyObject
* obj1
= 0 ;
26738 char *kwnames
[] = {
26739 (char *) "self",(char *) "pt", NULL
26742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26747 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26751 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26757 wxPoint
* resultptr
;
26758 resultptr
= new wxPoint((wxPoint
&) result
);
26759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26767 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26768 PyObject
*resultobj
;
26769 wxWindow
*arg1
= (wxWindow
*) 0 ;
26770 wxPoint
*arg2
= 0 ;
26773 PyObject
* obj0
= 0 ;
26774 PyObject
* obj1
= 0 ;
26775 char *kwnames
[] = {
26776 (char *) "self",(char *) "pt", NULL
26779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26784 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26788 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26790 wxPyEndAllowThreads(__tstate
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26794 wxPoint
* resultptr
;
26795 resultptr
= new wxPoint((wxPoint
&) result
);
26796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26804 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26805 PyObject
*resultobj
;
26806 wxWindow
*arg1
= (wxWindow
*) 0 ;
26810 PyObject
* obj0
= 0 ;
26811 PyObject
* obj1
= 0 ;
26812 PyObject
* obj2
= 0 ;
26813 char *kwnames
[] = {
26814 (char *) "self",(char *) "x",(char *) "y", NULL
26817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26820 arg2
= (int) SWIG_AsInt(obj1
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26822 arg3
= (int) SWIG_AsInt(obj2
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26826 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26828 wxPyEndAllowThreads(__tstate
);
26829 if (PyErr_Occurred()) SWIG_fail
;
26831 resultobj
= SWIG_FromInt((int)result
);
26838 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26839 PyObject
*resultobj
;
26840 wxWindow
*arg1
= (wxWindow
*) 0 ;
26841 wxPoint
*arg2
= 0 ;
26844 PyObject
* obj0
= 0 ;
26845 PyObject
* obj1
= 0 ;
26846 char *kwnames
[] = {
26847 (char *) "self",(char *) "pt", NULL
26850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26855 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26861 wxPyEndAllowThreads(__tstate
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26864 resultobj
= SWIG_FromInt((int)result
);
26871 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26872 PyObject
*resultobj
;
26873 wxWindow
*arg1
= (wxWindow
*) 0 ;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26879 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26882 arg2
= (long) SWIG_AsLong(obj1
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26891 resultobj
= SWIG_FromInt((int)result
);
26898 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26899 PyObject
*resultobj
;
26900 wxWindow
*arg1
= (wxWindow
*) 0 ;
26902 PyObject
* obj0
= 0 ;
26904 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26909 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26911 wxPyEndAllowThreads(__tstate
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26914 resultobj
= SWIG_FromInt((int)result
);
26921 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26926 argc
= PyObject_Length(args
);
26927 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26928 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26934 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26942 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26949 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26957 _v
= SWIG_CheckLong(argv
[1]);
26959 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26964 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26969 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26970 PyObject
*resultobj
;
26971 wxWindow
*arg1
= (wxWindow
*) 0 ;
26972 long arg2
= (long) wxUPDATE_UI_NONE
;
26973 PyObject
* obj0
= 0 ;
26974 PyObject
* obj1
= 0 ;
26975 char *kwnames
[] = {
26976 (char *) "self",(char *) "flags", NULL
26979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26983 arg2
= (long) SWIG_AsLong(obj1
);
26984 if (PyErr_Occurred()) SWIG_fail
;
26987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26988 (arg1
)->UpdateWindowUI(arg2
);
26990 wxPyEndAllowThreads(__tstate
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26993 Py_INCREF(Py_None
); resultobj
= Py_None
;
27000 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27001 PyObject
*resultobj
;
27002 wxWindow
*arg1
= (wxWindow
*) 0 ;
27003 wxMenu
*arg2
= (wxMenu
*) 0 ;
27004 int arg3
= (int) -1 ;
27005 int arg4
= (int) -1 ;
27007 PyObject
* obj0
= 0 ;
27008 PyObject
* obj1
= 0 ;
27009 PyObject
* obj2
= 0 ;
27010 PyObject
* obj3
= 0 ;
27011 char *kwnames
[] = {
27012 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27021 arg3
= (int) SWIG_AsInt(obj2
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27025 arg4
= (int) SWIG_AsInt(obj3
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27030 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27032 wxPyEndAllowThreads(__tstate
);
27033 if (PyErr_Occurred()) SWIG_fail
;
27036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27044 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27045 PyObject
*resultobj
;
27046 wxWindow
*arg1
= (wxWindow
*) 0 ;
27047 wxMenu
*arg2
= (wxMenu
*) 0 ;
27048 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27049 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27052 PyObject
* obj0
= 0 ;
27053 PyObject
* obj1
= 0 ;
27054 PyObject
* obj2
= 0 ;
27055 char *kwnames
[] = {
27056 (char *) "self",(char *) "menu",(char *) "pos", NULL
27059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27067 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27086 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27087 PyObject
*resultobj
;
27088 wxWindow
*arg1
= (wxWindow
*) 0 ;
27090 PyObject
* obj0
= 0 ;
27091 char *kwnames
[] = {
27092 (char *) "self", NULL
27095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27100 result
= (long)wxWindow_GetHandle(arg1
);
27102 wxPyEndAllowThreads(__tstate
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27105 resultobj
= SWIG_FromLong((long)result
);
27112 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27113 PyObject
*resultobj
;
27114 wxWindow
*arg1
= (wxWindow
*) 0 ;
27115 wxPaintEvent
*arg2
= 0 ;
27116 PyObject
* obj0
= 0 ;
27117 PyObject
* obj1
= 0 ;
27118 char *kwnames
[] = {
27119 (char *) "self",(char *) "event", NULL
27122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
27123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
27126 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27128 if (arg2
== NULL
) {
27129 PyErr_SetString(PyExc_TypeError
,"null reference");
27133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27134 (arg1
)->OnPaint(*arg2
);
27136 wxPyEndAllowThreads(__tstate
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27139 Py_INCREF(Py_None
); resultobj
= Py_None
;
27146 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27147 PyObject
*resultobj
;
27148 wxWindow
*arg1
= (wxWindow
*) 0 ;
27151 PyObject
* obj0
= 0 ;
27152 PyObject
* obj1
= 0 ;
27153 char *kwnames
[] = {
27154 (char *) "self",(char *) "orient", NULL
27157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27160 arg2
= (int) SWIG_AsInt(obj1
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27164 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27166 wxPyEndAllowThreads(__tstate
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27178 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27179 PyObject
*resultobj
;
27180 wxWindow
*arg1
= (wxWindow
*) 0 ;
27185 bool arg6
= (bool) True
;
27186 PyObject
* obj0
= 0 ;
27187 PyObject
* obj1
= 0 ;
27188 PyObject
* obj2
= 0 ;
27189 PyObject
* obj3
= 0 ;
27190 PyObject
* obj4
= 0 ;
27191 PyObject
* obj5
= 0 ;
27192 char *kwnames
[] = {
27193 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27199 arg2
= (int) SWIG_AsInt(obj1
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27201 arg3
= (int) SWIG_AsInt(obj2
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27203 arg4
= (int) SWIG_AsInt(obj3
);
27204 if (PyErr_Occurred()) SWIG_fail
;
27205 arg5
= (int) SWIG_AsInt(obj4
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27208 arg6
= (bool) SWIG_AsBool(obj5
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27213 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27215 wxPyEndAllowThreads(__tstate
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27218 Py_INCREF(Py_None
); resultobj
= Py_None
;
27225 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27226 PyObject
*resultobj
;
27227 wxWindow
*arg1
= (wxWindow
*) 0 ;
27230 bool arg4
= (bool) True
;
27231 PyObject
* obj0
= 0 ;
27232 PyObject
* obj1
= 0 ;
27233 PyObject
* obj2
= 0 ;
27234 PyObject
* obj3
= 0 ;
27235 char *kwnames
[] = {
27236 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27242 arg2
= (int) SWIG_AsInt(obj1
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27244 arg3
= (int) SWIG_AsInt(obj2
);
27245 if (PyErr_Occurred()) SWIG_fail
;
27247 arg4
= (bool) SWIG_AsBool(obj3
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27252 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27254 wxPyEndAllowThreads(__tstate
);
27255 if (PyErr_Occurred()) SWIG_fail
;
27257 Py_INCREF(Py_None
); resultobj
= Py_None
;
27264 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27265 PyObject
*resultobj
;
27266 wxWindow
*arg1
= (wxWindow
*) 0 ;
27269 PyObject
* obj0
= 0 ;
27270 PyObject
* obj1
= 0 ;
27271 char *kwnames
[] = {
27272 (char *) "self",(char *) "orientation", NULL
27275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27278 arg2
= (int) SWIG_AsInt(obj1
);
27279 if (PyErr_Occurred()) SWIG_fail
;
27281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27282 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27284 wxPyEndAllowThreads(__tstate
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27287 resultobj
= SWIG_FromInt((int)result
);
27294 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27295 PyObject
*resultobj
;
27296 wxWindow
*arg1
= (wxWindow
*) 0 ;
27299 PyObject
* obj0
= 0 ;
27300 PyObject
* obj1
= 0 ;
27301 char *kwnames
[] = {
27302 (char *) "self",(char *) "orientation", NULL
27305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27308 arg2
= (int) SWIG_AsInt(obj1
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27312 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27314 wxPyEndAllowThreads(__tstate
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27317 resultobj
= SWIG_FromInt((int)result
);
27324 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27325 PyObject
*resultobj
;
27326 wxWindow
*arg1
= (wxWindow
*) 0 ;
27329 PyObject
* obj0
= 0 ;
27330 PyObject
* obj1
= 0 ;
27331 char *kwnames
[] = {
27332 (char *) "self",(char *) "orientation", NULL
27335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27338 arg2
= (int) SWIG_AsInt(obj1
);
27339 if (PyErr_Occurred()) SWIG_fail
;
27341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27342 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27344 wxPyEndAllowThreads(__tstate
);
27345 if (PyErr_Occurred()) SWIG_fail
;
27347 resultobj
= SWIG_FromInt((int)result
);
27354 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27355 PyObject
*resultobj
;
27356 wxWindow
*arg1
= (wxWindow
*) 0 ;
27359 wxRect
*arg4
= (wxRect
*) NULL
;
27360 PyObject
* obj0
= 0 ;
27361 PyObject
* obj1
= 0 ;
27362 PyObject
* obj2
= 0 ;
27363 PyObject
* obj3
= 0 ;
27364 char *kwnames
[] = {
27365 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27371 arg2
= (int) SWIG_AsInt(obj1
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27373 arg3
= (int) SWIG_AsInt(obj2
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27376 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27381 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27383 wxPyEndAllowThreads(__tstate
);
27384 if (PyErr_Occurred()) SWIG_fail
;
27386 Py_INCREF(Py_None
); resultobj
= Py_None
;
27393 static PyObject
*_wrap_Window_ScrollLines(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 *) "lines", NULL
27404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",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
)->ScrollLines(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_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
;
27427 wxWindow
*arg1
= (wxWindow
*) 0 ;
27430 PyObject
* obj0
= 0 ;
27431 PyObject
* obj1
= 0 ;
27432 char *kwnames
[] = {
27433 (char *) "self",(char *) "pages", NULL
27436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27439 arg2
= (int) SWIG_AsInt(obj1
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27443 result
= (bool)(arg1
)->ScrollPages(arg2
);
27445 wxPyEndAllowThreads(__tstate
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27457 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27458 PyObject
*resultobj
;
27459 wxWindow
*arg1
= (wxWindow
*) 0 ;
27461 PyObject
* obj0
= 0 ;
27462 char *kwnames
[] = {
27463 (char *) "self", NULL
27466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 result
= (bool)(arg1
)->LineUp();
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27485 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
;
27487 wxWindow
*arg1
= (wxWindow
*) 0 ;
27489 PyObject
* obj0
= 0 ;
27490 char *kwnames
[] = {
27491 (char *) "self", NULL
27494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 result
= (bool)(arg1
)->LineDown();
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27513 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
;
27515 wxWindow
*arg1
= (wxWindow
*) 0 ;
27517 PyObject
* obj0
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "self", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 result
= (bool)(arg1
)->PageUp();
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27541 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27542 PyObject
*resultobj
;
27543 wxWindow
*arg1
= (wxWindow
*) 0 ;
27545 PyObject
* obj0
= 0 ;
27546 char *kwnames
[] = {
27547 (char *) "self", NULL
27550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 result
= (bool)(arg1
)->PageDown();
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27569 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27570 PyObject
*resultobj
;
27571 wxWindow
*arg1
= (wxWindow
*) 0 ;
27572 wxString
*arg2
= 0 ;
27573 bool temp2
= False
;
27574 PyObject
* obj0
= 0 ;
27575 PyObject
* obj1
= 0 ;
27576 char *kwnames
[] = {
27577 (char *) "self",(char *) "text", NULL
27580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27584 arg2
= wxString_in_helper(obj1
);
27585 if (arg2
== NULL
) SWIG_fail
;
27589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27590 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27592 wxPyEndAllowThreads(__tstate
);
27593 if (PyErr_Occurred()) SWIG_fail
;
27595 Py_INCREF(Py_None
); resultobj
= Py_None
;
27610 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27611 PyObject
*resultobj
;
27612 wxWindow
*arg1
= (wxWindow
*) 0 ;
27613 wxString
*arg2
= 0 ;
27614 bool temp2
= False
;
27615 PyObject
* obj0
= 0 ;
27616 PyObject
* obj1
= 0 ;
27617 char *kwnames
[] = {
27618 (char *) "self",(char *) "text", NULL
27621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27625 arg2
= wxString_in_helper(obj1
);
27626 if (arg2
== NULL
) SWIG_fail
;
27630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27631 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27633 wxPyEndAllowThreads(__tstate
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27636 Py_INCREF(Py_None
); resultobj
= Py_None
;
27651 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxWindow
*arg1
= (wxWindow
*) 0 ;
27655 PyObject
* obj0
= 0 ;
27656 char *kwnames
[] = {
27657 (char *) "self", NULL
27660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27665 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27683 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27684 PyObject
*resultobj
;
27685 wxWindow
*arg1
= (wxWindow
*) 0 ;
27686 wxString
*arg2
= 0 ;
27687 bool temp2
= False
;
27688 PyObject
* obj0
= 0 ;
27689 PyObject
* obj1
= 0 ;
27690 char *kwnames
[] = {
27691 (char *) "self",(char *) "tip", NULL
27694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27698 arg2
= wxString_in_helper(obj1
);
27699 if (arg2
== NULL
) SWIG_fail
;
27703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27704 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27706 wxPyEndAllowThreads(__tstate
);
27707 if (PyErr_Occurred()) SWIG_fail
;
27709 Py_INCREF(Py_None
); resultobj
= Py_None
;
27724 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27725 PyObject
*resultobj
;
27726 wxWindow
*arg1
= (wxWindow
*) 0 ;
27727 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27728 PyObject
* obj0
= 0 ;
27729 PyObject
* obj1
= 0 ;
27730 char *kwnames
[] = {
27731 (char *) "self",(char *) "tip", NULL
27734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27741 (arg1
)->SetToolTip(arg2
);
27743 wxPyEndAllowThreads(__tstate
);
27744 if (PyErr_Occurred()) SWIG_fail
;
27746 Py_INCREF(Py_None
); resultobj
= Py_None
;
27753 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27754 PyObject
*resultobj
;
27755 wxWindow
*arg1
= (wxWindow
*) 0 ;
27757 PyObject
* obj0
= 0 ;
27758 char *kwnames
[] = {
27759 (char *) "self", NULL
27762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27767 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27769 wxPyEndAllowThreads(__tstate
);
27770 if (PyErr_Occurred()) SWIG_fail
;
27773 resultobj
= wxPyMake_wxObject(result
, 0);
27781 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
;
27783 wxWindow
*arg1
= (wxWindow
*) 0 ;
27784 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27785 PyObject
* obj0
= 0 ;
27786 PyObject
* obj1
= 0 ;
27787 char *kwnames
[] = {
27788 (char *) "self",(char *) "dropTarget", NULL
27791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27795 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27798 (arg1
)->SetDropTarget(arg2
);
27800 wxPyEndAllowThreads(__tstate
);
27801 if (PyErr_Occurred()) SWIG_fail
;
27803 Py_INCREF(Py_None
); resultobj
= Py_None
;
27810 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27811 PyObject
*resultobj
;
27812 wxWindow
*arg1
= (wxWindow
*) 0 ;
27813 wxPyDropTarget
*result
;
27814 PyObject
* obj0
= 0 ;
27815 char *kwnames
[] = {
27816 (char *) "self", NULL
27819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27824 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27826 wxPyEndAllowThreads(__tstate
);
27827 if (PyErr_Occurred()) SWIG_fail
;
27829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27836 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27837 PyObject
*resultobj
;
27838 wxWindow
*arg1
= (wxWindow
*) 0 ;
27840 PyObject
* obj0
= 0 ;
27841 PyObject
* obj1
= 0 ;
27842 char *kwnames
[] = {
27843 (char *) "self",(char *) "accept", NULL
27846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
27847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27849 arg2
= (bool) SWIG_AsBool(obj1
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27853 (arg1
)->DragAcceptFiles(arg2
);
27855 wxPyEndAllowThreads(__tstate
);
27856 if (PyErr_Occurred()) SWIG_fail
;
27858 Py_INCREF(Py_None
); resultobj
= Py_None
;
27865 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27866 PyObject
*resultobj
;
27867 wxWindow
*arg1
= (wxWindow
*) 0 ;
27868 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27869 PyObject
* obj0
= 0 ;
27870 PyObject
* obj1
= 0 ;
27871 char *kwnames
[] = {
27872 (char *) "self",(char *) "constraints", NULL
27875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27882 (arg1
)->SetConstraints(arg2
);
27884 wxPyEndAllowThreads(__tstate
);
27885 if (PyErr_Occurred()) SWIG_fail
;
27887 Py_INCREF(Py_None
); resultobj
= Py_None
;
27894 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27895 PyObject
*resultobj
;
27896 wxWindow
*arg1
= (wxWindow
*) 0 ;
27897 wxLayoutConstraints
*result
;
27898 PyObject
* obj0
= 0 ;
27899 char *kwnames
[] = {
27900 (char *) "self", NULL
27903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27908 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27910 wxPyEndAllowThreads(__tstate
);
27911 if (PyErr_Occurred()) SWIG_fail
;
27913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27920 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27921 PyObject
*resultobj
;
27922 wxWindow
*arg1
= (wxWindow
*) 0 ;
27924 PyObject
* obj0
= 0 ;
27925 PyObject
* obj1
= 0 ;
27926 char *kwnames
[] = {
27927 (char *) "self",(char *) "autoLayout", NULL
27930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27933 arg2
= (bool) SWIG_AsBool(obj1
);
27934 if (PyErr_Occurred()) SWIG_fail
;
27936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27937 (arg1
)->SetAutoLayout(arg2
);
27939 wxPyEndAllowThreads(__tstate
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27942 Py_INCREF(Py_None
); resultobj
= Py_None
;
27949 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
;
27951 wxWindow
*arg1
= (wxWindow
*) 0 ;
27953 PyObject
* obj0
= 0 ;
27954 char *kwnames
[] = {
27955 (char *) "self", NULL
27958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27963 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27977 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27978 PyObject
*resultobj
;
27979 wxWindow
*arg1
= (wxWindow
*) 0 ;
27981 PyObject
* obj0
= 0 ;
27982 char *kwnames
[] = {
27983 (char *) "self", NULL
27986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 result
= (bool)(arg1
)->Layout();
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28005 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28006 PyObject
*resultobj
;
28007 wxWindow
*arg1
= (wxWindow
*) 0 ;
28008 wxSizer
*arg2
= (wxSizer
*) 0 ;
28009 bool arg3
= (bool) True
;
28010 PyObject
* obj0
= 0 ;
28011 PyObject
* obj1
= 0 ;
28012 PyObject
* obj2
= 0 ;
28013 char *kwnames
[] = {
28014 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28023 arg3
= (bool) SWIG_AsBool(obj2
);
28024 if (PyErr_Occurred()) SWIG_fail
;
28027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28028 (arg1
)->SetSizer(arg2
,arg3
);
28030 wxPyEndAllowThreads(__tstate
);
28031 if (PyErr_Occurred()) SWIG_fail
;
28033 Py_INCREF(Py_None
); resultobj
= Py_None
;
28040 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28041 PyObject
*resultobj
;
28042 wxWindow
*arg1
= (wxWindow
*) 0 ;
28043 wxSizer
*arg2
= (wxSizer
*) 0 ;
28044 bool arg3
= (bool) True
;
28045 PyObject
* obj0
= 0 ;
28046 PyObject
* obj1
= 0 ;
28047 PyObject
* obj2
= 0 ;
28048 char *kwnames
[] = {
28049 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= (bool) SWIG_AsBool(obj2
);
28059 if (PyErr_Occurred()) SWIG_fail
;
28062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28063 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 Py_INCREF(Py_None
); resultobj
= Py_None
;
28075 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28076 PyObject
*resultobj
;
28077 wxWindow
*arg1
= (wxWindow
*) 0 ;
28079 PyObject
* obj0
= 0 ;
28080 char *kwnames
[] = {
28081 (char *) "self", NULL
28084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28089 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28091 wxPyEndAllowThreads(__tstate
);
28092 if (PyErr_Occurred()) SWIG_fail
;
28095 resultobj
= wxPyMake_wxSizer(result
, 0);
28103 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
;
28105 wxWindow
*arg1
= (wxWindow
*) 0 ;
28106 wxSizer
*arg2
= (wxSizer
*) 0 ;
28107 PyObject
* obj0
= 0 ;
28108 PyObject
* obj1
= 0 ;
28109 char *kwnames
[] = {
28110 (char *) "self",(char *) "sizer", NULL
28113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 (arg1
)->SetContainingSizer(arg2
);
28122 wxPyEndAllowThreads(__tstate
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28125 Py_INCREF(Py_None
); resultobj
= Py_None
;
28132 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28133 PyObject
*resultobj
;
28134 wxWindow
*arg1
= (wxWindow
*) 0 ;
28136 PyObject
* obj0
= 0 ;
28137 char *kwnames
[] = {
28138 (char *) "self", NULL
28141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28146 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= wxPyMake_wxSizer(result
, 0);
28160 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28161 PyObject
*resultobj
;
28162 wxWindow
*arg1
= (wxWindow
*) 0 ;
28163 PyObject
* obj0
= 0 ;
28164 char *kwnames
[] = {
28165 (char *) "self", NULL
28168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28173 (arg1
)->InheritAttributes();
28175 wxPyEndAllowThreads(__tstate
);
28176 if (PyErr_Occurred()) SWIG_fail
;
28178 Py_INCREF(Py_None
); resultobj
= Py_None
;
28185 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28186 PyObject
*resultobj
;
28187 wxWindow
*arg1
= (wxWindow
*) 0 ;
28189 PyObject
* obj0
= 0 ;
28190 char *kwnames
[] = {
28191 (char *) "self", NULL
28194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28199 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28201 wxPyEndAllowThreads(__tstate
);
28202 if (PyErr_Occurred()) SWIG_fail
;
28205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28213 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
28215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28216 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28218 return Py_BuildValue((char *)"");
28220 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28221 PyObject
*resultobj
;
28223 wxWindow
*arg2
= (wxWindow
*) NULL
;
28225 PyObject
* obj0
= 0 ;
28226 PyObject
* obj1
= 0 ;
28227 char *kwnames
[] = {
28228 (char *) "id",(char *) "parent", NULL
28231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28232 arg1
= (long) SWIG_AsLong(obj0
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28239 if (!wxPyCheckForApp()) SWIG_fail
;
28240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28241 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28243 wxPyEndAllowThreads(__tstate
);
28244 if (PyErr_Occurred()) SWIG_fail
;
28247 resultobj
= wxPyMake_wxObject(result
, 0);
28255 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28256 PyObject
*resultobj
;
28257 wxString
*arg1
= 0 ;
28258 wxWindow
*arg2
= (wxWindow
*) NULL
;
28260 bool temp1
= False
;
28261 PyObject
* obj0
= 0 ;
28262 PyObject
* obj1
= 0 ;
28263 char *kwnames
[] = {
28264 (char *) "name",(char *) "parent", NULL
28267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28269 arg1
= wxString_in_helper(obj0
);
28270 if (arg1
== NULL
) SWIG_fail
;
28274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28278 if (!wxPyCheckForApp()) SWIG_fail
;
28279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28280 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28282 wxPyEndAllowThreads(__tstate
);
28283 if (PyErr_Occurred()) SWIG_fail
;
28286 resultobj
= wxPyMake_wxObject(result
, 0);
28302 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28303 PyObject
*resultobj
;
28304 wxString
*arg1
= 0 ;
28305 wxWindow
*arg2
= (wxWindow
*) NULL
;
28307 bool temp1
= False
;
28308 PyObject
* obj0
= 0 ;
28309 PyObject
* obj1
= 0 ;
28310 char *kwnames
[] = {
28311 (char *) "label",(char *) "parent", NULL
28314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28316 arg1
= wxString_in_helper(obj0
);
28317 if (arg1
== NULL
) SWIG_fail
;
28321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28325 if (!wxPyCheckForApp()) SWIG_fail
;
28326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28327 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28329 wxPyEndAllowThreads(__tstate
);
28330 if (PyErr_Occurred()) SWIG_fail
;
28333 resultobj
= wxPyMake_wxObject(result
, 0);
28349 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28350 PyObject
*resultobj
;
28351 wxWindow
*arg1
= (wxWindow
*) 0 ;
28352 unsigned long arg2
;
28354 PyObject
* obj0
= 0 ;
28355 PyObject
* obj1
= 0 ;
28356 char *kwnames
[] = {
28357 (char *) "parent",(char *) "_hWnd", NULL
28360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28363 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28364 if (PyErr_Occurred()) SWIG_fail
;
28366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28367 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28369 wxPyEndAllowThreads(__tstate
);
28370 if (PyErr_Occurred()) SWIG_fail
;
28373 resultobj
= wxPyMake_wxObject(result
, 0);
28381 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28382 PyObject
*resultobj
;
28383 wxValidator
*result
;
28384 char *kwnames
[] = {
28388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28391 result
= (wxValidator
*)new wxValidator();
28393 wxPyEndAllowThreads(__tstate
);
28394 if (PyErr_Occurred()) SWIG_fail
;
28396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
28403 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28404 PyObject
*resultobj
;
28405 wxValidator
*arg1
= (wxValidator
*) 0 ;
28406 wxValidator
*result
;
28407 PyObject
* obj0
= 0 ;
28408 char *kwnames
[] = {
28409 (char *) "self", NULL
28412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28417 result
= (wxValidator
*)(arg1
)->Clone();
28419 wxPyEndAllowThreads(__tstate
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28423 resultobj
= wxPyMake_wxObject(result
, 0);
28431 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28432 PyObject
*resultobj
;
28433 wxValidator
*arg1
= (wxValidator
*) 0 ;
28434 wxWindow
*arg2
= (wxWindow
*) 0 ;
28436 PyObject
* obj0
= 0 ;
28437 PyObject
* obj1
= 0 ;
28438 char *kwnames
[] = {
28439 (char *) "self",(char *) "parent", NULL
28442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28449 result
= (bool)(arg1
)->Validate(arg2
);
28451 wxPyEndAllowThreads(__tstate
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28463 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28464 PyObject
*resultobj
;
28465 wxValidator
*arg1
= (wxValidator
*) 0 ;
28467 PyObject
* obj0
= 0 ;
28468 char *kwnames
[] = {
28469 (char *) "self", NULL
28472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28477 result
= (bool)(arg1
)->TransferToWindow();
28479 wxPyEndAllowThreads(__tstate
);
28480 if (PyErr_Occurred()) SWIG_fail
;
28483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28491 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28492 PyObject
*resultobj
;
28493 wxValidator
*arg1
= (wxValidator
*) 0 ;
28495 PyObject
* obj0
= 0 ;
28496 char *kwnames
[] = {
28497 (char *) "self", NULL
28500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28505 result
= (bool)(arg1
)->TransferFromWindow();
28507 wxPyEndAllowThreads(__tstate
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28519 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28520 PyObject
*resultobj
;
28521 wxValidator
*arg1
= (wxValidator
*) 0 ;
28523 PyObject
* obj0
= 0 ;
28524 char *kwnames
[] = {
28525 (char *) "self", NULL
28528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28533 result
= (wxWindow
*)(arg1
)->GetWindow();
28535 wxPyEndAllowThreads(__tstate
);
28536 if (PyErr_Occurred()) SWIG_fail
;
28539 resultobj
= wxPyMake_wxObject(result
, 0);
28547 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28548 PyObject
*resultobj
;
28549 wxValidator
*arg1
= (wxValidator
*) 0 ;
28550 wxWindow
*arg2
= (wxWindow
*) 0 ;
28551 PyObject
* obj0
= 0 ;
28552 PyObject
* obj1
= 0 ;
28553 char *kwnames
[] = {
28554 (char *) "self",(char *) "window", NULL
28557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28564 (arg1
)->SetWindow(arg2
);
28566 wxPyEndAllowThreads(__tstate
);
28567 if (PyErr_Occurred()) SWIG_fail
;
28569 Py_INCREF(Py_None
); resultobj
= Py_None
;
28576 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28577 PyObject
*resultobj
;
28579 char *kwnames
[] = {
28583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 result
= (bool)wxValidator::IsSilent();
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28600 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28601 PyObject
*resultobj
;
28602 int arg1
= (int) True
;
28603 PyObject
* obj0
= 0 ;
28604 char *kwnames
[] = {
28605 (char *) "doIt", NULL
28608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28610 arg1
= (int) SWIG_AsInt(obj0
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28615 wxValidator::SetBellOnError(arg1
);
28617 wxPyEndAllowThreads(__tstate
);
28618 if (PyErr_Occurred()) SWIG_fail
;
28620 Py_INCREF(Py_None
); resultobj
= Py_None
;
28627 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28630 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28632 return Py_BuildValue((char *)"");
28634 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28635 PyObject
*resultobj
;
28636 wxPyValidator
*result
;
28637 char *kwnames
[] = {
28641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28644 result
= (wxPyValidator
*)new wxPyValidator();
28646 wxPyEndAllowThreads(__tstate
);
28647 if (PyErr_Occurred()) SWIG_fail
;
28649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28656 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28657 PyObject
*resultobj
;
28658 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28659 PyObject
*arg2
= (PyObject
*) 0 ;
28660 PyObject
*arg3
= (PyObject
*) 0 ;
28661 int arg4
= (int) True
;
28662 PyObject
* obj0
= 0 ;
28663 PyObject
* obj1
= 0 ;
28664 PyObject
* obj2
= 0 ;
28665 PyObject
* obj3
= 0 ;
28666 char *kwnames
[] = {
28667 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28676 arg4
= (int) SWIG_AsInt(obj3
);
28677 if (PyErr_Occurred()) SWIG_fail
;
28680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28681 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28683 wxPyEndAllowThreads(__tstate
);
28684 if (PyErr_Occurred()) SWIG_fail
;
28686 Py_INCREF(Py_None
); resultobj
= Py_None
;
28693 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28696 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28698 return Py_BuildValue((char *)"");
28700 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28701 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28706 static PyObject
*_wrap_DefaultValidator_get() {
28709 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28714 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28715 PyObject
*resultobj
;
28716 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28717 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28718 long arg2
= (long) 0 ;
28720 bool temp1
= False
;
28721 PyObject
* obj0
= 0 ;
28722 PyObject
* obj1
= 0 ;
28723 char *kwnames
[] = {
28724 (char *) "title",(char *) "style", NULL
28727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28730 arg1
= wxString_in_helper(obj0
);
28731 if (arg1
== NULL
) SWIG_fail
;
28736 arg2
= (long) SWIG_AsLong(obj1
);
28737 if (PyErr_Occurred()) SWIG_fail
;
28740 if (!wxPyCheckForApp()) SWIG_fail
;
28741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28742 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28744 wxPyEndAllowThreads(__tstate
);
28745 if (PyErr_Occurred()) SWIG_fail
;
28747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
28762 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28763 PyObject
*resultobj
;
28764 wxMenu
*arg1
= (wxMenu
*) 0 ;
28766 wxString
*arg3
= 0 ;
28767 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28768 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28769 int arg5
= (int) wxITEM_NORMAL
;
28770 wxMenuItem
*result
;
28771 bool temp3
= False
;
28772 bool temp4
= False
;
28773 PyObject
* obj0
= 0 ;
28774 PyObject
* obj1
= 0 ;
28775 PyObject
* obj2
= 0 ;
28776 PyObject
* obj3
= 0 ;
28777 PyObject
* obj4
= 0 ;
28778 char *kwnames
[] = {
28779 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28785 arg2
= (int) SWIG_AsInt(obj1
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28788 arg3
= wxString_in_helper(obj2
);
28789 if (arg3
== NULL
) SWIG_fail
;
28794 arg4
= wxString_in_helper(obj3
);
28795 if (arg4
== NULL
) SWIG_fail
;
28800 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28807 wxPyEndAllowThreads(__tstate
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28811 resultobj
= wxPyMake_wxObject(result
, 0);
28835 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28836 PyObject
*resultobj
;
28837 wxMenu
*arg1
= (wxMenu
*) 0 ;
28838 wxMenuItem
*result
;
28839 PyObject
* obj0
= 0 ;
28840 char *kwnames
[] = {
28841 (char *) "self", NULL
28844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28849 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28851 wxPyEndAllowThreads(__tstate
);
28852 if (PyErr_Occurred()) SWIG_fail
;
28855 resultobj
= wxPyMake_wxObject(result
, 0);
28863 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28864 PyObject
*resultobj
;
28865 wxMenu
*arg1
= (wxMenu
*) 0 ;
28867 wxString
*arg3
= 0 ;
28868 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28869 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28870 wxMenuItem
*result
;
28871 bool temp3
= False
;
28872 bool temp4
= False
;
28873 PyObject
* obj0
= 0 ;
28874 PyObject
* obj1
= 0 ;
28875 PyObject
* obj2
= 0 ;
28876 PyObject
* obj3
= 0 ;
28877 char *kwnames
[] = {
28878 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28884 arg2
= (int) SWIG_AsInt(obj1
);
28885 if (PyErr_Occurred()) SWIG_fail
;
28887 arg3
= wxString_in_helper(obj2
);
28888 if (arg3
== NULL
) SWIG_fail
;
28893 arg4
= wxString_in_helper(obj3
);
28894 if (arg4
== NULL
) SWIG_fail
;
28899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28900 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28902 wxPyEndAllowThreads(__tstate
);
28903 if (PyErr_Occurred()) SWIG_fail
;
28906 resultobj
= wxPyMake_wxObject(result
, 0);
28930 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28931 PyObject
*resultobj
;
28932 wxMenu
*arg1
= (wxMenu
*) 0 ;
28934 wxString
*arg3
= 0 ;
28935 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28936 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28937 wxMenuItem
*result
;
28938 bool temp3
= False
;
28939 bool temp4
= False
;
28940 PyObject
* obj0
= 0 ;
28941 PyObject
* obj1
= 0 ;
28942 PyObject
* obj2
= 0 ;
28943 PyObject
* obj3
= 0 ;
28944 char *kwnames
[] = {
28945 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28951 arg2
= (int) SWIG_AsInt(obj1
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28954 arg3
= wxString_in_helper(obj2
);
28955 if (arg3
== NULL
) SWIG_fail
;
28960 arg4
= wxString_in_helper(obj3
);
28961 if (arg4
== NULL
) SWIG_fail
;
28966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28967 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28969 wxPyEndAllowThreads(__tstate
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28973 resultobj
= wxPyMake_wxObject(result
, 0);
28997 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28998 PyObject
*resultobj
;
28999 wxMenu
*arg1
= (wxMenu
*) 0 ;
29001 wxString
*arg3
= 0 ;
29002 wxMenu
*arg4
= (wxMenu
*) 0 ;
29003 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29004 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29005 wxMenuItem
*result
;
29006 bool temp3
= False
;
29007 bool temp5
= False
;
29008 PyObject
* obj0
= 0 ;
29009 PyObject
* obj1
= 0 ;
29010 PyObject
* obj2
= 0 ;
29011 PyObject
* obj3
= 0 ;
29012 PyObject
* obj4
= 0 ;
29013 char *kwnames
[] = {
29014 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29020 arg2
= (int) SWIG_AsInt(obj1
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29023 arg3
= wxString_in_helper(obj2
);
29024 if (arg3
== NULL
) SWIG_fail
;
29027 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29031 arg5
= wxString_in_helper(obj4
);
29032 if (arg5
== NULL
) SWIG_fail
;
29037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29038 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29040 wxPyEndAllowThreads(__tstate
);
29041 if (PyErr_Occurred()) SWIG_fail
;
29044 resultobj
= wxPyMake_wxObject(result
, 0);
29068 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29069 PyObject
*resultobj
;
29070 wxMenu
*arg1
= (wxMenu
*) 0 ;
29071 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29072 wxMenuItem
*result
;
29073 PyObject
* obj0
= 0 ;
29074 PyObject
* obj1
= 0 ;
29075 char *kwnames
[] = {
29076 (char *) "self",(char *) "item", NULL
29079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29086 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29088 wxPyEndAllowThreads(__tstate
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29092 resultobj
= wxPyMake_wxObject(result
, 0);
29100 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29101 PyObject
*resultobj
;
29102 wxMenu
*arg1
= (wxMenu
*) 0 ;
29103 PyObject
* obj0
= 0 ;
29104 char *kwnames
[] = {
29105 (char *) "self", NULL
29108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29115 wxPyEndAllowThreads(__tstate
);
29116 if (PyErr_Occurred()) SWIG_fail
;
29118 Py_INCREF(Py_None
); resultobj
= Py_None
;
29125 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29126 PyObject
*resultobj
;
29127 wxMenu
*arg1
= (wxMenu
*) 0 ;
29129 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29130 wxMenuItem
*result
;
29131 PyObject
* obj0
= 0 ;
29132 PyObject
* obj1
= 0 ;
29133 PyObject
* obj2
= 0 ;
29134 char *kwnames
[] = {
29135 (char *) "self",(char *) "pos",(char *) "item", NULL
29138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29141 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29143 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29147 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29149 wxPyEndAllowThreads(__tstate
);
29150 if (PyErr_Occurred()) SWIG_fail
;
29153 resultobj
= wxPyMake_wxObject(result
, 0);
29161 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29162 PyObject
*resultobj
;
29163 wxMenu
*arg1
= (wxMenu
*) 0 ;
29166 wxString
*arg4
= 0 ;
29167 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29168 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29169 int arg6
= (int) wxITEM_NORMAL
;
29170 wxMenuItem
*result
;
29171 bool temp4
= False
;
29172 bool temp5
= False
;
29173 PyObject
* obj0
= 0 ;
29174 PyObject
* obj1
= 0 ;
29175 PyObject
* obj2
= 0 ;
29176 PyObject
* obj3
= 0 ;
29177 PyObject
* obj4
= 0 ;
29178 PyObject
* obj5
= 0 ;
29179 char *kwnames
[] = {
29180 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29186 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29187 if (PyErr_Occurred()) SWIG_fail
;
29188 arg3
= (int) SWIG_AsInt(obj2
);
29189 if (PyErr_Occurred()) SWIG_fail
;
29191 arg4
= wxString_in_helper(obj3
);
29192 if (arg4
== NULL
) SWIG_fail
;
29197 arg5
= wxString_in_helper(obj4
);
29198 if (arg5
== NULL
) SWIG_fail
;
29203 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
29204 if (PyErr_Occurred()) SWIG_fail
;
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29210 wxPyEndAllowThreads(__tstate
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29214 resultobj
= wxPyMake_wxObject(result
, 0);
29238 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29239 PyObject
*resultobj
;
29240 wxMenu
*arg1
= (wxMenu
*) 0 ;
29242 wxMenuItem
*result
;
29243 PyObject
* obj0
= 0 ;
29244 PyObject
* obj1
= 0 ;
29245 char *kwnames
[] = {
29246 (char *) "self",(char *) "pos", NULL
29249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29252 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29256 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29258 wxPyEndAllowThreads(__tstate
);
29259 if (PyErr_Occurred()) SWIG_fail
;
29262 resultobj
= wxPyMake_wxObject(result
, 0);
29270 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29271 PyObject
*resultobj
;
29272 wxMenu
*arg1
= (wxMenu
*) 0 ;
29275 wxString
*arg4
= 0 ;
29276 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29277 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29278 wxMenuItem
*result
;
29279 bool temp4
= False
;
29280 bool temp5
= False
;
29281 PyObject
* obj0
= 0 ;
29282 PyObject
* obj1
= 0 ;
29283 PyObject
* obj2
= 0 ;
29284 PyObject
* obj3
= 0 ;
29285 PyObject
* obj4
= 0 ;
29286 char *kwnames
[] = {
29287 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29293 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29294 if (PyErr_Occurred()) SWIG_fail
;
29295 arg3
= (int) SWIG_AsInt(obj2
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29298 arg4
= wxString_in_helper(obj3
);
29299 if (arg4
== NULL
) SWIG_fail
;
29304 arg5
= wxString_in_helper(obj4
);
29305 if (arg5
== NULL
) SWIG_fail
;
29310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29311 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29313 wxPyEndAllowThreads(__tstate
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29317 resultobj
= wxPyMake_wxObject(result
, 0);
29341 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29342 PyObject
*resultobj
;
29343 wxMenu
*arg1
= (wxMenu
*) 0 ;
29346 wxString
*arg4
= 0 ;
29347 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29348 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29349 wxMenuItem
*result
;
29350 bool temp4
= False
;
29351 bool temp5
= False
;
29352 PyObject
* obj0
= 0 ;
29353 PyObject
* obj1
= 0 ;
29354 PyObject
* obj2
= 0 ;
29355 PyObject
* obj3
= 0 ;
29356 PyObject
* obj4
= 0 ;
29357 char *kwnames
[] = {
29358 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29364 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29365 if (PyErr_Occurred()) SWIG_fail
;
29366 arg3
= (int) SWIG_AsInt(obj2
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29369 arg4
= wxString_in_helper(obj3
);
29370 if (arg4
== NULL
) SWIG_fail
;
29375 arg5
= wxString_in_helper(obj4
);
29376 if (arg5
== NULL
) SWIG_fail
;
29381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29382 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29384 wxPyEndAllowThreads(__tstate
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29388 resultobj
= wxPyMake_wxObject(result
, 0);
29412 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29413 PyObject
*resultobj
;
29414 wxMenu
*arg1
= (wxMenu
*) 0 ;
29417 wxString
*arg4
= 0 ;
29418 wxMenu
*arg5
= (wxMenu
*) 0 ;
29419 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29420 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29421 wxMenuItem
*result
;
29422 bool temp4
= False
;
29423 bool temp6
= False
;
29424 PyObject
* obj0
= 0 ;
29425 PyObject
* obj1
= 0 ;
29426 PyObject
* obj2
= 0 ;
29427 PyObject
* obj3
= 0 ;
29428 PyObject
* obj4
= 0 ;
29429 PyObject
* obj5
= 0 ;
29430 char *kwnames
[] = {
29431 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29437 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29438 if (PyErr_Occurred()) SWIG_fail
;
29439 arg3
= (int) SWIG_AsInt(obj2
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29442 arg4
= wxString_in_helper(obj3
);
29443 if (arg4
== NULL
) SWIG_fail
;
29446 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29450 arg6
= wxString_in_helper(obj5
);
29451 if (arg6
== NULL
) SWIG_fail
;
29456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29457 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29459 wxPyEndAllowThreads(__tstate
);
29460 if (PyErr_Occurred()) SWIG_fail
;
29463 resultobj
= wxPyMake_wxObject(result
, 0);
29487 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29488 PyObject
*resultobj
;
29489 wxMenu
*arg1
= (wxMenu
*) 0 ;
29490 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29491 wxMenuItem
*result
;
29492 PyObject
* obj0
= 0 ;
29493 PyObject
* obj1
= 0 ;
29494 char *kwnames
[] = {
29495 (char *) "self",(char *) "item", NULL
29498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29505 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29507 wxPyEndAllowThreads(__tstate
);
29508 if (PyErr_Occurred()) SWIG_fail
;
29511 resultobj
= wxPyMake_wxObject(result
, 0);
29519 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29520 PyObject
*resultobj
;
29521 wxMenu
*arg1
= (wxMenu
*) 0 ;
29523 wxString
*arg3
= 0 ;
29524 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29525 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29526 int arg5
= (int) wxITEM_NORMAL
;
29527 wxMenuItem
*result
;
29528 bool temp3
= False
;
29529 bool temp4
= False
;
29530 PyObject
* obj0
= 0 ;
29531 PyObject
* obj1
= 0 ;
29532 PyObject
* obj2
= 0 ;
29533 PyObject
* obj3
= 0 ;
29534 PyObject
* obj4
= 0 ;
29535 char *kwnames
[] = {
29536 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29542 arg2
= (int) SWIG_AsInt(obj1
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29545 arg3
= wxString_in_helper(obj2
);
29546 if (arg3
== NULL
) SWIG_fail
;
29551 arg4
= wxString_in_helper(obj3
);
29552 if (arg4
== NULL
) SWIG_fail
;
29557 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29558 if (PyErr_Occurred()) SWIG_fail
;
29561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29562 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29564 wxPyEndAllowThreads(__tstate
);
29565 if (PyErr_Occurred()) SWIG_fail
;
29568 resultobj
= wxPyMake_wxObject(result
, 0);
29592 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29593 PyObject
*resultobj
;
29594 wxMenu
*arg1
= (wxMenu
*) 0 ;
29595 wxMenuItem
*result
;
29596 PyObject
* obj0
= 0 ;
29597 char *kwnames
[] = {
29598 (char *) "self", NULL
29601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29606 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29608 wxPyEndAllowThreads(__tstate
);
29609 if (PyErr_Occurred()) SWIG_fail
;
29612 resultobj
= wxPyMake_wxObject(result
, 0);
29620 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29621 PyObject
*resultobj
;
29622 wxMenu
*arg1
= (wxMenu
*) 0 ;
29624 wxString
*arg3
= 0 ;
29625 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29626 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29627 wxMenuItem
*result
;
29628 bool temp3
= False
;
29629 bool temp4
= False
;
29630 PyObject
* obj0
= 0 ;
29631 PyObject
* obj1
= 0 ;
29632 PyObject
* obj2
= 0 ;
29633 PyObject
* obj3
= 0 ;
29634 char *kwnames
[] = {
29635 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29641 arg2
= (int) SWIG_AsInt(obj1
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29644 arg3
= wxString_in_helper(obj2
);
29645 if (arg3
== NULL
) SWIG_fail
;
29650 arg4
= wxString_in_helper(obj3
);
29651 if (arg4
== NULL
) SWIG_fail
;
29656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29657 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29659 wxPyEndAllowThreads(__tstate
);
29660 if (PyErr_Occurred()) SWIG_fail
;
29663 resultobj
= wxPyMake_wxObject(result
, 0);
29687 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29688 PyObject
*resultobj
;
29689 wxMenu
*arg1
= (wxMenu
*) 0 ;
29691 wxString
*arg3
= 0 ;
29692 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29693 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29694 wxMenuItem
*result
;
29695 bool temp3
= False
;
29696 bool temp4
= False
;
29697 PyObject
* obj0
= 0 ;
29698 PyObject
* obj1
= 0 ;
29699 PyObject
* obj2
= 0 ;
29700 PyObject
* obj3
= 0 ;
29701 char *kwnames
[] = {
29702 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29708 arg2
= (int) SWIG_AsInt(obj1
);
29709 if (PyErr_Occurred()) SWIG_fail
;
29711 arg3
= wxString_in_helper(obj2
);
29712 if (arg3
== NULL
) SWIG_fail
;
29717 arg4
= wxString_in_helper(obj3
);
29718 if (arg4
== NULL
) SWIG_fail
;
29723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29724 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29726 wxPyEndAllowThreads(__tstate
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29730 resultobj
= wxPyMake_wxObject(result
, 0);
29754 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29755 PyObject
*resultobj
;
29756 wxMenu
*arg1
= (wxMenu
*) 0 ;
29758 wxString
*arg3
= 0 ;
29759 wxMenu
*arg4
= (wxMenu
*) 0 ;
29760 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29761 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29762 wxMenuItem
*result
;
29763 bool temp3
= False
;
29764 bool temp5
= False
;
29765 PyObject
* obj0
= 0 ;
29766 PyObject
* obj1
= 0 ;
29767 PyObject
* obj2
= 0 ;
29768 PyObject
* obj3
= 0 ;
29769 PyObject
* obj4
= 0 ;
29770 char *kwnames
[] = {
29771 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29777 arg2
= (int) SWIG_AsInt(obj1
);
29778 if (PyErr_Occurred()) SWIG_fail
;
29780 arg3
= wxString_in_helper(obj2
);
29781 if (arg3
== NULL
) SWIG_fail
;
29784 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29788 arg5
= wxString_in_helper(obj4
);
29789 if (arg5
== NULL
) SWIG_fail
;
29794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29795 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29797 wxPyEndAllowThreads(__tstate
);
29798 if (PyErr_Occurred()) SWIG_fail
;
29801 resultobj
= wxPyMake_wxObject(result
, 0);
29825 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29826 PyObject
*resultobj
;
29827 wxMenu
*arg1
= (wxMenu
*) 0 ;
29829 wxMenuItem
*result
;
29830 PyObject
* obj0
= 0 ;
29831 PyObject
* obj1
= 0 ;
29832 char *kwnames
[] = {
29833 (char *) "self",(char *) "id", NULL
29836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29839 arg2
= (int) SWIG_AsInt(obj1
);
29840 if (PyErr_Occurred()) SWIG_fail
;
29842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29843 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29849 resultobj
= wxPyMake_wxObject(result
, 0);
29857 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29858 PyObject
*resultobj
;
29859 wxMenu
*arg1
= (wxMenu
*) 0 ;
29860 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29861 wxMenuItem
*result
;
29862 PyObject
* obj0
= 0 ;
29863 PyObject
* obj1
= 0 ;
29864 char *kwnames
[] = {
29865 (char *) "self",(char *) "item", NULL
29868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29875 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29877 wxPyEndAllowThreads(__tstate
);
29878 if (PyErr_Occurred()) SWIG_fail
;
29881 resultobj
= wxPyMake_wxObject(result
, 0);
29889 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29890 PyObject
*resultobj
;
29891 wxMenu
*arg1
= (wxMenu
*) 0 ;
29894 PyObject
* obj0
= 0 ;
29895 PyObject
* obj1
= 0 ;
29896 char *kwnames
[] = {
29897 (char *) "self",(char *) "id", NULL
29900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29903 arg2
= (int) SWIG_AsInt(obj1
);
29904 if (PyErr_Occurred()) SWIG_fail
;
29906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29907 result
= (bool)(arg1
)->Delete(arg2
);
29909 wxPyEndAllowThreads(__tstate
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29921 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29922 PyObject
*resultobj
;
29923 wxMenu
*arg1
= (wxMenu
*) 0 ;
29924 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29926 PyObject
* obj0
= 0 ;
29927 PyObject
* obj1
= 0 ;
29928 char *kwnames
[] = {
29929 (char *) "self",(char *) "item", NULL
29932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29939 result
= (bool)(arg1
)->Delete(arg2
);
29941 wxPyEndAllowThreads(__tstate
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29953 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29954 PyObject
*resultobj
;
29955 wxMenu
*arg1
= (wxMenu
*) 0 ;
29956 PyObject
* obj0
= 0 ;
29957 char *kwnames
[] = {
29958 (char *) "self", NULL
29961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29966 wxMenu_Destroy(arg1
);
29968 wxPyEndAllowThreads(__tstate
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29971 Py_INCREF(Py_None
); resultobj
= Py_None
;
29978 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29979 PyObject
*resultobj
;
29980 wxMenu
*arg1
= (wxMenu
*) 0 ;
29983 PyObject
* obj0
= 0 ;
29984 PyObject
* obj1
= 0 ;
29985 char *kwnames
[] = {
29986 (char *) "self",(char *) "id", NULL
29989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29992 arg2
= (int) SWIG_AsInt(obj1
);
29993 if (PyErr_Occurred()) SWIG_fail
;
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 result
= (bool)(arg1
)->Destroy(arg2
);
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30010 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30011 PyObject
*resultobj
;
30012 wxMenu
*arg1
= (wxMenu
*) 0 ;
30013 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30015 PyObject
* obj0
= 0 ;
30016 PyObject
* obj1
= 0 ;
30017 char *kwnames
[] = {
30018 (char *) "self",(char *) "item", NULL
30021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30028 result
= (bool)(arg1
)->Destroy(arg2
);
30030 wxPyEndAllowThreads(__tstate
);
30031 if (PyErr_Occurred()) SWIG_fail
;
30034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30042 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30043 PyObject
*resultobj
;
30044 wxMenu
*arg1
= (wxMenu
*) 0 ;
30046 PyObject
* obj0
= 0 ;
30047 char *kwnames
[] = {
30048 (char *) "self", NULL
30051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30056 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30058 wxPyEndAllowThreads(__tstate
);
30059 if (PyErr_Occurred()) SWIG_fail
;
30061 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30068 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30069 PyObject
*resultobj
;
30070 wxMenu
*arg1
= (wxMenu
*) 0 ;
30072 PyObject
* obj0
= 0 ;
30073 char *kwnames
[] = {
30074 (char *) "self", NULL
30077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30082 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30084 wxPyEndAllowThreads(__tstate
);
30085 if (PyErr_Occurred()) SWIG_fail
;
30087 resultobj
= result
;
30094 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30095 PyObject
*resultobj
;
30096 wxMenu
*arg1
= (wxMenu
*) 0 ;
30097 wxString
*arg2
= 0 ;
30099 bool temp2
= False
;
30100 PyObject
* obj0
= 0 ;
30101 PyObject
* obj1
= 0 ;
30102 char *kwnames
[] = {
30103 (char *) "self",(char *) "item", NULL
30106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30110 arg2
= wxString_in_helper(obj1
);
30111 if (arg2
== NULL
) SWIG_fail
;
30115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30116 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30118 wxPyEndAllowThreads(__tstate
);
30119 if (PyErr_Occurred()) SWIG_fail
;
30121 resultobj
= SWIG_FromInt((int)result
);
30136 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30137 PyObject
*resultobj
;
30138 wxMenu
*arg1
= (wxMenu
*) 0 ;
30140 wxMenuItem
*result
;
30141 PyObject
* obj0
= 0 ;
30142 PyObject
* obj1
= 0 ;
30143 char *kwnames
[] = {
30144 (char *) "self",(char *) "id", NULL
30147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30150 arg2
= (int) SWIG_AsInt(obj1
);
30151 if (PyErr_Occurred()) SWIG_fail
;
30153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30154 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30156 wxPyEndAllowThreads(__tstate
);
30157 if (PyErr_Occurred()) SWIG_fail
;
30160 resultobj
= wxPyMake_wxObject(result
, 0);
30168 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30169 PyObject
*resultobj
;
30170 wxMenu
*arg1
= (wxMenu
*) 0 ;
30172 wxMenuItem
*result
;
30173 PyObject
* obj0
= 0 ;
30174 PyObject
* obj1
= 0 ;
30175 char *kwnames
[] = {
30176 (char *) "self",(char *) "position", NULL
30179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30182 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30186 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30188 wxPyEndAllowThreads(__tstate
);
30189 if (PyErr_Occurred()) SWIG_fail
;
30192 resultobj
= wxPyMake_wxObject(result
, 0);
30200 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30201 PyObject
*resultobj
;
30202 wxMenu
*arg1
= (wxMenu
*) 0 ;
30205 PyObject
* obj0
= 0 ;
30206 PyObject
* obj1
= 0 ;
30207 PyObject
* obj2
= 0 ;
30208 char *kwnames
[] = {
30209 (char *) "self",(char *) "id",(char *) "enable", NULL
30212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30215 arg2
= (int) SWIG_AsInt(obj1
);
30216 if (PyErr_Occurred()) SWIG_fail
;
30217 arg3
= (bool) SWIG_AsBool(obj2
);
30218 if (PyErr_Occurred()) SWIG_fail
;
30220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30221 (arg1
)->Enable(arg2
,arg3
);
30223 wxPyEndAllowThreads(__tstate
);
30224 if (PyErr_Occurred()) SWIG_fail
;
30226 Py_INCREF(Py_None
); resultobj
= Py_None
;
30233 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30234 PyObject
*resultobj
;
30235 wxMenu
*arg1
= (wxMenu
*) 0 ;
30238 PyObject
* obj0
= 0 ;
30239 PyObject
* obj1
= 0 ;
30240 char *kwnames
[] = {
30241 (char *) "self",(char *) "id", NULL
30244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30247 arg2
= (int) SWIG_AsInt(obj1
);
30248 if (PyErr_Occurred()) SWIG_fail
;
30250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30251 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30253 wxPyEndAllowThreads(__tstate
);
30254 if (PyErr_Occurred()) SWIG_fail
;
30257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30265 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30266 PyObject
*resultobj
;
30267 wxMenu
*arg1
= (wxMenu
*) 0 ;
30270 PyObject
* obj0
= 0 ;
30271 PyObject
* obj1
= 0 ;
30272 PyObject
* obj2
= 0 ;
30273 char *kwnames
[] = {
30274 (char *) "self",(char *) "id",(char *) "check", NULL
30277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30280 arg2
= (int) SWIG_AsInt(obj1
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30282 arg3
= (bool) SWIG_AsBool(obj2
);
30283 if (PyErr_Occurred()) SWIG_fail
;
30285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30286 (arg1
)->Check(arg2
,arg3
);
30288 wxPyEndAllowThreads(__tstate
);
30289 if (PyErr_Occurred()) SWIG_fail
;
30291 Py_INCREF(Py_None
); resultobj
= Py_None
;
30298 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30299 PyObject
*resultobj
;
30300 wxMenu
*arg1
= (wxMenu
*) 0 ;
30303 PyObject
* obj0
= 0 ;
30304 PyObject
* obj1
= 0 ;
30305 char *kwnames
[] = {
30306 (char *) "self",(char *) "id", NULL
30309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30312 arg2
= (int) SWIG_AsInt(obj1
);
30313 if (PyErr_Occurred()) SWIG_fail
;
30315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30316 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30318 wxPyEndAllowThreads(__tstate
);
30319 if (PyErr_Occurred()) SWIG_fail
;
30322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30330 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30331 PyObject
*resultobj
;
30332 wxMenu
*arg1
= (wxMenu
*) 0 ;
30334 wxString
*arg3
= 0 ;
30335 bool temp3
= False
;
30336 PyObject
* obj0
= 0 ;
30337 PyObject
* obj1
= 0 ;
30338 PyObject
* obj2
= 0 ;
30339 char *kwnames
[] = {
30340 (char *) "self",(char *) "id",(char *) "label", NULL
30343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30346 arg2
= (int) SWIG_AsInt(obj1
);
30347 if (PyErr_Occurred()) SWIG_fail
;
30349 arg3
= wxString_in_helper(obj2
);
30350 if (arg3
== NULL
) SWIG_fail
;
30354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30355 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30357 wxPyEndAllowThreads(__tstate
);
30358 if (PyErr_Occurred()) SWIG_fail
;
30360 Py_INCREF(Py_None
); resultobj
= Py_None
;
30375 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30376 PyObject
*resultobj
;
30377 wxMenu
*arg1
= (wxMenu
*) 0 ;
30380 PyObject
* obj0
= 0 ;
30381 PyObject
* obj1
= 0 ;
30382 char *kwnames
[] = {
30383 (char *) "self",(char *) "id", NULL
30386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30389 arg2
= (int) SWIG_AsInt(obj1
);
30390 if (PyErr_Occurred()) SWIG_fail
;
30392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30393 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30395 wxPyEndAllowThreads(__tstate
);
30396 if (PyErr_Occurred()) SWIG_fail
;
30400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30411 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30412 PyObject
*resultobj
;
30413 wxMenu
*arg1
= (wxMenu
*) 0 ;
30415 wxString
*arg3
= 0 ;
30416 bool temp3
= False
;
30417 PyObject
* obj0
= 0 ;
30418 PyObject
* obj1
= 0 ;
30419 PyObject
* obj2
= 0 ;
30420 char *kwnames
[] = {
30421 (char *) "self",(char *) "id",(char *) "helpString", NULL
30424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30427 arg2
= (int) SWIG_AsInt(obj1
);
30428 if (PyErr_Occurred()) SWIG_fail
;
30430 arg3
= wxString_in_helper(obj2
);
30431 if (arg3
== NULL
) SWIG_fail
;
30435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30436 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30438 wxPyEndAllowThreads(__tstate
);
30439 if (PyErr_Occurred()) SWIG_fail
;
30441 Py_INCREF(Py_None
); resultobj
= Py_None
;
30456 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30457 PyObject
*resultobj
;
30458 wxMenu
*arg1
= (wxMenu
*) 0 ;
30461 PyObject
* obj0
= 0 ;
30462 PyObject
* obj1
= 0 ;
30463 char *kwnames
[] = {
30464 (char *) "self",(char *) "id", NULL
30467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30470 arg2
= (int) SWIG_AsInt(obj1
);
30471 if (PyErr_Occurred()) SWIG_fail
;
30473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30474 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30476 wxPyEndAllowThreads(__tstate
);
30477 if (PyErr_Occurred()) SWIG_fail
;
30481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30492 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30493 PyObject
*resultobj
;
30494 wxMenu
*arg1
= (wxMenu
*) 0 ;
30495 wxString
*arg2
= 0 ;
30496 bool temp2
= False
;
30497 PyObject
* obj0
= 0 ;
30498 PyObject
* obj1
= 0 ;
30499 char *kwnames
[] = {
30500 (char *) "self",(char *) "title", NULL
30503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30507 arg2
= wxString_in_helper(obj1
);
30508 if (arg2
== NULL
) SWIG_fail
;
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 (arg1
)->SetTitle((wxString
const &)*arg2
);
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30518 Py_INCREF(Py_None
); resultobj
= Py_None
;
30533 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30534 PyObject
*resultobj
;
30535 wxMenu
*arg1
= (wxMenu
*) 0 ;
30537 PyObject
* obj0
= 0 ;
30538 char *kwnames
[] = {
30539 (char *) "self", NULL
30542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",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
= ((wxMenu
const *)arg1
)->GetTitle();
30549 wxPyEndAllowThreads(__tstate
);
30550 if (PyErr_Occurred()) SWIG_fail
;
30554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30565 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30566 PyObject
*resultobj
;
30567 wxMenu
*arg1
= (wxMenu
*) 0 ;
30568 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30569 PyObject
* obj0
= 0 ;
30570 PyObject
* obj1
= 0 ;
30571 char *kwnames
[] = {
30572 (char *) "self",(char *) "handler", NULL
30575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30582 (arg1
)->SetEventHandler(arg2
);
30584 wxPyEndAllowThreads(__tstate
);
30585 if (PyErr_Occurred()) SWIG_fail
;
30587 Py_INCREF(Py_None
); resultobj
= Py_None
;
30594 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30595 PyObject
*resultobj
;
30596 wxMenu
*arg1
= (wxMenu
*) 0 ;
30597 wxEvtHandler
*result
;
30598 PyObject
* obj0
= 0 ;
30599 char *kwnames
[] = {
30600 (char *) "self", NULL
30603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30608 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30610 wxPyEndAllowThreads(__tstate
);
30611 if (PyErr_Occurred()) SWIG_fail
;
30614 resultobj
= wxPyMake_wxObject(result
, 0);
30622 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30623 PyObject
*resultobj
;
30624 wxMenu
*arg1
= (wxMenu
*) 0 ;
30625 wxWindow
*arg2
= (wxWindow
*) 0 ;
30626 PyObject
* obj0
= 0 ;
30627 PyObject
* obj1
= 0 ;
30628 char *kwnames
[] = {
30629 (char *) "self",(char *) "win", NULL
30632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30639 (arg1
)->SetInvokingWindow(arg2
);
30641 wxPyEndAllowThreads(__tstate
);
30642 if (PyErr_Occurred()) SWIG_fail
;
30644 Py_INCREF(Py_None
); resultobj
= Py_None
;
30651 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30652 PyObject
*resultobj
;
30653 wxMenu
*arg1
= (wxMenu
*) 0 ;
30655 PyObject
* obj0
= 0 ;
30656 char *kwnames
[] = {
30657 (char *) "self", NULL
30660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30665 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30667 wxPyEndAllowThreads(__tstate
);
30668 if (PyErr_Occurred()) SWIG_fail
;
30671 resultobj
= wxPyMake_wxObject(result
, 0);
30679 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30680 PyObject
*resultobj
;
30681 wxMenu
*arg1
= (wxMenu
*) 0 ;
30683 PyObject
* obj0
= 0 ;
30684 char *kwnames
[] = {
30685 (char *) "self", NULL
30688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30693 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30695 wxPyEndAllowThreads(__tstate
);
30696 if (PyErr_Occurred()) SWIG_fail
;
30698 resultobj
= SWIG_FromLong((long)result
);
30705 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30706 PyObject
*resultobj
;
30707 wxMenu
*arg1
= (wxMenu
*) 0 ;
30708 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30709 PyObject
* obj0
= 0 ;
30710 PyObject
* obj1
= 0 ;
30711 char *kwnames
[] = {
30712 (char *) "self",(char *) "source", NULL
30715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30724 (arg1
)->UpdateUI(arg2
);
30726 wxPyEndAllowThreads(__tstate
);
30727 if (PyErr_Occurred()) SWIG_fail
;
30729 Py_INCREF(Py_None
); resultobj
= Py_None
;
30736 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30737 PyObject
*resultobj
;
30738 wxMenu
*arg1
= (wxMenu
*) 0 ;
30740 PyObject
* obj0
= 0 ;
30741 char *kwnames
[] = {
30742 (char *) "self", NULL
30745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30750 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30752 wxPyEndAllowThreads(__tstate
);
30753 if (PyErr_Occurred()) SWIG_fail
;
30756 resultobj
= wxPyMake_wxObject(result
, 0);
30764 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30765 PyObject
*resultobj
;
30766 wxMenu
*arg1
= (wxMenu
*) 0 ;
30767 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30768 PyObject
* obj0
= 0 ;
30769 PyObject
* obj1
= 0 ;
30770 char *kwnames
[] = {
30771 (char *) "self",(char *) "menubar", NULL
30774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30781 (arg1
)->Attach(arg2
);
30783 wxPyEndAllowThreads(__tstate
);
30784 if (PyErr_Occurred()) SWIG_fail
;
30786 Py_INCREF(Py_None
); resultobj
= Py_None
;
30793 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30794 PyObject
*resultobj
;
30795 wxMenu
*arg1
= (wxMenu
*) 0 ;
30796 PyObject
* obj0
= 0 ;
30797 char *kwnames
[] = {
30798 (char *) "self", NULL
30801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30808 wxPyEndAllowThreads(__tstate
);
30809 if (PyErr_Occurred()) SWIG_fail
;
30811 Py_INCREF(Py_None
); resultobj
= Py_None
;
30818 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30819 PyObject
*resultobj
;
30820 wxMenu
*arg1
= (wxMenu
*) 0 ;
30822 PyObject
* obj0
= 0 ;
30823 char *kwnames
[] = {
30824 (char *) "self", NULL
30827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30832 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30834 wxPyEndAllowThreads(__tstate
);
30835 if (PyErr_Occurred()) SWIG_fail
;
30838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30846 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30847 PyObject
*resultobj
;
30848 wxMenu
*arg1
= (wxMenu
*) 0 ;
30849 wxMenu
*arg2
= (wxMenu
*) 0 ;
30850 PyObject
* obj0
= 0 ;
30851 PyObject
* obj1
= 0 ;
30852 char *kwnames
[] = {
30853 (char *) "self",(char *) "parent", NULL
30856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30863 (arg1
)->SetParent(arg2
);
30865 wxPyEndAllowThreads(__tstate
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30868 Py_INCREF(Py_None
); resultobj
= Py_None
;
30875 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30876 PyObject
*resultobj
;
30877 wxMenu
*arg1
= (wxMenu
*) 0 ;
30879 PyObject
* obj0
= 0 ;
30880 char *kwnames
[] = {
30881 (char *) "self", NULL
30884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30891 wxPyEndAllowThreads(__tstate
);
30892 if (PyErr_Occurred()) SWIG_fail
;
30895 resultobj
= wxPyMake_wxObject(result
, 0);
30903 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30906 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30908 return Py_BuildValue((char *)"");
30910 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30911 PyObject
*resultobj
;
30912 long arg1
= (long) 0 ;
30914 PyObject
* obj0
= 0 ;
30915 char *kwnames
[] = {
30916 (char *) "style", NULL
30919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30921 arg1
= (long) SWIG_AsLong(obj0
);
30922 if (PyErr_Occurred()) SWIG_fail
;
30925 if (!wxPyCheckForApp()) SWIG_fail
;
30926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30927 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30929 wxPyEndAllowThreads(__tstate
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
30939 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30940 PyObject
*resultobj
;
30941 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30942 wxMenu
*arg2
= (wxMenu
*) 0 ;
30943 wxString
*arg3
= 0 ;
30945 bool temp3
= False
;
30946 PyObject
* obj0
= 0 ;
30947 PyObject
* obj1
= 0 ;
30948 PyObject
* obj2
= 0 ;
30949 char *kwnames
[] = {
30950 (char *) "self",(char *) "menu",(char *) "title", NULL
30953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30959 arg3
= wxString_in_helper(obj2
);
30960 if (arg3
== NULL
) SWIG_fail
;
30964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30965 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30967 wxPyEndAllowThreads(__tstate
);
30968 if (PyErr_Occurred()) SWIG_fail
;
30971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30987 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30988 PyObject
*resultobj
;
30989 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30991 wxMenu
*arg3
= (wxMenu
*) 0 ;
30992 wxString
*arg4
= 0 ;
30994 bool temp4
= False
;
30995 PyObject
* obj0
= 0 ;
30996 PyObject
* obj1
= 0 ;
30997 PyObject
* obj2
= 0 ;
30998 PyObject
* obj3
= 0 ;
30999 char *kwnames
[] = {
31000 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31006 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31007 if (PyErr_Occurred()) SWIG_fail
;
31008 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31011 arg4
= wxString_in_helper(obj3
);
31012 if (arg4
== NULL
) SWIG_fail
;
31016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31017 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31019 wxPyEndAllowThreads(__tstate
);
31020 if (PyErr_Occurred()) SWIG_fail
;
31023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31039 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31040 PyObject
*resultobj
;
31041 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31043 PyObject
* obj0
= 0 ;
31044 char *kwnames
[] = {
31045 (char *) "self", NULL
31048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31053 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31055 wxPyEndAllowThreads(__tstate
);
31056 if (PyErr_Occurred()) SWIG_fail
;
31058 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
31065 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31066 PyObject
*resultobj
;
31067 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31070 PyObject
* obj0
= 0 ;
31071 PyObject
* obj1
= 0 ;
31072 char *kwnames
[] = {
31073 (char *) "self",(char *) "pos", NULL
31076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31079 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31080 if (PyErr_Occurred()) SWIG_fail
;
31082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31083 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31085 wxPyEndAllowThreads(__tstate
);
31086 if (PyErr_Occurred()) SWIG_fail
;
31089 resultobj
= wxPyMake_wxObject(result
, 0);
31097 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31098 PyObject
*resultobj
;
31099 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31101 wxMenu
*arg3
= (wxMenu
*) 0 ;
31102 wxString
*arg4
= 0 ;
31104 bool temp4
= False
;
31105 PyObject
* obj0
= 0 ;
31106 PyObject
* obj1
= 0 ;
31107 PyObject
* obj2
= 0 ;
31108 PyObject
* obj3
= 0 ;
31109 char *kwnames
[] = {
31110 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31116 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31117 if (PyErr_Occurred()) SWIG_fail
;
31118 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31121 arg4
= wxString_in_helper(obj3
);
31122 if (arg4
== NULL
) SWIG_fail
;
31126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31127 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31129 wxPyEndAllowThreads(__tstate
);
31130 if (PyErr_Occurred()) SWIG_fail
;
31133 resultobj
= wxPyMake_wxObject(result
, 0);
31149 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31150 PyObject
*resultobj
;
31151 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31154 PyObject
* obj0
= 0 ;
31155 PyObject
* obj1
= 0 ;
31156 char *kwnames
[] = {
31157 (char *) "self",(char *) "pos", NULL
31160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31163 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31167 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31169 wxPyEndAllowThreads(__tstate
);
31170 if (PyErr_Occurred()) SWIG_fail
;
31173 resultobj
= wxPyMake_wxObject(result
, 0);
31181 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31182 PyObject
*resultobj
;
31183 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31186 PyObject
* obj0
= 0 ;
31187 PyObject
* obj1
= 0 ;
31188 PyObject
* obj2
= 0 ;
31189 char *kwnames
[] = {
31190 (char *) "self",(char *) "pos",(char *) "enable", NULL
31193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31196 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31197 if (PyErr_Occurred()) SWIG_fail
;
31198 arg3
= (bool) SWIG_AsBool(obj2
);
31199 if (PyErr_Occurred()) SWIG_fail
;
31201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31202 (arg1
)->EnableTop(arg2
,arg3
);
31204 wxPyEndAllowThreads(__tstate
);
31205 if (PyErr_Occurred()) SWIG_fail
;
31207 Py_INCREF(Py_None
); resultobj
= Py_None
;
31214 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31215 PyObject
*resultobj
;
31216 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31219 PyObject
* obj0
= 0 ;
31220 PyObject
* obj1
= 0 ;
31221 char *kwnames
[] = {
31222 (char *) "self",(char *) "pos", NULL
31225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31228 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31232 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31234 wxPyEndAllowThreads(__tstate
);
31235 if (PyErr_Occurred()) SWIG_fail
;
31238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31246 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31247 PyObject
*resultobj
;
31248 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31250 wxString
*arg3
= 0 ;
31251 bool temp3
= False
;
31252 PyObject
* obj0
= 0 ;
31253 PyObject
* obj1
= 0 ;
31254 PyObject
* obj2
= 0 ;
31255 char *kwnames
[] = {
31256 (char *) "self",(char *) "pos",(char *) "label", NULL
31259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31262 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31263 if (PyErr_Occurred()) SWIG_fail
;
31265 arg3
= wxString_in_helper(obj2
);
31266 if (arg3
== NULL
) SWIG_fail
;
31270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31271 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31273 wxPyEndAllowThreads(__tstate
);
31274 if (PyErr_Occurred()) SWIG_fail
;
31276 Py_INCREF(Py_None
); resultobj
= Py_None
;
31291 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31292 PyObject
*resultobj
;
31293 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31296 PyObject
* obj0
= 0 ;
31297 PyObject
* obj1
= 0 ;
31298 char *kwnames
[] = {
31299 (char *) "self",(char *) "pos", NULL
31302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31305 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31306 if (PyErr_Occurred()) SWIG_fail
;
31308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31309 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31311 wxPyEndAllowThreads(__tstate
);
31312 if (PyErr_Occurred()) SWIG_fail
;
31316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31327 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31328 PyObject
*resultobj
;
31329 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31330 wxString
*arg2
= 0 ;
31331 wxString
*arg3
= 0 ;
31333 bool temp2
= False
;
31334 bool temp3
= False
;
31335 PyObject
* obj0
= 0 ;
31336 PyObject
* obj1
= 0 ;
31337 PyObject
* obj2
= 0 ;
31338 char *kwnames
[] = {
31339 (char *) "self",(char *) "menu",(char *) "item", NULL
31342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31346 arg2
= wxString_in_helper(obj1
);
31347 if (arg2
== NULL
) SWIG_fail
;
31351 arg3
= wxString_in_helper(obj2
);
31352 if (arg3
== NULL
) SWIG_fail
;
31356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31357 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31359 wxPyEndAllowThreads(__tstate
);
31360 if (PyErr_Occurred()) SWIG_fail
;
31362 resultobj
= SWIG_FromInt((int)result
);
31385 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31386 PyObject
*resultobj
;
31387 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31389 wxMenuItem
*result
;
31390 PyObject
* obj0
= 0 ;
31391 PyObject
* obj1
= 0 ;
31392 char *kwnames
[] = {
31393 (char *) "self",(char *) "id", NULL
31396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31399 arg2
= (int) SWIG_AsInt(obj1
);
31400 if (PyErr_Occurred()) SWIG_fail
;
31402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31403 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31405 wxPyEndAllowThreads(__tstate
);
31406 if (PyErr_Occurred()) SWIG_fail
;
31409 resultobj
= wxPyMake_wxObject(result
, 0);
31417 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31418 PyObject
*resultobj
;
31419 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31420 wxString
*arg2
= 0 ;
31422 bool temp2
= False
;
31423 PyObject
* obj0
= 0 ;
31424 PyObject
* obj1
= 0 ;
31425 char *kwnames
[] = {
31426 (char *) "self",(char *) "title", NULL
31429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31433 arg2
= wxString_in_helper(obj1
);
31434 if (arg2
== NULL
) SWIG_fail
;
31438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31439 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31441 wxPyEndAllowThreads(__tstate
);
31442 if (PyErr_Occurred()) SWIG_fail
;
31444 resultobj
= SWIG_FromInt((int)result
);
31459 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31460 PyObject
*resultobj
;
31461 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31464 PyObject
* obj0
= 0 ;
31465 PyObject
* obj1
= 0 ;
31466 PyObject
* obj2
= 0 ;
31467 char *kwnames
[] = {
31468 (char *) "self",(char *) "id",(char *) "enable", NULL
31471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31474 arg2
= (int) SWIG_AsInt(obj1
);
31475 if (PyErr_Occurred()) SWIG_fail
;
31476 arg3
= (bool) SWIG_AsBool(obj2
);
31477 if (PyErr_Occurred()) SWIG_fail
;
31479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31480 (arg1
)->Enable(arg2
,arg3
);
31482 wxPyEndAllowThreads(__tstate
);
31483 if (PyErr_Occurred()) SWIG_fail
;
31485 Py_INCREF(Py_None
); resultobj
= Py_None
;
31492 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31493 PyObject
*resultobj
;
31494 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31497 PyObject
* obj0
= 0 ;
31498 PyObject
* obj1
= 0 ;
31499 PyObject
* obj2
= 0 ;
31500 char *kwnames
[] = {
31501 (char *) "self",(char *) "id",(char *) "check", NULL
31504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31507 arg2
= (int) SWIG_AsInt(obj1
);
31508 if (PyErr_Occurred()) SWIG_fail
;
31509 arg3
= (bool) SWIG_AsBool(obj2
);
31510 if (PyErr_Occurred()) SWIG_fail
;
31512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31513 (arg1
)->Check(arg2
,arg3
);
31515 wxPyEndAllowThreads(__tstate
);
31516 if (PyErr_Occurred()) SWIG_fail
;
31518 Py_INCREF(Py_None
); resultobj
= Py_None
;
31525 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31526 PyObject
*resultobj
;
31527 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31530 PyObject
* obj0
= 0 ;
31531 PyObject
* obj1
= 0 ;
31532 char *kwnames
[] = {
31533 (char *) "self",(char *) "id", NULL
31536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31539 arg2
= (int) SWIG_AsInt(obj1
);
31540 if (PyErr_Occurred()) SWIG_fail
;
31542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31543 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31545 wxPyEndAllowThreads(__tstate
);
31546 if (PyErr_Occurred()) SWIG_fail
;
31549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31557 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31558 PyObject
*resultobj
;
31559 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31562 PyObject
* obj0
= 0 ;
31563 PyObject
* obj1
= 0 ;
31564 char *kwnames
[] = {
31565 (char *) "self",(char *) "id", NULL
31568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31571 arg2
= (int) SWIG_AsInt(obj1
);
31572 if (PyErr_Occurred()) SWIG_fail
;
31574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31575 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31577 wxPyEndAllowThreads(__tstate
);
31578 if (PyErr_Occurred()) SWIG_fail
;
31581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31589 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31590 PyObject
*resultobj
;
31591 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31593 wxString
*arg3
= 0 ;
31594 bool temp3
= False
;
31595 PyObject
* obj0
= 0 ;
31596 PyObject
* obj1
= 0 ;
31597 PyObject
* obj2
= 0 ;
31598 char *kwnames
[] = {
31599 (char *) "self",(char *) "id",(char *) "label", NULL
31602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31605 arg2
= (int) SWIG_AsInt(obj1
);
31606 if (PyErr_Occurred()) SWIG_fail
;
31608 arg3
= wxString_in_helper(obj2
);
31609 if (arg3
== NULL
) SWIG_fail
;
31613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31614 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31616 wxPyEndAllowThreads(__tstate
);
31617 if (PyErr_Occurred()) SWIG_fail
;
31619 Py_INCREF(Py_None
); resultobj
= Py_None
;
31634 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31635 PyObject
*resultobj
;
31636 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31639 PyObject
* obj0
= 0 ;
31640 PyObject
* obj1
= 0 ;
31641 char *kwnames
[] = {
31642 (char *) "self",(char *) "id", NULL
31645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31648 arg2
= (int) SWIG_AsInt(obj1
);
31649 if (PyErr_Occurred()) SWIG_fail
;
31651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31652 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31654 wxPyEndAllowThreads(__tstate
);
31655 if (PyErr_Occurred()) SWIG_fail
;
31659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31670 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31671 PyObject
*resultobj
;
31672 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31674 wxString
*arg3
= 0 ;
31675 bool temp3
= False
;
31676 PyObject
* obj0
= 0 ;
31677 PyObject
* obj1
= 0 ;
31678 PyObject
* obj2
= 0 ;
31679 char *kwnames
[] = {
31680 (char *) "self",(char *) "id",(char *) "helpString", NULL
31683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31686 arg2
= (int) SWIG_AsInt(obj1
);
31687 if (PyErr_Occurred()) SWIG_fail
;
31689 arg3
= wxString_in_helper(obj2
);
31690 if (arg3
== NULL
) SWIG_fail
;
31694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31695 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31697 wxPyEndAllowThreads(__tstate
);
31698 if (PyErr_Occurred()) SWIG_fail
;
31700 Py_INCREF(Py_None
); resultobj
= Py_None
;
31715 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31716 PyObject
*resultobj
;
31717 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31720 PyObject
* obj0
= 0 ;
31721 PyObject
* obj1
= 0 ;
31722 char *kwnames
[] = {
31723 (char *) "self",(char *) "id", NULL
31726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31729 arg2
= (int) SWIG_AsInt(obj1
);
31730 if (PyErr_Occurred()) SWIG_fail
;
31732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31733 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31735 wxPyEndAllowThreads(__tstate
);
31736 if (PyErr_Occurred()) SWIG_fail
;
31740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31751 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31752 PyObject
*resultobj
;
31753 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31755 PyObject
* obj0
= 0 ;
31756 char *kwnames
[] = {
31757 (char *) "self", NULL
31760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31765 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31767 wxPyEndAllowThreads(__tstate
);
31768 if (PyErr_Occurred()) SWIG_fail
;
31771 resultobj
= wxPyMake_wxObject(result
, 0);
31779 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31780 PyObject
*resultobj
;
31781 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31783 PyObject
* obj0
= 0 ;
31784 char *kwnames
[] = {
31785 (char *) "self", NULL
31788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31793 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31795 wxPyEndAllowThreads(__tstate
);
31796 if (PyErr_Occurred()) SWIG_fail
;
31799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31807 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31808 PyObject
*resultobj
;
31809 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31810 wxFrame
*arg2
= (wxFrame
*) 0 ;
31811 PyObject
* obj0
= 0 ;
31812 PyObject
* obj1
= 0 ;
31813 char *kwnames
[] = {
31814 (char *) "self",(char *) "frame", NULL
31817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31824 (arg1
)->Attach(arg2
);
31826 wxPyEndAllowThreads(__tstate
);
31827 if (PyErr_Occurred()) SWIG_fail
;
31829 Py_INCREF(Py_None
); resultobj
= Py_None
;
31836 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31837 PyObject
*resultobj
;
31838 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31839 PyObject
* obj0
= 0 ;
31840 char *kwnames
[] = {
31841 (char *) "self", NULL
31844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31851 wxPyEndAllowThreads(__tstate
);
31852 if (PyErr_Occurred()) SWIG_fail
;
31854 Py_INCREF(Py_None
); resultobj
= Py_None
;
31861 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31864 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31866 return Py_BuildValue((char *)"");
31868 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31869 PyObject
*resultobj
;
31870 wxMenu
*arg1
= (wxMenu
*) NULL
;
31871 int arg2
= (int) wxID_ANY
;
31872 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31873 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31874 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31875 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31876 int arg5
= (int) wxITEM_NORMAL
;
31877 wxMenu
*arg6
= (wxMenu
*) NULL
;
31878 wxMenuItem
*result
;
31879 bool temp3
= False
;
31880 bool temp4
= False
;
31881 PyObject
* obj0
= 0 ;
31882 PyObject
* obj1
= 0 ;
31883 PyObject
* obj2
= 0 ;
31884 PyObject
* obj3
= 0 ;
31885 PyObject
* obj4
= 0 ;
31886 PyObject
* obj5
= 0 ;
31887 char *kwnames
[] = {
31888 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31897 arg2
= (int) SWIG_AsInt(obj1
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31902 arg3
= wxString_in_helper(obj2
);
31903 if (arg3
== NULL
) SWIG_fail
;
31909 arg4
= wxString_in_helper(obj3
);
31910 if (arg4
== NULL
) SWIG_fail
;
31915 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31916 if (PyErr_Occurred()) SWIG_fail
;
31919 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31924 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31926 wxPyEndAllowThreads(__tstate
);
31927 if (PyErr_Occurred()) SWIG_fail
;
31930 resultobj
= wxPyMake_wxObject(result
, 1);
31954 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31955 PyObject
*resultobj
;
31956 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31958 PyObject
* obj0
= 0 ;
31959 char *kwnames
[] = {
31960 (char *) "self", NULL
31963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31968 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31970 wxPyEndAllowThreads(__tstate
);
31971 if (PyErr_Occurred()) SWIG_fail
;
31974 resultobj
= wxPyMake_wxObject(result
, 0);
31982 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31983 PyObject
*resultobj
;
31984 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31985 wxMenu
*arg2
= (wxMenu
*) 0 ;
31986 PyObject
* obj0
= 0 ;
31987 PyObject
* obj1
= 0 ;
31988 char *kwnames
[] = {
31989 (char *) "self",(char *) "menu", NULL
31992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31999 (arg1
)->SetMenu(arg2
);
32001 wxPyEndAllowThreads(__tstate
);
32002 if (PyErr_Occurred()) SWIG_fail
;
32004 Py_INCREF(Py_None
); resultobj
= Py_None
;
32011 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32012 PyObject
*resultobj
;
32013 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32015 PyObject
* obj0
= 0 ;
32016 PyObject
* obj1
= 0 ;
32017 char *kwnames
[] = {
32018 (char *) "self",(char *) "id", NULL
32021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32024 arg2
= (int) SWIG_AsInt(obj1
);
32025 if (PyErr_Occurred()) SWIG_fail
;
32027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32028 (arg1
)->SetId(arg2
);
32030 wxPyEndAllowThreads(__tstate
);
32031 if (PyErr_Occurred()) SWIG_fail
;
32033 Py_INCREF(Py_None
); resultobj
= Py_None
;
32040 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32041 PyObject
*resultobj
;
32042 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32044 PyObject
* obj0
= 0 ;
32045 char *kwnames
[] = {
32046 (char *) "self", NULL
32049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32054 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32056 wxPyEndAllowThreads(__tstate
);
32057 if (PyErr_Occurred()) SWIG_fail
;
32059 resultobj
= SWIG_FromInt((int)result
);
32066 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32067 PyObject
*resultobj
;
32068 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32070 PyObject
* obj0
= 0 ;
32071 char *kwnames
[] = {
32072 (char *) "self", NULL
32075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32080 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32082 wxPyEndAllowThreads(__tstate
);
32083 if (PyErr_Occurred()) SWIG_fail
;
32086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32094 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32095 PyObject
*resultobj
;
32096 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32097 wxString
*arg2
= 0 ;
32098 bool temp2
= False
;
32099 PyObject
* obj0
= 0 ;
32100 PyObject
* obj1
= 0 ;
32101 char *kwnames
[] = {
32102 (char *) "self",(char *) "str", NULL
32105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32109 arg2
= wxString_in_helper(obj1
);
32110 if (arg2
== NULL
) SWIG_fail
;
32114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32115 (arg1
)->SetText((wxString
const &)*arg2
);
32117 wxPyEndAllowThreads(__tstate
);
32118 if (PyErr_Occurred()) SWIG_fail
;
32120 Py_INCREF(Py_None
); resultobj
= Py_None
;
32135 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32136 PyObject
*resultobj
;
32137 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32139 PyObject
* obj0
= 0 ;
32140 char *kwnames
[] = {
32141 (char *) "self", NULL
32144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32149 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32151 wxPyEndAllowThreads(__tstate
);
32152 if (PyErr_Occurred()) SWIG_fail
;
32156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32167 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32168 PyObject
*resultobj
;
32169 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32171 PyObject
* obj0
= 0 ;
32172 char *kwnames
[] = {
32173 (char *) "self", NULL
32176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32182 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32183 result
= (wxString
*) &_result_ref
;
32186 wxPyEndAllowThreads(__tstate
);
32187 if (PyErr_Occurred()) SWIG_fail
;
32191 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32193 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32202 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32203 PyObject
*resultobj
;
32204 wxString
*arg1
= 0 ;
32206 bool temp1
= False
;
32207 PyObject
* obj0
= 0 ;
32208 char *kwnames
[] = {
32209 (char *) "text", NULL
32212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32214 arg1
= wxString_in_helper(obj0
);
32215 if (arg1
== NULL
) SWIG_fail
;
32219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32220 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32222 wxPyEndAllowThreads(__tstate
);
32223 if (PyErr_Occurred()) SWIG_fail
;
32227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32246 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32247 PyObject
*resultobj
;
32248 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32250 PyObject
* obj0
= 0 ;
32251 char *kwnames
[] = {
32252 (char *) "self", NULL
32255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32260 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32262 wxPyEndAllowThreads(__tstate
);
32263 if (PyErr_Occurred()) SWIG_fail
;
32265 resultobj
= SWIG_FromInt((int)result
);
32272 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32273 PyObject
*resultobj
;
32274 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32276 PyObject
* obj0
= 0 ;
32277 PyObject
* obj1
= 0 ;
32278 char *kwnames
[] = {
32279 (char *) "self",(char *) "kind", NULL
32282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32285 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32286 if (PyErr_Occurred()) SWIG_fail
;
32288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32289 (arg1
)->SetKind((wxItemKind
)arg2
);
32291 wxPyEndAllowThreads(__tstate
);
32292 if (PyErr_Occurred()) SWIG_fail
;
32294 Py_INCREF(Py_None
); resultobj
= Py_None
;
32301 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32302 PyObject
*resultobj
;
32303 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32305 PyObject
* obj0
= 0 ;
32306 PyObject
* obj1
= 0 ;
32307 char *kwnames
[] = {
32308 (char *) "self",(char *) "checkable", NULL
32311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32314 arg2
= (bool) SWIG_AsBool(obj1
);
32315 if (PyErr_Occurred()) SWIG_fail
;
32317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32318 (arg1
)->SetCheckable(arg2
);
32320 wxPyEndAllowThreads(__tstate
);
32321 if (PyErr_Occurred()) SWIG_fail
;
32323 Py_INCREF(Py_None
); resultobj
= Py_None
;
32330 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32331 PyObject
*resultobj
;
32332 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32334 PyObject
* obj0
= 0 ;
32335 char *kwnames
[] = {
32336 (char *) "self", NULL
32339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32344 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32346 wxPyEndAllowThreads(__tstate
);
32347 if (PyErr_Occurred()) SWIG_fail
;
32350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32358 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32359 PyObject
*resultobj
;
32360 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32362 PyObject
* obj0
= 0 ;
32363 char *kwnames
[] = {
32364 (char *) "self", NULL
32367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32372 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32374 wxPyEndAllowThreads(__tstate
);
32375 if (PyErr_Occurred()) SWIG_fail
;
32378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32386 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32387 PyObject
*resultobj
;
32388 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32389 wxMenu
*arg2
= (wxMenu
*) 0 ;
32390 PyObject
* obj0
= 0 ;
32391 PyObject
* obj1
= 0 ;
32392 char *kwnames
[] = {
32393 (char *) "self",(char *) "menu", NULL
32396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32403 (arg1
)->SetSubMenu(arg2
);
32405 wxPyEndAllowThreads(__tstate
);
32406 if (PyErr_Occurred()) SWIG_fail
;
32408 Py_INCREF(Py_None
); resultobj
= Py_None
;
32415 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32416 PyObject
*resultobj
;
32417 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32419 PyObject
* obj0
= 0 ;
32420 char *kwnames
[] = {
32421 (char *) "self", NULL
32424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32429 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32431 wxPyEndAllowThreads(__tstate
);
32432 if (PyErr_Occurred()) SWIG_fail
;
32435 resultobj
= wxPyMake_wxObject(result
, 0);
32443 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32444 PyObject
*resultobj
;
32445 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32446 bool arg2
= (bool) True
;
32447 PyObject
* obj0
= 0 ;
32448 PyObject
* obj1
= 0 ;
32449 char *kwnames
[] = {
32450 (char *) "self",(char *) "enable", NULL
32453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32457 arg2
= (bool) SWIG_AsBool(obj1
);
32458 if (PyErr_Occurred()) SWIG_fail
;
32461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32462 (arg1
)->Enable(arg2
);
32464 wxPyEndAllowThreads(__tstate
);
32465 if (PyErr_Occurred()) SWIG_fail
;
32467 Py_INCREF(Py_None
); resultobj
= Py_None
;
32474 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32475 PyObject
*resultobj
;
32476 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32478 PyObject
* obj0
= 0 ;
32479 char *kwnames
[] = {
32480 (char *) "self", NULL
32483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32488 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32490 wxPyEndAllowThreads(__tstate
);
32491 if (PyErr_Occurred()) SWIG_fail
;
32494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32502 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32503 PyObject
*resultobj
;
32504 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32505 bool arg2
= (bool) True
;
32506 PyObject
* obj0
= 0 ;
32507 PyObject
* obj1
= 0 ;
32508 char *kwnames
[] = {
32509 (char *) "self",(char *) "check", NULL
32512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32516 arg2
= (bool) SWIG_AsBool(obj1
);
32517 if (PyErr_Occurred()) SWIG_fail
;
32520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32521 (arg1
)->Check(arg2
);
32523 wxPyEndAllowThreads(__tstate
);
32524 if (PyErr_Occurred()) SWIG_fail
;
32526 Py_INCREF(Py_None
); resultobj
= Py_None
;
32533 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32534 PyObject
*resultobj
;
32535 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32537 PyObject
* obj0
= 0 ;
32538 char *kwnames
[] = {
32539 (char *) "self", NULL
32542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32547 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32549 wxPyEndAllowThreads(__tstate
);
32550 if (PyErr_Occurred()) SWIG_fail
;
32553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32561 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32562 PyObject
*resultobj
;
32563 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32564 PyObject
* obj0
= 0 ;
32565 char *kwnames
[] = {
32566 (char *) "self", NULL
32569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32576 wxPyEndAllowThreads(__tstate
);
32577 if (PyErr_Occurred()) SWIG_fail
;
32579 Py_INCREF(Py_None
); resultobj
= Py_None
;
32586 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32587 PyObject
*resultobj
;
32588 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32589 wxString
*arg2
= 0 ;
32590 bool temp2
= False
;
32591 PyObject
* obj0
= 0 ;
32592 PyObject
* obj1
= 0 ;
32593 char *kwnames
[] = {
32594 (char *) "self",(char *) "str", NULL
32597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32601 arg2
= wxString_in_helper(obj1
);
32602 if (arg2
== NULL
) SWIG_fail
;
32606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32607 (arg1
)->SetHelp((wxString
const &)*arg2
);
32609 wxPyEndAllowThreads(__tstate
);
32610 if (PyErr_Occurred()) SWIG_fail
;
32612 Py_INCREF(Py_None
); resultobj
= Py_None
;
32627 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32628 PyObject
*resultobj
;
32629 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32631 PyObject
* obj0
= 0 ;
32632 char *kwnames
[] = {
32633 (char *) "self", NULL
32636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32642 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32643 result
= (wxString
*) &_result_ref
;
32646 wxPyEndAllowThreads(__tstate
);
32647 if (PyErr_Occurred()) SWIG_fail
;
32651 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32653 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32662 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32663 PyObject
*resultobj
;
32664 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32665 wxAcceleratorEntry
*result
;
32666 PyObject
* obj0
= 0 ;
32667 char *kwnames
[] = {
32668 (char *) "self", NULL
32671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32676 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32678 wxPyEndAllowThreads(__tstate
);
32679 if (PyErr_Occurred()) SWIG_fail
;
32681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32688 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32689 PyObject
*resultobj
;
32690 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32691 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32692 PyObject
* obj0
= 0 ;
32693 PyObject
* obj1
= 0 ;
32694 char *kwnames
[] = {
32695 (char *) "self",(char *) "accel", NULL
32698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32705 (arg1
)->SetAccel(arg2
);
32707 wxPyEndAllowThreads(__tstate
);
32708 if (PyErr_Occurred()) SWIG_fail
;
32710 Py_INCREF(Py_None
); resultobj
= Py_None
;
32717 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32718 PyObject
*resultobj
;
32719 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32721 PyObject
* obj0
= 0 ;
32722 PyObject
* obj1
= 0 ;
32723 char *kwnames
[] = {
32724 (char *) "self",(char *) "font", NULL
32727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
32728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
32731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32733 if (arg2
== NULL
) {
32734 PyErr_SetString(PyExc_TypeError
,"null reference");
32738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32739 (arg1
)->SetFont((wxFont
const &)*arg2
);
32741 wxPyEndAllowThreads(__tstate
);
32742 if (PyErr_Occurred()) SWIG_fail
;
32744 Py_INCREF(Py_None
); resultobj
= Py_None
;
32751 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32752 PyObject
*resultobj
;
32753 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32755 PyObject
* obj0
= 0 ;
32756 char *kwnames
[] = {
32757 (char *) "self", NULL
32760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
32761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32765 result
= (arg1
)->GetFont();
32767 wxPyEndAllowThreads(__tstate
);
32768 if (PyErr_Occurred()) SWIG_fail
;
32771 wxFont
* resultptr
;
32772 resultptr
= new wxFont((wxFont
&) result
);
32773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
32781 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32782 PyObject
*resultobj
;
32783 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32784 wxColour
*arg2
= 0 ;
32786 PyObject
* obj0
= 0 ;
32787 PyObject
* obj1
= 0 ;
32788 char *kwnames
[] = {
32789 (char *) "self",(char *) "colText", NULL
32792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32797 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32801 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
32803 wxPyEndAllowThreads(__tstate
);
32804 if (PyErr_Occurred()) SWIG_fail
;
32806 Py_INCREF(Py_None
); resultobj
= Py_None
;
32813 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32814 PyObject
*resultobj
;
32815 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32817 PyObject
* obj0
= 0 ;
32818 char *kwnames
[] = {
32819 (char *) "self", NULL
32822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
32823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32827 result
= (arg1
)->GetTextColour();
32829 wxPyEndAllowThreads(__tstate
);
32830 if (PyErr_Occurred()) SWIG_fail
;
32833 wxColour
* resultptr
;
32834 resultptr
= new wxColour((wxColour
&) result
);
32835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32843 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32844 PyObject
*resultobj
;
32845 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32846 wxColour
*arg2
= 0 ;
32848 PyObject
* obj0
= 0 ;
32849 PyObject
* obj1
= 0 ;
32850 char *kwnames
[] = {
32851 (char *) "self",(char *) "colBack", NULL
32854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32859 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32863 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
32865 wxPyEndAllowThreads(__tstate
);
32866 if (PyErr_Occurred()) SWIG_fail
;
32868 Py_INCREF(Py_None
); resultobj
= Py_None
;
32875 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32876 PyObject
*resultobj
;
32877 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32879 PyObject
* obj0
= 0 ;
32880 char *kwnames
[] = {
32881 (char *) "self", NULL
32884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
32885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32889 result
= (arg1
)->GetBackgroundColour();
32891 wxPyEndAllowThreads(__tstate
);
32892 if (PyErr_Occurred()) SWIG_fail
;
32895 wxColour
* resultptr
;
32896 resultptr
= new wxColour((wxColour
&) result
);
32897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32905 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32906 PyObject
*resultobj
;
32907 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32908 wxBitmap
*arg2
= 0 ;
32909 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32910 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32911 PyObject
* obj0
= 0 ;
32912 PyObject
* obj1
= 0 ;
32913 PyObject
* obj2
= 0 ;
32914 char *kwnames
[] = {
32915 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
32918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32924 if (arg2
== NULL
) {
32925 PyErr_SetString(PyExc_TypeError
,"null reference");
32929 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
32930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32932 if (arg3
== NULL
) {
32933 PyErr_SetString(PyExc_TypeError
,"null reference");
32938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32939 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32941 wxPyEndAllowThreads(__tstate
);
32942 if (PyErr_Occurred()) SWIG_fail
;
32944 Py_INCREF(Py_None
); resultobj
= Py_None
;
32951 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32952 PyObject
*resultobj
;
32953 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32954 wxBitmap
*arg2
= 0 ;
32955 PyObject
* obj0
= 0 ;
32956 PyObject
* obj1
= 0 ;
32957 char *kwnames
[] = {
32958 (char *) "self",(char *) "bmpDisabled", NULL
32961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32965 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32967 if (arg2
== NULL
) {
32968 PyErr_SetString(PyExc_TypeError
,"null reference");
32972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32973 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
32975 wxPyEndAllowThreads(__tstate
);
32976 if (PyErr_Occurred()) SWIG_fail
;
32978 Py_INCREF(Py_None
); resultobj
= Py_None
;
32985 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32986 PyObject
*resultobj
;
32987 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32989 PyObject
* obj0
= 0 ;
32990 char *kwnames
[] = {
32991 (char *) "self", NULL
32994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
32995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33000 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
33001 result
= (wxBitmap
*) &_result_ref
;
33004 wxPyEndAllowThreads(__tstate
);
33005 if (PyErr_Occurred()) SWIG_fail
;
33008 wxBitmap
* resultptr
= new wxBitmap(*result
);
33009 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33017 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33018 PyObject
*resultobj
;
33019 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33021 PyObject
* obj0
= 0 ;
33022 PyObject
* obj1
= 0 ;
33023 char *kwnames
[] = {
33024 (char *) "self",(char *) "nWidth", NULL
33027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
33028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33030 arg2
= (int) SWIG_AsInt(obj1
);
33031 if (PyErr_Occurred()) SWIG_fail
;
33033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33034 (arg1
)->SetMarginWidth(arg2
);
33036 wxPyEndAllowThreads(__tstate
);
33037 if (PyErr_Occurred()) SWIG_fail
;
33039 Py_INCREF(Py_None
); resultobj
= Py_None
;
33046 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33047 PyObject
*resultobj
;
33048 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33050 PyObject
* obj0
= 0 ;
33051 char *kwnames
[] = {
33052 (char *) "self", NULL
33055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
33056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33060 result
= (int)(arg1
)->GetMarginWidth();
33062 wxPyEndAllowThreads(__tstate
);
33063 if (PyErr_Occurred()) SWIG_fail
;
33065 resultobj
= SWIG_FromInt((int)result
);
33072 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33073 PyObject
*resultobj
;
33075 char *kwnames
[] = {
33079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33082 result
= (int)wxMenuItem::GetDefaultMarginWidth();
33084 wxPyEndAllowThreads(__tstate
);
33085 if (PyErr_Occurred()) SWIG_fail
;
33087 resultobj
= SWIG_FromInt((int)result
);
33094 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33095 PyObject
*resultobj
;
33096 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33098 PyObject
* obj0
= 0 ;
33099 char *kwnames
[] = {
33100 (char *) "self", NULL
33103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33108 result
= (bool)(arg1
)->IsOwnerDrawn();
33110 wxPyEndAllowThreads(__tstate
);
33111 if (PyErr_Occurred()) SWIG_fail
;
33114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33122 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33123 PyObject
*resultobj
;
33124 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33125 bool arg2
= (bool) True
;
33126 PyObject
* obj0
= 0 ;
33127 PyObject
* obj1
= 0 ;
33128 char *kwnames
[] = {
33129 (char *) "self",(char *) "ownerDrawn", NULL
33132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
33133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33136 arg2
= (bool) SWIG_AsBool(obj1
);
33137 if (PyErr_Occurred()) SWIG_fail
;
33140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33141 (arg1
)->SetOwnerDrawn(arg2
);
33143 wxPyEndAllowThreads(__tstate
);
33144 if (PyErr_Occurred()) SWIG_fail
;
33146 Py_INCREF(Py_None
); resultobj
= Py_None
;
33153 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33154 PyObject
*resultobj
;
33155 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33156 PyObject
* obj0
= 0 ;
33157 char *kwnames
[] = {
33158 (char *) "self", NULL
33161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33166 (arg1
)->ResetOwnerDrawn();
33168 wxPyEndAllowThreads(__tstate
);
33169 if (PyErr_Occurred()) SWIG_fail
;
33171 Py_INCREF(Py_None
); resultobj
= Py_None
;
33178 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33179 PyObject
*resultobj
;
33180 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33181 wxBitmap
*arg2
= 0 ;
33182 PyObject
* obj0
= 0 ;
33183 PyObject
* obj1
= 0 ;
33184 char *kwnames
[] = {
33185 (char *) "self",(char *) "bitmap", NULL
33188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33192 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33194 if (arg2
== NULL
) {
33195 PyErr_SetString(PyExc_TypeError
,"null reference");
33199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33200 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33202 wxPyEndAllowThreads(__tstate
);
33203 if (PyErr_Occurred()) SWIG_fail
;
33205 Py_INCREF(Py_None
); resultobj
= Py_None
;
33212 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33213 PyObject
*resultobj
;
33214 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33216 PyObject
* obj0
= 0 ;
33217 char *kwnames
[] = {
33218 (char *) "self", NULL
33221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33227 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33228 result
= (wxBitmap
*) &_result_ref
;
33231 wxPyEndAllowThreads(__tstate
);
33232 if (PyErr_Occurred()) SWIG_fail
;
33235 wxBitmap
* resultptr
= new wxBitmap(*result
);
33236 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33244 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
33246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33247 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33249 return Py_BuildValue((char *)"");
33251 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
33252 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33257 static PyObject
*_wrap_ControlNameStr_get() {
33262 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33264 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33271 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33272 PyObject
*resultobj
;
33273 wxWindow
*arg1
= (wxWindow
*) 0 ;
33274 int arg2
= (int) -1 ;
33275 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33276 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33277 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33278 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33279 long arg5
= (long) 0 ;
33280 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33281 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33282 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33283 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33287 bool temp7
= False
;
33288 PyObject
* obj0
= 0 ;
33289 PyObject
* obj1
= 0 ;
33290 PyObject
* obj2
= 0 ;
33291 PyObject
* obj3
= 0 ;
33292 PyObject
* obj4
= 0 ;
33293 PyObject
* obj5
= 0 ;
33294 PyObject
* obj6
= 0 ;
33295 char *kwnames
[] = {
33296 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33303 arg2
= (int) SWIG_AsInt(obj1
);
33304 if (PyErr_Occurred()) SWIG_fail
;
33309 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33315 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33319 arg5
= (long) SWIG_AsLong(obj4
);
33320 if (PyErr_Occurred()) SWIG_fail
;
33323 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33324 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33326 if (arg6
== NULL
) {
33327 PyErr_SetString(PyExc_TypeError
,"null reference");
33333 arg7
= wxString_in_helper(obj6
);
33334 if (arg7
== NULL
) SWIG_fail
;
33339 if (!wxPyCheckForApp()) SWIG_fail
;
33340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33341 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33343 wxPyEndAllowThreads(__tstate
);
33344 if (PyErr_Occurred()) SWIG_fail
;
33346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33361 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33362 PyObject
*resultobj
;
33364 char *kwnames
[] = {
33368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33370 if (!wxPyCheckForApp()) SWIG_fail
;
33371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33372 result
= (wxControl
*)new wxControl();
33374 wxPyEndAllowThreads(__tstate
);
33375 if (PyErr_Occurred()) SWIG_fail
;
33377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33384 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33385 PyObject
*resultobj
;
33386 wxControl
*arg1
= (wxControl
*) 0 ;
33387 wxWindow
*arg2
= (wxWindow
*) 0 ;
33388 int arg3
= (int) -1 ;
33389 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33390 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33391 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33392 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33393 long arg6
= (long) 0 ;
33394 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33395 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33396 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33397 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33401 bool temp8
= False
;
33402 PyObject
* obj0
= 0 ;
33403 PyObject
* obj1
= 0 ;
33404 PyObject
* obj2
= 0 ;
33405 PyObject
* obj3
= 0 ;
33406 PyObject
* obj4
= 0 ;
33407 PyObject
* obj5
= 0 ;
33408 PyObject
* obj6
= 0 ;
33409 PyObject
* obj7
= 0 ;
33410 char *kwnames
[] = {
33411 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33420 arg3
= (int) SWIG_AsInt(obj2
);
33421 if (PyErr_Occurred()) SWIG_fail
;
33426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33436 arg6
= (long) SWIG_AsLong(obj5
);
33437 if (PyErr_Occurred()) SWIG_fail
;
33440 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33443 if (arg7
== NULL
) {
33444 PyErr_SetString(PyExc_TypeError
,"null reference");
33450 arg8
= wxString_in_helper(obj7
);
33451 if (arg8
== NULL
) SWIG_fail
;
33456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33457 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33459 wxPyEndAllowThreads(__tstate
);
33460 if (PyErr_Occurred()) SWIG_fail
;
33463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33479 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33480 PyObject
*resultobj
;
33481 wxControl
*arg1
= (wxControl
*) 0 ;
33482 wxCommandEvent
*arg2
= 0 ;
33483 PyObject
* obj0
= 0 ;
33484 PyObject
* obj1
= 0 ;
33485 char *kwnames
[] = {
33486 (char *) "self",(char *) "event", NULL
33489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33493 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33495 if (arg2
== NULL
) {
33496 PyErr_SetString(PyExc_TypeError
,"null reference");
33500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33501 (arg1
)->Command(*arg2
);
33503 wxPyEndAllowThreads(__tstate
);
33504 if (PyErr_Occurred()) SWIG_fail
;
33506 Py_INCREF(Py_None
); resultobj
= Py_None
;
33513 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33514 PyObject
*resultobj
;
33515 wxControl
*arg1
= (wxControl
*) 0 ;
33517 PyObject
* obj0
= 0 ;
33518 char *kwnames
[] = {
33519 (char *) "self", NULL
33522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33527 result
= (arg1
)->GetLabel();
33529 wxPyEndAllowThreads(__tstate
);
33530 if (PyErr_Occurred()) SWIG_fail
;
33534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33545 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33546 PyObject
*resultobj
;
33547 wxControl
*arg1
= (wxControl
*) 0 ;
33548 wxString
*arg2
= 0 ;
33549 bool temp2
= False
;
33550 PyObject
* obj0
= 0 ;
33551 PyObject
* obj1
= 0 ;
33552 char *kwnames
[] = {
33553 (char *) "self",(char *) "label", NULL
33556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33560 arg2
= wxString_in_helper(obj1
);
33561 if (arg2
== NULL
) SWIG_fail
;
33565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33566 (arg1
)->SetLabel((wxString
const &)*arg2
);
33568 wxPyEndAllowThreads(__tstate
);
33569 if (PyErr_Occurred()) SWIG_fail
;
33571 Py_INCREF(Py_None
); resultobj
= Py_None
;
33586 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33587 PyObject
*resultobj
;
33588 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33589 wxVisualAttributes result
;
33590 PyObject
* obj0
= 0 ;
33591 char *kwnames
[] = {
33592 (char *) "variant", NULL
33595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33597 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33598 if (PyErr_Occurred()) SWIG_fail
;
33601 if (!wxPyCheckForApp()) SWIG_fail
;
33602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33603 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33605 wxPyEndAllowThreads(__tstate
);
33606 if (PyErr_Occurred()) SWIG_fail
;
33609 wxVisualAttributes
* resultptr
;
33610 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33619 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33622 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33624 return Py_BuildValue((char *)"");
33626 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33627 PyObject
*resultobj
;
33628 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33629 wxString
*arg2
= 0 ;
33630 PyObject
*arg3
= (PyObject
*) NULL
;
33632 bool temp2
= False
;
33633 PyObject
* obj0
= 0 ;
33634 PyObject
* obj1
= 0 ;
33635 PyObject
* obj2
= 0 ;
33636 char *kwnames
[] = {
33637 (char *) "self",(char *) "item",(char *) "clientData", NULL
33640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33644 arg2
= wxString_in_helper(obj1
);
33645 if (arg2
== NULL
) SWIG_fail
;
33652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33653 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33655 wxPyEndAllowThreads(__tstate
);
33656 if (PyErr_Occurred()) SWIG_fail
;
33658 resultobj
= SWIG_FromInt((int)result
);
33673 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33674 PyObject
*resultobj
;
33675 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33676 wxArrayString
*arg2
= 0 ;
33677 bool temp2
= False
;
33678 PyObject
* obj0
= 0 ;
33679 PyObject
* obj1
= 0 ;
33680 char *kwnames
[] = {
33681 (char *) "self",(char *) "strings", NULL
33684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33688 if (! PySequence_Check(obj1
)) {
33689 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33692 arg2
= new wxArrayString
;
33694 int i
, len
=PySequence_Length(obj1
);
33695 for (i
=0; i
<len
; i
++) {
33696 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33698 PyObject
* str
= PyObject_Unicode(item
);
33700 PyObject
* str
= PyObject_Str(item
);
33702 if (PyErr_Occurred()) SWIG_fail
;
33703 arg2
->Add(Py2wxString(str
));
33709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33710 (arg1
)->Append((wxArrayString
const &)*arg2
);
33712 wxPyEndAllowThreads(__tstate
);
33713 if (PyErr_Occurred()) SWIG_fail
;
33715 Py_INCREF(Py_None
); resultobj
= Py_None
;
33717 if (temp2
) delete arg2
;
33722 if (temp2
) delete arg2
;
33728 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33729 PyObject
*resultobj
;
33730 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33731 wxString
*arg2
= 0 ;
33733 PyObject
*arg4
= (PyObject
*) NULL
;
33735 bool temp2
= False
;
33736 PyObject
* obj0
= 0 ;
33737 PyObject
* obj1
= 0 ;
33738 PyObject
* obj2
= 0 ;
33739 PyObject
* obj3
= 0 ;
33740 char *kwnames
[] = {
33741 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33748 arg2
= wxString_in_helper(obj1
);
33749 if (arg2
== NULL
) SWIG_fail
;
33752 arg3
= (int) SWIG_AsInt(obj2
);
33753 if (PyErr_Occurred()) SWIG_fail
;
33758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33759 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33761 wxPyEndAllowThreads(__tstate
);
33762 if (PyErr_Occurred()) SWIG_fail
;
33764 resultobj
= SWIG_FromInt((int)result
);
33779 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33780 PyObject
*resultobj
;
33781 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33782 PyObject
* obj0
= 0 ;
33783 char *kwnames
[] = {
33784 (char *) "self", NULL
33787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33794 wxPyEndAllowThreads(__tstate
);
33795 if (PyErr_Occurred()) SWIG_fail
;
33797 Py_INCREF(Py_None
); resultobj
= Py_None
;
33804 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33805 PyObject
*resultobj
;
33806 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33808 PyObject
* obj0
= 0 ;
33809 PyObject
* obj1
= 0 ;
33810 char *kwnames
[] = {
33811 (char *) "self",(char *) "n", NULL
33814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33817 arg2
= (int) SWIG_AsInt(obj1
);
33818 if (PyErr_Occurred()) SWIG_fail
;
33820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33821 (arg1
)->Delete(arg2
);
33823 wxPyEndAllowThreads(__tstate
);
33824 if (PyErr_Occurred()) SWIG_fail
;
33826 Py_INCREF(Py_None
); resultobj
= Py_None
;
33833 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33834 PyObject
*resultobj
;
33835 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33837 PyObject
* obj0
= 0 ;
33838 char *kwnames
[] = {
33839 (char *) "self", NULL
33842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33847 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33849 wxPyEndAllowThreads(__tstate
);
33850 if (PyErr_Occurred()) SWIG_fail
;
33852 resultobj
= SWIG_FromInt((int)result
);
33859 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33860 PyObject
*resultobj
;
33861 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33863 PyObject
* obj0
= 0 ;
33864 char *kwnames
[] = {
33865 (char *) "self", NULL
33868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33873 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33875 wxPyEndAllowThreads(__tstate
);
33876 if (PyErr_Occurred()) SWIG_fail
;
33879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33887 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33888 PyObject
*resultobj
;
33889 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33892 PyObject
* obj0
= 0 ;
33893 PyObject
* obj1
= 0 ;
33894 char *kwnames
[] = {
33895 (char *) "self",(char *) "n", NULL
33898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33901 arg2
= (int) SWIG_AsInt(obj1
);
33902 if (PyErr_Occurred()) SWIG_fail
;
33904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33905 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33907 wxPyEndAllowThreads(__tstate
);
33908 if (PyErr_Occurred()) SWIG_fail
;
33912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33923 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33924 PyObject
*resultobj
;
33925 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33926 wxArrayString result
;
33927 PyObject
* obj0
= 0 ;
33928 char *kwnames
[] = {
33929 (char *) "self", NULL
33932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33937 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33939 wxPyEndAllowThreads(__tstate
);
33940 if (PyErr_Occurred()) SWIG_fail
;
33943 resultobj
= wxArrayString2PyList_helper(result
);
33951 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33952 PyObject
*resultobj
;
33953 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33955 wxString
*arg3
= 0 ;
33956 bool temp3
= False
;
33957 PyObject
* obj0
= 0 ;
33958 PyObject
* obj1
= 0 ;
33959 PyObject
* obj2
= 0 ;
33960 char *kwnames
[] = {
33961 (char *) "self",(char *) "n",(char *) "s", NULL
33964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33967 arg2
= (int) SWIG_AsInt(obj1
);
33968 if (PyErr_Occurred()) SWIG_fail
;
33970 arg3
= wxString_in_helper(obj2
);
33971 if (arg3
== NULL
) SWIG_fail
;
33975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33976 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33978 wxPyEndAllowThreads(__tstate
);
33979 if (PyErr_Occurred()) SWIG_fail
;
33981 Py_INCREF(Py_None
); resultobj
= Py_None
;
33996 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33997 PyObject
*resultobj
;
33998 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33999 wxString
*arg2
= 0 ;
34001 bool temp2
= False
;
34002 PyObject
* obj0
= 0 ;
34003 PyObject
* obj1
= 0 ;
34004 char *kwnames
[] = {
34005 (char *) "self",(char *) "s", NULL
34008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34012 arg2
= wxString_in_helper(obj1
);
34013 if (arg2
== NULL
) SWIG_fail
;
34017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34018 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34020 wxPyEndAllowThreads(__tstate
);
34021 if (PyErr_Occurred()) SWIG_fail
;
34023 resultobj
= SWIG_FromInt((int)result
);
34038 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34039 PyObject
*resultobj
;
34040 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34042 PyObject
* obj0
= 0 ;
34043 PyObject
* obj1
= 0 ;
34044 char *kwnames
[] = {
34045 (char *) "self",(char *) "n", NULL
34048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34051 arg2
= (int) SWIG_AsInt(obj1
);
34052 if (PyErr_Occurred()) SWIG_fail
;
34054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34055 (arg1
)->Select(arg2
);
34057 wxPyEndAllowThreads(__tstate
);
34058 if (PyErr_Occurred()) SWIG_fail
;
34060 Py_INCREF(Py_None
); resultobj
= Py_None
;
34067 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34068 PyObject
*resultobj
;
34069 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34071 PyObject
* obj0
= 0 ;
34072 char *kwnames
[] = {
34073 (char *) "self", NULL
34076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34081 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34083 wxPyEndAllowThreads(__tstate
);
34084 if (PyErr_Occurred()) SWIG_fail
;
34086 resultobj
= SWIG_FromInt((int)result
);
34093 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34094 PyObject
*resultobj
;
34095 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34097 PyObject
* obj0
= 0 ;
34098 char *kwnames
[] = {
34099 (char *) "self", NULL
34102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34107 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34109 wxPyEndAllowThreads(__tstate
);
34110 if (PyErr_Occurred()) SWIG_fail
;
34114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34125 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34126 PyObject
*resultobj
;
34127 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34130 PyObject
* obj0
= 0 ;
34131 PyObject
* obj1
= 0 ;
34132 char *kwnames
[] = {
34133 (char *) "self",(char *) "n", NULL
34136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34139 arg2
= (int) SWIG_AsInt(obj1
);
34140 if (PyErr_Occurred()) SWIG_fail
;
34142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34143 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34145 wxPyEndAllowThreads(__tstate
);
34146 if (PyErr_Occurred()) SWIG_fail
;
34148 resultobj
= result
;
34155 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34156 PyObject
*resultobj
;
34157 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34159 PyObject
*arg3
= (PyObject
*) 0 ;
34160 PyObject
* obj0
= 0 ;
34161 PyObject
* obj1
= 0 ;
34162 PyObject
* obj2
= 0 ;
34163 char *kwnames
[] = {
34164 (char *) "self",(char *) "n",(char *) "clientData", NULL
34167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34170 arg2
= (int) SWIG_AsInt(obj1
);
34171 if (PyErr_Occurred()) SWIG_fail
;
34174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34175 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34177 wxPyEndAllowThreads(__tstate
);
34178 if (PyErr_Occurred()) SWIG_fail
;
34180 Py_INCREF(Py_None
); resultobj
= Py_None
;
34187 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
34189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34190 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34192 return Py_BuildValue((char *)"");
34194 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
34196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34197 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34199 return Py_BuildValue((char *)"");
34201 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34202 PyObject
*resultobj
;
34203 wxSizerItem
*result
;
34204 char *kwnames
[] = {
34208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34211 result
= (wxSizerItem
*)new wxSizerItem();
34213 wxPyEndAllowThreads(__tstate
);
34214 if (PyErr_Occurred()) SWIG_fail
;
34216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34223 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34224 PyObject
*resultobj
;
34225 wxWindow
*arg1
= (wxWindow
*) 0 ;
34229 PyObject
*arg5
= (PyObject
*) NULL
;
34230 wxSizerItem
*result
;
34231 PyObject
* obj0
= 0 ;
34232 PyObject
* obj1
= 0 ;
34233 PyObject
* obj2
= 0 ;
34234 PyObject
* obj3
= 0 ;
34235 PyObject
* obj4
= 0 ;
34236 char *kwnames
[] = {
34237 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34243 arg2
= (int) SWIG_AsInt(obj1
);
34244 if (PyErr_Occurred()) SWIG_fail
;
34245 arg3
= (int) SWIG_AsInt(obj2
);
34246 if (PyErr_Occurred()) SWIG_fail
;
34247 arg4
= (int) SWIG_AsInt(obj3
);
34248 if (PyErr_Occurred()) SWIG_fail
;
34253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34254 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34256 wxPyEndAllowThreads(__tstate
);
34257 if (PyErr_Occurred()) SWIG_fail
;
34259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34266 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34267 PyObject
*resultobj
;
34273 PyObject
*arg6
= (PyObject
*) NULL
;
34274 wxSizerItem
*result
;
34275 PyObject
* obj0
= 0 ;
34276 PyObject
* obj1
= 0 ;
34277 PyObject
* obj2
= 0 ;
34278 PyObject
* obj3
= 0 ;
34279 PyObject
* obj4
= 0 ;
34280 PyObject
* obj5
= 0 ;
34281 char *kwnames
[] = {
34282 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34286 arg1
= (int) SWIG_AsInt(obj0
);
34287 if (PyErr_Occurred()) SWIG_fail
;
34288 arg2
= (int) SWIG_AsInt(obj1
);
34289 if (PyErr_Occurred()) SWIG_fail
;
34290 arg3
= (int) SWIG_AsInt(obj2
);
34291 if (PyErr_Occurred()) SWIG_fail
;
34292 arg4
= (int) SWIG_AsInt(obj3
);
34293 if (PyErr_Occurred()) SWIG_fail
;
34294 arg5
= (int) SWIG_AsInt(obj4
);
34295 if (PyErr_Occurred()) SWIG_fail
;
34300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34301 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34303 wxPyEndAllowThreads(__tstate
);
34304 if (PyErr_Occurred()) SWIG_fail
;
34306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34313 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34314 PyObject
*resultobj
;
34315 wxSizer
*arg1
= (wxSizer
*) 0 ;
34319 PyObject
*arg5
= (PyObject
*) NULL
;
34320 wxSizerItem
*result
;
34321 PyObject
* obj0
= 0 ;
34322 PyObject
* obj1
= 0 ;
34323 PyObject
* obj2
= 0 ;
34324 PyObject
* obj3
= 0 ;
34325 PyObject
* obj4
= 0 ;
34326 char *kwnames
[] = {
34327 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34333 arg2
= (int) SWIG_AsInt(obj1
);
34334 if (PyErr_Occurred()) SWIG_fail
;
34335 arg3
= (int) SWIG_AsInt(obj2
);
34336 if (PyErr_Occurred()) SWIG_fail
;
34337 arg4
= (int) SWIG_AsInt(obj3
);
34338 if (PyErr_Occurred()) SWIG_fail
;
34343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34344 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34346 wxPyEndAllowThreads(__tstate
);
34347 if (PyErr_Occurred()) SWIG_fail
;
34349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34356 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34357 PyObject
*resultobj
;
34358 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34359 PyObject
* obj0
= 0 ;
34360 char *kwnames
[] = {
34361 (char *) "self", NULL
34364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34369 (arg1
)->DeleteWindows();
34371 wxPyEndAllowThreads(__tstate
);
34372 if (PyErr_Occurred()) SWIG_fail
;
34374 Py_INCREF(Py_None
); resultobj
= Py_None
;
34381 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34382 PyObject
*resultobj
;
34383 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34384 PyObject
* obj0
= 0 ;
34385 char *kwnames
[] = {
34386 (char *) "self", NULL
34389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34394 (arg1
)->DetachSizer();
34396 wxPyEndAllowThreads(__tstate
);
34397 if (PyErr_Occurred()) SWIG_fail
;
34399 Py_INCREF(Py_None
); resultobj
= Py_None
;
34406 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34407 PyObject
*resultobj
;
34408 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34410 PyObject
* obj0
= 0 ;
34411 char *kwnames
[] = {
34412 (char *) "self", NULL
34415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34420 result
= (arg1
)->GetSize();
34422 wxPyEndAllowThreads(__tstate
);
34423 if (PyErr_Occurred()) SWIG_fail
;
34426 wxSize
* resultptr
;
34427 resultptr
= new wxSize((wxSize
&) result
);
34428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34436 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34437 PyObject
*resultobj
;
34438 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34440 PyObject
* obj0
= 0 ;
34441 char *kwnames
[] = {
34442 (char *) "self", NULL
34445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34450 result
= (arg1
)->CalcMin();
34452 wxPyEndAllowThreads(__tstate
);
34453 if (PyErr_Occurred()) SWIG_fail
;
34456 wxSize
* resultptr
;
34457 resultptr
= new wxSize((wxSize
&) result
);
34458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34466 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34467 PyObject
*resultobj
;
34468 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34473 PyObject
* obj0
= 0 ;
34474 PyObject
* obj1
= 0 ;
34475 PyObject
* obj2
= 0 ;
34476 char *kwnames
[] = {
34477 (char *) "self",(char *) "pos",(char *) "size", NULL
34480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34483 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34484 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34486 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34487 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34491 (arg1
)->SetDimension(arg2
,arg3
);
34493 wxPyEndAllowThreads(__tstate
);
34494 if (PyErr_Occurred()) SWIG_fail
;
34496 Py_INCREF(Py_None
); resultobj
= Py_None
;
34503 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34504 PyObject
*resultobj
;
34505 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34507 PyObject
* obj0
= 0 ;
34508 char *kwnames
[] = {
34509 (char *) "self", NULL
34512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34517 result
= (arg1
)->GetMinSize();
34519 wxPyEndAllowThreads(__tstate
);
34520 if (PyErr_Occurred()) SWIG_fail
;
34523 wxSize
* resultptr
;
34524 resultptr
= new wxSize((wxSize
&) result
);
34525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34533 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34534 PyObject
*resultobj
;
34535 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34537 PyObject
* obj0
= 0 ;
34538 char *kwnames
[] = {
34539 (char *) "self", NULL
34542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34547 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34549 wxPyEndAllowThreads(__tstate
);
34550 if (PyErr_Occurred()) SWIG_fail
;
34553 wxSize
* resultptr
;
34554 resultptr
= new wxSize((wxSize
&) result
);
34555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34563 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34564 PyObject
*resultobj
;
34565 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34568 PyObject
* obj0
= 0 ;
34569 PyObject
* obj1
= 0 ;
34570 PyObject
* obj2
= 0 ;
34571 char *kwnames
[] = {
34572 (char *) "self",(char *) "x",(char *) "y", NULL
34575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34578 arg2
= (int) SWIG_AsInt(obj1
);
34579 if (PyErr_Occurred()) SWIG_fail
;
34580 arg3
= (int) SWIG_AsInt(obj2
);
34581 if (PyErr_Occurred()) SWIG_fail
;
34583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34584 (arg1
)->SetInitSize(arg2
,arg3
);
34586 wxPyEndAllowThreads(__tstate
);
34587 if (PyErr_Occurred()) SWIG_fail
;
34589 Py_INCREF(Py_None
); resultobj
= Py_None
;
34596 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34597 PyObject
*resultobj
;
34598 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34601 PyObject
* obj0
= 0 ;
34602 PyObject
* obj1
= 0 ;
34603 PyObject
* obj2
= 0 ;
34604 char *kwnames
[] = {
34605 (char *) "self",(char *) "width",(char *) "height", NULL
34608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34611 arg2
= (int) SWIG_AsInt(obj1
);
34612 if (PyErr_Occurred()) SWIG_fail
;
34613 arg3
= (int) SWIG_AsInt(obj2
);
34614 if (PyErr_Occurred()) SWIG_fail
;
34616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34617 (arg1
)->SetRatio(arg2
,arg3
);
34619 wxPyEndAllowThreads(__tstate
);
34620 if (PyErr_Occurred()) SWIG_fail
;
34622 Py_INCREF(Py_None
); resultobj
= Py_None
;
34629 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34630 PyObject
*resultobj
;
34631 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34634 PyObject
* obj0
= 0 ;
34635 PyObject
* obj1
= 0 ;
34636 char *kwnames
[] = {
34637 (char *) "self",(char *) "size", NULL
34640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34643 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34644 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34648 (arg1
)->SetRatio(arg2
);
34650 wxPyEndAllowThreads(__tstate
);
34651 if (PyErr_Occurred()) SWIG_fail
;
34653 Py_INCREF(Py_None
); resultobj
= Py_None
;
34660 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34661 PyObject
*resultobj
;
34662 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34664 PyObject
* obj0
= 0 ;
34665 PyObject
* obj1
= 0 ;
34666 char *kwnames
[] = {
34667 (char *) "self",(char *) "ratio", NULL
34670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34673 arg2
= (float) SWIG_AsFloat(obj1
);
34674 if (PyErr_Occurred()) SWIG_fail
;
34676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34677 (arg1
)->SetRatio(arg2
);
34679 wxPyEndAllowThreads(__tstate
);
34680 if (PyErr_Occurred()) SWIG_fail
;
34682 Py_INCREF(Py_None
); resultobj
= Py_None
;
34689 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34690 PyObject
*resultobj
;
34691 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34693 PyObject
* obj0
= 0 ;
34694 char *kwnames
[] = {
34695 (char *) "self", NULL
34698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34703 result
= (float)(arg1
)->GetRatio();
34705 wxPyEndAllowThreads(__tstate
);
34706 if (PyErr_Occurred()) SWIG_fail
;
34708 resultobj
= SWIG_FromFloat((float)result
);
34715 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34716 PyObject
*resultobj
;
34717 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34719 PyObject
* obj0
= 0 ;
34720 char *kwnames
[] = {
34721 (char *) "self", NULL
34724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34729 result
= (bool)(arg1
)->IsWindow();
34731 wxPyEndAllowThreads(__tstate
);
34732 if (PyErr_Occurred()) SWIG_fail
;
34735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34743 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34744 PyObject
*resultobj
;
34745 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34747 PyObject
* obj0
= 0 ;
34748 char *kwnames
[] = {
34749 (char *) "self", NULL
34752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34757 result
= (bool)(arg1
)->IsSizer();
34759 wxPyEndAllowThreads(__tstate
);
34760 if (PyErr_Occurred()) SWIG_fail
;
34763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34771 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34772 PyObject
*resultobj
;
34773 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34775 PyObject
* obj0
= 0 ;
34776 char *kwnames
[] = {
34777 (char *) "self", NULL
34780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34785 result
= (bool)(arg1
)->IsSpacer();
34787 wxPyEndAllowThreads(__tstate
);
34788 if (PyErr_Occurred()) SWIG_fail
;
34791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34799 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34800 PyObject
*resultobj
;
34801 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34803 PyObject
* obj0
= 0 ;
34804 PyObject
* obj1
= 0 ;
34805 char *kwnames
[] = {
34806 (char *) "self",(char *) "proportion", NULL
34809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34812 arg2
= (int) SWIG_AsInt(obj1
);
34813 if (PyErr_Occurred()) SWIG_fail
;
34815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34816 (arg1
)->SetProportion(arg2
);
34818 wxPyEndAllowThreads(__tstate
);
34819 if (PyErr_Occurred()) SWIG_fail
;
34821 Py_INCREF(Py_None
); resultobj
= Py_None
;
34828 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34829 PyObject
*resultobj
;
34830 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34832 PyObject
* obj0
= 0 ;
34833 char *kwnames
[] = {
34834 (char *) "self", NULL
34837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 result
= (int)(arg1
)->GetProportion();
34844 wxPyEndAllowThreads(__tstate
);
34845 if (PyErr_Occurred()) SWIG_fail
;
34847 resultobj
= SWIG_FromInt((int)result
);
34854 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34855 PyObject
*resultobj
;
34856 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34858 PyObject
* obj0
= 0 ;
34859 PyObject
* obj1
= 0 ;
34860 char *kwnames
[] = {
34861 (char *) "self",(char *) "flag", NULL
34864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34867 arg2
= (int) SWIG_AsInt(obj1
);
34868 if (PyErr_Occurred()) SWIG_fail
;
34870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34871 (arg1
)->SetFlag(arg2
);
34873 wxPyEndAllowThreads(__tstate
);
34874 if (PyErr_Occurred()) SWIG_fail
;
34876 Py_INCREF(Py_None
); resultobj
= Py_None
;
34883 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34884 PyObject
*resultobj
;
34885 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34887 PyObject
* obj0
= 0 ;
34888 char *kwnames
[] = {
34889 (char *) "self", NULL
34892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34897 result
= (int)(arg1
)->GetFlag();
34899 wxPyEndAllowThreads(__tstate
);
34900 if (PyErr_Occurred()) SWIG_fail
;
34902 resultobj
= SWIG_FromInt((int)result
);
34909 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34910 PyObject
*resultobj
;
34911 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34913 PyObject
* obj0
= 0 ;
34914 PyObject
* obj1
= 0 ;
34915 char *kwnames
[] = {
34916 (char *) "self",(char *) "border", NULL
34919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34922 arg2
= (int) SWIG_AsInt(obj1
);
34923 if (PyErr_Occurred()) SWIG_fail
;
34925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34926 (arg1
)->SetBorder(arg2
);
34928 wxPyEndAllowThreads(__tstate
);
34929 if (PyErr_Occurred()) SWIG_fail
;
34931 Py_INCREF(Py_None
); resultobj
= Py_None
;
34938 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34939 PyObject
*resultobj
;
34940 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34942 PyObject
* obj0
= 0 ;
34943 char *kwnames
[] = {
34944 (char *) "self", NULL
34947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34952 result
= (int)(arg1
)->GetBorder();
34954 wxPyEndAllowThreads(__tstate
);
34955 if (PyErr_Occurred()) SWIG_fail
;
34957 resultobj
= SWIG_FromInt((int)result
);
34964 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34965 PyObject
*resultobj
;
34966 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34968 PyObject
* obj0
= 0 ;
34969 char *kwnames
[] = {
34970 (char *) "self", NULL
34973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34978 result
= (wxWindow
*)(arg1
)->GetWindow();
34980 wxPyEndAllowThreads(__tstate
);
34981 if (PyErr_Occurred()) SWIG_fail
;
34984 resultobj
= wxPyMake_wxObject(result
, 0);
34992 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34993 PyObject
*resultobj
;
34994 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34995 wxWindow
*arg2
= (wxWindow
*) 0 ;
34996 PyObject
* obj0
= 0 ;
34997 PyObject
* obj1
= 0 ;
34998 char *kwnames
[] = {
34999 (char *) "self",(char *) "window", NULL
35002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35009 (arg1
)->SetWindow(arg2
);
35011 wxPyEndAllowThreads(__tstate
);
35012 if (PyErr_Occurred()) SWIG_fail
;
35014 Py_INCREF(Py_None
); resultobj
= Py_None
;
35021 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35022 PyObject
*resultobj
;
35023 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35025 PyObject
* obj0
= 0 ;
35026 char *kwnames
[] = {
35027 (char *) "self", NULL
35030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35035 result
= (wxSizer
*)(arg1
)->GetSizer();
35037 wxPyEndAllowThreads(__tstate
);
35038 if (PyErr_Occurred()) SWIG_fail
;
35041 resultobj
= wxPyMake_wxSizer(result
, 0);
35049 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35050 PyObject
*resultobj
;
35051 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35052 wxSizer
*arg2
= (wxSizer
*) 0 ;
35053 PyObject
* obj0
= 0 ;
35054 PyObject
* obj1
= 0 ;
35055 char *kwnames
[] = {
35056 (char *) "self",(char *) "sizer", NULL
35059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35066 (arg1
)->SetSizer(arg2
);
35068 wxPyEndAllowThreads(__tstate
);
35069 if (PyErr_Occurred()) SWIG_fail
;
35071 Py_INCREF(Py_None
); resultobj
= Py_None
;
35078 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35079 PyObject
*resultobj
;
35080 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35082 PyObject
* obj0
= 0 ;
35083 char *kwnames
[] = {
35084 (char *) "self", NULL
35087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35093 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35094 result
= (wxSize
*) &_result_ref
;
35097 wxPyEndAllowThreads(__tstate
);
35098 if (PyErr_Occurred()) SWIG_fail
;
35100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35107 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35108 PyObject
*resultobj
;
35109 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35112 PyObject
* obj0
= 0 ;
35113 PyObject
* obj1
= 0 ;
35114 char *kwnames
[] = {
35115 (char *) "self",(char *) "size", NULL
35118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35123 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35127 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35129 wxPyEndAllowThreads(__tstate
);
35130 if (PyErr_Occurred()) SWIG_fail
;
35132 Py_INCREF(Py_None
); resultobj
= Py_None
;
35139 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35140 PyObject
*resultobj
;
35141 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35143 PyObject
* obj0
= 0 ;
35144 PyObject
* obj1
= 0 ;
35145 char *kwnames
[] = {
35146 (char *) "self",(char *) "show", NULL
35149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35152 arg2
= (bool) SWIG_AsBool(obj1
);
35153 if (PyErr_Occurred()) SWIG_fail
;
35155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35156 (arg1
)->Show(arg2
);
35158 wxPyEndAllowThreads(__tstate
);
35159 if (PyErr_Occurred()) SWIG_fail
;
35161 Py_INCREF(Py_None
); resultobj
= Py_None
;
35168 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35169 PyObject
*resultobj
;
35170 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35172 PyObject
* obj0
= 0 ;
35173 char *kwnames
[] = {
35174 (char *) "self", NULL
35177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35182 result
= (bool)(arg1
)->IsShown();
35184 wxPyEndAllowThreads(__tstate
);
35185 if (PyErr_Occurred()) SWIG_fail
;
35188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35196 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35197 PyObject
*resultobj
;
35198 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35200 PyObject
* obj0
= 0 ;
35201 char *kwnames
[] = {
35202 (char *) "self", NULL
35205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35210 result
= (arg1
)->GetPosition();
35212 wxPyEndAllowThreads(__tstate
);
35213 if (PyErr_Occurred()) SWIG_fail
;
35216 wxPoint
* resultptr
;
35217 resultptr
= new wxPoint((wxPoint
&) result
);
35218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35226 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35227 PyObject
*resultobj
;
35228 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35230 PyObject
* obj0
= 0 ;
35231 char *kwnames
[] = {
35232 (char *) "self", NULL
35235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35240 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35242 wxPyEndAllowThreads(__tstate
);
35243 if (PyErr_Occurred()) SWIG_fail
;
35245 resultobj
= result
;
35252 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
35254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35255 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35257 return Py_BuildValue((char *)"");
35259 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35260 PyObject
*resultobj
;
35261 wxSizer
*arg1
= (wxSizer
*) 0 ;
35262 PyObject
*arg2
= (PyObject
*) 0 ;
35263 PyObject
* obj0
= 0 ;
35264 PyObject
* obj1
= 0 ;
35265 char *kwnames
[] = {
35266 (char *) "self",(char *) "_self", NULL
35269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35275 wxSizer__setOORInfo(arg1
,arg2
);
35277 wxPyEndAllowThreads(__tstate
);
35278 if (PyErr_Occurred()) SWIG_fail
;
35280 Py_INCREF(Py_None
); resultobj
= Py_None
;
35287 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35288 PyObject
*resultobj
;
35289 wxSizer
*arg1
= (wxSizer
*) 0 ;
35290 PyObject
*arg2
= (PyObject
*) 0 ;
35291 int arg3
= (int) 0 ;
35292 int arg4
= (int) 0 ;
35293 int arg5
= (int) 0 ;
35294 PyObject
*arg6
= (PyObject
*) NULL
;
35295 PyObject
* obj0
= 0 ;
35296 PyObject
* obj1
= 0 ;
35297 PyObject
* obj2
= 0 ;
35298 PyObject
* obj3
= 0 ;
35299 PyObject
* obj4
= 0 ;
35300 PyObject
* obj5
= 0 ;
35301 char *kwnames
[] = {
35302 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35310 arg3
= (int) SWIG_AsInt(obj2
);
35311 if (PyErr_Occurred()) SWIG_fail
;
35314 arg4
= (int) SWIG_AsInt(obj3
);
35315 if (PyErr_Occurred()) SWIG_fail
;
35318 arg5
= (int) SWIG_AsInt(obj4
);
35319 if (PyErr_Occurred()) SWIG_fail
;
35325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35326 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35328 wxPyEndAllowThreads(__tstate
);
35329 if (PyErr_Occurred()) SWIG_fail
;
35331 Py_INCREF(Py_None
); resultobj
= Py_None
;
35338 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35339 PyObject
*resultobj
;
35340 wxSizer
*arg1
= (wxSizer
*) 0 ;
35342 PyObject
*arg3
= (PyObject
*) 0 ;
35343 int arg4
= (int) 0 ;
35344 int arg5
= (int) 0 ;
35345 int arg6
= (int) 0 ;
35346 PyObject
*arg7
= (PyObject
*) NULL
;
35347 PyObject
* obj0
= 0 ;
35348 PyObject
* obj1
= 0 ;
35349 PyObject
* obj2
= 0 ;
35350 PyObject
* obj3
= 0 ;
35351 PyObject
* obj4
= 0 ;
35352 PyObject
* obj5
= 0 ;
35353 PyObject
* obj6
= 0 ;
35354 char *kwnames
[] = {
35355 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35361 arg2
= (int) SWIG_AsInt(obj1
);
35362 if (PyErr_Occurred()) SWIG_fail
;
35365 arg4
= (int) SWIG_AsInt(obj3
);
35366 if (PyErr_Occurred()) SWIG_fail
;
35369 arg5
= (int) SWIG_AsInt(obj4
);
35370 if (PyErr_Occurred()) SWIG_fail
;
35373 arg6
= (int) SWIG_AsInt(obj5
);
35374 if (PyErr_Occurred()) SWIG_fail
;
35380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35381 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35383 wxPyEndAllowThreads(__tstate
);
35384 if (PyErr_Occurred()) SWIG_fail
;
35386 Py_INCREF(Py_None
); resultobj
= Py_None
;
35393 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35394 PyObject
*resultobj
;
35395 wxSizer
*arg1
= (wxSizer
*) 0 ;
35396 PyObject
*arg2
= (PyObject
*) 0 ;
35397 int arg3
= (int) 0 ;
35398 int arg4
= (int) 0 ;
35399 int arg5
= (int) 0 ;
35400 PyObject
*arg6
= (PyObject
*) NULL
;
35401 PyObject
* obj0
= 0 ;
35402 PyObject
* obj1
= 0 ;
35403 PyObject
* obj2
= 0 ;
35404 PyObject
* obj3
= 0 ;
35405 PyObject
* obj4
= 0 ;
35406 PyObject
* obj5
= 0 ;
35407 char *kwnames
[] = {
35408 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35416 arg3
= (int) SWIG_AsInt(obj2
);
35417 if (PyErr_Occurred()) SWIG_fail
;
35420 arg4
= (int) SWIG_AsInt(obj3
);
35421 if (PyErr_Occurred()) SWIG_fail
;
35424 arg5
= (int) SWIG_AsInt(obj4
);
35425 if (PyErr_Occurred()) SWIG_fail
;
35431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35432 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35434 wxPyEndAllowThreads(__tstate
);
35435 if (PyErr_Occurred()) SWIG_fail
;
35437 Py_INCREF(Py_None
); resultobj
= Py_None
;
35444 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35445 PyObject
*resultobj
;
35446 wxSizer
*arg1
= (wxSizer
*) 0 ;
35447 PyObject
*arg2
= (PyObject
*) 0 ;
35449 PyObject
* obj0
= 0 ;
35450 PyObject
* obj1
= 0 ;
35451 char *kwnames
[] = {
35452 (char *) "self",(char *) "item", NULL
35455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35461 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35463 wxPyEndAllowThreads(__tstate
);
35464 if (PyErr_Occurred()) SWIG_fail
;
35467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35475 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35476 PyObject
*resultobj
;
35477 wxSizer
*arg1
= (wxSizer
*) 0 ;
35478 PyObject
*arg2
= (PyObject
*) 0 ;
35480 PyObject
* obj0
= 0 ;
35481 PyObject
* obj1
= 0 ;
35482 char *kwnames
[] = {
35483 (char *) "self",(char *) "item", NULL
35486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35492 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35494 wxPyEndAllowThreads(__tstate
);
35495 if (PyErr_Occurred()) SWIG_fail
;
35498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35506 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35507 PyObject
*resultobj
;
35508 wxSizer
*arg1
= (wxSizer
*) 0 ;
35509 PyObject
*arg2
= (PyObject
*) 0 ;
35512 PyObject
* obj0
= 0 ;
35513 PyObject
* obj1
= 0 ;
35514 PyObject
* obj2
= 0 ;
35515 char *kwnames
[] = {
35516 (char *) "self",(char *) "item",(char *) "size", NULL
35519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35525 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35529 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35531 wxPyEndAllowThreads(__tstate
);
35532 if (PyErr_Occurred()) SWIG_fail
;
35534 Py_INCREF(Py_None
); resultobj
= Py_None
;
35541 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35542 PyObject
*resultobj
;
35543 wxSizer
*arg1
= (wxSizer
*) 0 ;
35544 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35545 PyObject
* obj0
= 0 ;
35546 PyObject
* obj1
= 0 ;
35547 char *kwnames
[] = {
35548 (char *) "self",(char *) "item", NULL
35551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35560 wxPyEndAllowThreads(__tstate
);
35561 if (PyErr_Occurred()) SWIG_fail
;
35563 Py_INCREF(Py_None
); resultobj
= Py_None
;
35570 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35571 PyObject
*resultobj
;
35572 wxSizer
*arg1
= (wxSizer
*) 0 ;
35574 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35575 PyObject
* obj0
= 0 ;
35576 PyObject
* obj1
= 0 ;
35577 PyObject
* obj2
= 0 ;
35578 char *kwnames
[] = {
35579 (char *) "self",(char *) "index",(char *) "item", NULL
35582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35585 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35586 if (PyErr_Occurred()) SWIG_fail
;
35587 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35591 (arg1
)->Insert(arg2
,arg3
);
35593 wxPyEndAllowThreads(__tstate
);
35594 if (PyErr_Occurred()) SWIG_fail
;
35596 Py_INCREF(Py_None
); resultobj
= Py_None
;
35603 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35604 PyObject
*resultobj
;
35605 wxSizer
*arg1
= (wxSizer
*) 0 ;
35606 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35607 PyObject
* obj0
= 0 ;
35608 PyObject
* obj1
= 0 ;
35609 char *kwnames
[] = {
35610 (char *) "self",(char *) "item", NULL
35613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35620 (arg1
)->Prepend(arg2
);
35622 wxPyEndAllowThreads(__tstate
);
35623 if (PyErr_Occurred()) SWIG_fail
;
35625 Py_INCREF(Py_None
); resultobj
= Py_None
;
35632 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35633 PyObject
*resultobj
;
35634 wxSizer
*arg1
= (wxSizer
*) 0 ;
35639 PyObject
* obj0
= 0 ;
35640 PyObject
* obj1
= 0 ;
35641 PyObject
* obj2
= 0 ;
35642 PyObject
* obj3
= 0 ;
35643 PyObject
* obj4
= 0 ;
35644 char *kwnames
[] = {
35645 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35651 arg2
= (int) SWIG_AsInt(obj1
);
35652 if (PyErr_Occurred()) SWIG_fail
;
35653 arg3
= (int) SWIG_AsInt(obj2
);
35654 if (PyErr_Occurred()) SWIG_fail
;
35655 arg4
= (int) SWIG_AsInt(obj3
);
35656 if (PyErr_Occurred()) SWIG_fail
;
35657 arg5
= (int) SWIG_AsInt(obj4
);
35658 if (PyErr_Occurred()) SWIG_fail
;
35660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35661 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35663 wxPyEndAllowThreads(__tstate
);
35664 if (PyErr_Occurred()) SWIG_fail
;
35666 Py_INCREF(Py_None
); resultobj
= Py_None
;
35673 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35674 PyObject
*resultobj
;
35675 wxSizer
*arg1
= (wxSizer
*) 0 ;
35678 PyObject
* obj0
= 0 ;
35679 PyObject
* obj1
= 0 ;
35680 char *kwnames
[] = {
35681 (char *) "self",(char *) "size", NULL
35684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35689 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35693 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35695 wxPyEndAllowThreads(__tstate
);
35696 if (PyErr_Occurred()) SWIG_fail
;
35698 Py_INCREF(Py_None
); resultobj
= Py_None
;
35705 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35706 PyObject
*resultobj
;
35707 wxSizer
*arg1
= (wxSizer
*) 0 ;
35709 PyObject
* obj0
= 0 ;
35710 char *kwnames
[] = {
35711 (char *) "self", NULL
35714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35719 result
= (arg1
)->GetSize();
35721 wxPyEndAllowThreads(__tstate
);
35722 if (PyErr_Occurred()) SWIG_fail
;
35725 wxSize
* resultptr
;
35726 resultptr
= new wxSize((wxSize
&) result
);
35727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35735 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35736 PyObject
*resultobj
;
35737 wxSizer
*arg1
= (wxSizer
*) 0 ;
35739 PyObject
* obj0
= 0 ;
35740 char *kwnames
[] = {
35741 (char *) "self", NULL
35744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35749 result
= (arg1
)->GetPosition();
35751 wxPyEndAllowThreads(__tstate
);
35752 if (PyErr_Occurred()) SWIG_fail
;
35755 wxPoint
* resultptr
;
35756 resultptr
= new wxPoint((wxPoint
&) result
);
35757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35765 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35766 PyObject
*resultobj
;
35767 wxSizer
*arg1
= (wxSizer
*) 0 ;
35769 PyObject
* obj0
= 0 ;
35770 char *kwnames
[] = {
35771 (char *) "self", NULL
35774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35779 result
= (arg1
)->GetMinSize();
35781 wxPyEndAllowThreads(__tstate
);
35782 if (PyErr_Occurred()) SWIG_fail
;
35785 wxSize
* resultptr
;
35786 resultptr
= new wxSize((wxSize
&) result
);
35787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35795 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35796 PyObject
*resultobj
;
35797 wxSizer
*arg1
= (wxSizer
*) 0 ;
35798 PyObject
* obj0
= 0 ;
35799 char *kwnames
[] = {
35800 (char *) "self", NULL
35803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35808 (arg1
)->RecalcSizes();
35810 wxPyEndAllowThreads(__tstate
);
35811 if (PyErr_Occurred()) SWIG_fail
;
35813 Py_INCREF(Py_None
); resultobj
= Py_None
;
35820 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35821 PyObject
*resultobj
;
35822 wxSizer
*arg1
= (wxSizer
*) 0 ;
35824 PyObject
* obj0
= 0 ;
35825 char *kwnames
[] = {
35826 (char *) "self", NULL
35829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35834 result
= (arg1
)->CalcMin();
35836 wxPyEndAllowThreads(__tstate
);
35837 if (PyErr_Occurred()) SWIG_fail
;
35840 wxSize
* resultptr
;
35841 resultptr
= new wxSize((wxSize
&) result
);
35842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35850 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35851 PyObject
*resultobj
;
35852 wxSizer
*arg1
= (wxSizer
*) 0 ;
35853 PyObject
* obj0
= 0 ;
35854 char *kwnames
[] = {
35855 (char *) "self", NULL
35858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35865 wxPyEndAllowThreads(__tstate
);
35866 if (PyErr_Occurred()) SWIG_fail
;
35868 Py_INCREF(Py_None
); resultobj
= Py_None
;
35875 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35876 PyObject
*resultobj
;
35877 wxSizer
*arg1
= (wxSizer
*) 0 ;
35878 wxWindow
*arg2
= (wxWindow
*) 0 ;
35880 PyObject
* obj0
= 0 ;
35881 PyObject
* obj1
= 0 ;
35882 char *kwnames
[] = {
35883 (char *) "self",(char *) "window", NULL
35886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35893 result
= (arg1
)->Fit(arg2
);
35895 wxPyEndAllowThreads(__tstate
);
35896 if (PyErr_Occurred()) SWIG_fail
;
35899 wxSize
* resultptr
;
35900 resultptr
= new wxSize((wxSize
&) result
);
35901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35909 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35910 PyObject
*resultobj
;
35911 wxSizer
*arg1
= (wxSizer
*) 0 ;
35912 wxWindow
*arg2
= (wxWindow
*) 0 ;
35913 PyObject
* obj0
= 0 ;
35914 PyObject
* obj1
= 0 ;
35915 char *kwnames
[] = {
35916 (char *) "self",(char *) "window", NULL
35919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35926 (arg1
)->FitInside(arg2
);
35928 wxPyEndAllowThreads(__tstate
);
35929 if (PyErr_Occurred()) SWIG_fail
;
35931 Py_INCREF(Py_None
); resultobj
= Py_None
;
35938 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35939 PyObject
*resultobj
;
35940 wxSizer
*arg1
= (wxSizer
*) 0 ;
35941 wxWindow
*arg2
= (wxWindow
*) 0 ;
35942 PyObject
* obj0
= 0 ;
35943 PyObject
* obj1
= 0 ;
35944 char *kwnames
[] = {
35945 (char *) "self",(char *) "window", NULL
35948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35955 (arg1
)->SetSizeHints(arg2
);
35957 wxPyEndAllowThreads(__tstate
);
35958 if (PyErr_Occurred()) SWIG_fail
;
35960 Py_INCREF(Py_None
); resultobj
= Py_None
;
35967 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35968 PyObject
*resultobj
;
35969 wxSizer
*arg1
= (wxSizer
*) 0 ;
35970 wxWindow
*arg2
= (wxWindow
*) 0 ;
35971 PyObject
* obj0
= 0 ;
35972 PyObject
* obj1
= 0 ;
35973 char *kwnames
[] = {
35974 (char *) "self",(char *) "window", NULL
35977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35984 (arg1
)->SetVirtualSizeHints(arg2
);
35986 wxPyEndAllowThreads(__tstate
);
35987 if (PyErr_Occurred()) SWIG_fail
;
35989 Py_INCREF(Py_None
); resultobj
= Py_None
;
35996 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35997 PyObject
*resultobj
;
35998 wxSizer
*arg1
= (wxSizer
*) 0 ;
35999 bool arg2
= (bool) False
;
36000 PyObject
* obj0
= 0 ;
36001 PyObject
* obj1
= 0 ;
36002 char *kwnames
[] = {
36003 (char *) "self",(char *) "deleteWindows", NULL
36006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36010 arg2
= (bool) SWIG_AsBool(obj1
);
36011 if (PyErr_Occurred()) SWIG_fail
;
36014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36015 (arg1
)->Clear(arg2
);
36017 wxPyEndAllowThreads(__tstate
);
36018 if (PyErr_Occurred()) SWIG_fail
;
36020 Py_INCREF(Py_None
); resultobj
= Py_None
;
36027 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36028 PyObject
*resultobj
;
36029 wxSizer
*arg1
= (wxSizer
*) 0 ;
36030 PyObject
* obj0
= 0 ;
36031 char *kwnames
[] = {
36032 (char *) "self", NULL
36035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36040 (arg1
)->DeleteWindows();
36042 wxPyEndAllowThreads(__tstate
);
36043 if (PyErr_Occurred()) SWIG_fail
;
36045 Py_INCREF(Py_None
); resultobj
= Py_None
;
36052 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36053 PyObject
*resultobj
;
36054 wxSizer
*arg1
= (wxSizer
*) 0 ;
36056 PyObject
* obj0
= 0 ;
36057 char *kwnames
[] = {
36058 (char *) "self", NULL
36061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36066 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36068 wxPyEndAllowThreads(__tstate
);
36069 if (PyErr_Occurred()) SWIG_fail
;
36071 resultobj
= result
;
36078 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36079 PyObject
*resultobj
;
36080 wxSizer
*arg1
= (wxSizer
*) 0 ;
36081 PyObject
*arg2
= (PyObject
*) 0 ;
36082 bool arg3
= (bool) True
;
36083 PyObject
* obj0
= 0 ;
36084 PyObject
* obj1
= 0 ;
36085 PyObject
* obj2
= 0 ;
36086 char *kwnames
[] = {
36087 (char *) "self",(char *) "item",(char *) "show", NULL
36090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36095 arg3
= (bool) SWIG_AsBool(obj2
);
36096 if (PyErr_Occurred()) SWIG_fail
;
36099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36100 wxSizer_Show(arg1
,arg2
,arg3
);
36102 wxPyEndAllowThreads(__tstate
);
36103 if (PyErr_Occurred()) SWIG_fail
;
36105 Py_INCREF(Py_None
); resultobj
= Py_None
;
36112 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36113 PyObject
*resultobj
;
36114 wxSizer
*arg1
= (wxSizer
*) 0 ;
36115 PyObject
*arg2
= (PyObject
*) 0 ;
36117 PyObject
* obj0
= 0 ;
36118 PyObject
* obj1
= 0 ;
36119 char *kwnames
[] = {
36120 (char *) "self",(char *) "item", NULL
36123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36129 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36131 wxPyEndAllowThreads(__tstate
);
36132 if (PyErr_Occurred()) SWIG_fail
;
36135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36143 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36144 PyObject
*resultobj
;
36145 wxSizer
*arg1
= (wxSizer
*) 0 ;
36147 PyObject
* obj0
= 0 ;
36148 PyObject
* obj1
= 0 ;
36149 char *kwnames
[] = {
36150 (char *) "self",(char *) "show", NULL
36153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36156 arg2
= (bool) SWIG_AsBool(obj1
);
36157 if (PyErr_Occurred()) SWIG_fail
;
36159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36160 (arg1
)->ShowItems(arg2
);
36162 wxPyEndAllowThreads(__tstate
);
36163 if (PyErr_Occurred()) SWIG_fail
;
36165 Py_INCREF(Py_None
); resultobj
= Py_None
;
36172 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
36174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36175 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36177 return Py_BuildValue((char *)"");
36179 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36180 PyObject
*resultobj
;
36182 char *kwnames
[] = {
36186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36189 result
= (wxPySizer
*)new wxPySizer();
36191 wxPyEndAllowThreads(__tstate
);
36192 if (PyErr_Occurred()) SWIG_fail
;
36194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36201 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36202 PyObject
*resultobj
;
36203 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36204 PyObject
*arg2
= (PyObject
*) 0 ;
36205 PyObject
*arg3
= (PyObject
*) 0 ;
36206 PyObject
* obj0
= 0 ;
36207 PyObject
* obj1
= 0 ;
36208 PyObject
* obj2
= 0 ;
36209 char *kwnames
[] = {
36210 (char *) "self",(char *) "self",(char *) "_class", NULL
36213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36220 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36222 wxPyEndAllowThreads(__tstate
);
36223 if (PyErr_Occurred()) SWIG_fail
;
36225 Py_INCREF(Py_None
); resultobj
= Py_None
;
36232 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
36234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36235 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36237 return Py_BuildValue((char *)"");
36239 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36240 PyObject
*resultobj
;
36241 int arg1
= (int) wxHORIZONTAL
;
36242 wxBoxSizer
*result
;
36243 PyObject
* obj0
= 0 ;
36244 char *kwnames
[] = {
36245 (char *) "orient", NULL
36248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36250 arg1
= (int) SWIG_AsInt(obj0
);
36251 if (PyErr_Occurred()) SWIG_fail
;
36254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36255 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36257 wxPyEndAllowThreads(__tstate
);
36258 if (PyErr_Occurred()) SWIG_fail
;
36260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36267 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36268 PyObject
*resultobj
;
36269 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36271 PyObject
* obj0
= 0 ;
36272 char *kwnames
[] = {
36273 (char *) "self", NULL
36276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36281 result
= (int)(arg1
)->GetOrientation();
36283 wxPyEndAllowThreads(__tstate
);
36284 if (PyErr_Occurred()) SWIG_fail
;
36286 resultobj
= SWIG_FromInt((int)result
);
36293 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36294 PyObject
*resultobj
;
36295 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36297 PyObject
* obj0
= 0 ;
36298 PyObject
* obj1
= 0 ;
36299 char *kwnames
[] = {
36300 (char *) "self",(char *) "orient", NULL
36303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36306 arg2
= (int) SWIG_AsInt(obj1
);
36307 if (PyErr_Occurred()) SWIG_fail
;
36309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36310 (arg1
)->SetOrientation(arg2
);
36312 wxPyEndAllowThreads(__tstate
);
36313 if (PyErr_Occurred()) SWIG_fail
;
36315 Py_INCREF(Py_None
); resultobj
= Py_None
;
36322 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36325 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36327 return Py_BuildValue((char *)"");
36329 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36330 PyObject
*resultobj
;
36331 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36332 int arg2
= (int) wxHORIZONTAL
;
36333 wxStaticBoxSizer
*result
;
36334 PyObject
* obj0
= 0 ;
36335 PyObject
* obj1
= 0 ;
36336 char *kwnames
[] = {
36337 (char *) "box",(char *) "orient", NULL
36340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36344 arg2
= (int) SWIG_AsInt(obj1
);
36345 if (PyErr_Occurred()) SWIG_fail
;
36348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36349 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36351 wxPyEndAllowThreads(__tstate
);
36352 if (PyErr_Occurred()) SWIG_fail
;
36354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36361 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36362 PyObject
*resultobj
;
36363 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36364 wxStaticBox
*result
;
36365 PyObject
* obj0
= 0 ;
36366 char *kwnames
[] = {
36367 (char *) "self", NULL
36370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36375 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36377 wxPyEndAllowThreads(__tstate
);
36378 if (PyErr_Occurred()) SWIG_fail
;
36381 resultobj
= wxPyMake_wxObject(result
, 0);
36389 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36392 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36394 return Py_BuildValue((char *)"");
36396 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36397 PyObject
*resultobj
;
36398 int arg1
= (int) 1 ;
36399 int arg2
= (int) 0 ;
36400 int arg3
= (int) 0 ;
36401 int arg4
= (int) 0 ;
36402 wxGridSizer
*result
;
36403 PyObject
* obj0
= 0 ;
36404 PyObject
* obj1
= 0 ;
36405 PyObject
* obj2
= 0 ;
36406 PyObject
* obj3
= 0 ;
36407 char *kwnames
[] = {
36408 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36413 arg1
= (int) SWIG_AsInt(obj0
);
36414 if (PyErr_Occurred()) SWIG_fail
;
36417 arg2
= (int) SWIG_AsInt(obj1
);
36418 if (PyErr_Occurred()) SWIG_fail
;
36421 arg3
= (int) SWIG_AsInt(obj2
);
36422 if (PyErr_Occurred()) SWIG_fail
;
36425 arg4
= (int) SWIG_AsInt(obj3
);
36426 if (PyErr_Occurred()) SWIG_fail
;
36429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36430 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36432 wxPyEndAllowThreads(__tstate
);
36433 if (PyErr_Occurred()) SWIG_fail
;
36435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36442 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36443 PyObject
*resultobj
;
36444 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36446 PyObject
* obj0
= 0 ;
36447 PyObject
* obj1
= 0 ;
36448 char *kwnames
[] = {
36449 (char *) "self",(char *) "cols", NULL
36452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36455 arg2
= (int) SWIG_AsInt(obj1
);
36456 if (PyErr_Occurred()) SWIG_fail
;
36458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36459 (arg1
)->SetCols(arg2
);
36461 wxPyEndAllowThreads(__tstate
);
36462 if (PyErr_Occurred()) SWIG_fail
;
36464 Py_INCREF(Py_None
); resultobj
= Py_None
;
36471 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36472 PyObject
*resultobj
;
36473 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36475 PyObject
* obj0
= 0 ;
36476 PyObject
* obj1
= 0 ;
36477 char *kwnames
[] = {
36478 (char *) "self",(char *) "rows", NULL
36481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36484 arg2
= (int) SWIG_AsInt(obj1
);
36485 if (PyErr_Occurred()) SWIG_fail
;
36487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36488 (arg1
)->SetRows(arg2
);
36490 wxPyEndAllowThreads(__tstate
);
36491 if (PyErr_Occurred()) SWIG_fail
;
36493 Py_INCREF(Py_None
); resultobj
= Py_None
;
36500 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36501 PyObject
*resultobj
;
36502 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36504 PyObject
* obj0
= 0 ;
36505 PyObject
* obj1
= 0 ;
36506 char *kwnames
[] = {
36507 (char *) "self",(char *) "gap", NULL
36510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36513 arg2
= (int) SWIG_AsInt(obj1
);
36514 if (PyErr_Occurred()) SWIG_fail
;
36516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36517 (arg1
)->SetVGap(arg2
);
36519 wxPyEndAllowThreads(__tstate
);
36520 if (PyErr_Occurred()) SWIG_fail
;
36522 Py_INCREF(Py_None
); resultobj
= Py_None
;
36529 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36530 PyObject
*resultobj
;
36531 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36533 PyObject
* obj0
= 0 ;
36534 PyObject
* obj1
= 0 ;
36535 char *kwnames
[] = {
36536 (char *) "self",(char *) "gap", NULL
36539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36542 arg2
= (int) SWIG_AsInt(obj1
);
36543 if (PyErr_Occurred()) SWIG_fail
;
36545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36546 (arg1
)->SetHGap(arg2
);
36548 wxPyEndAllowThreads(__tstate
);
36549 if (PyErr_Occurred()) SWIG_fail
;
36551 Py_INCREF(Py_None
); resultobj
= Py_None
;
36558 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36559 PyObject
*resultobj
;
36560 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36562 PyObject
* obj0
= 0 ;
36563 char *kwnames
[] = {
36564 (char *) "self", NULL
36567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36572 result
= (int)(arg1
)->GetCols();
36574 wxPyEndAllowThreads(__tstate
);
36575 if (PyErr_Occurred()) SWIG_fail
;
36577 resultobj
= SWIG_FromInt((int)result
);
36584 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36585 PyObject
*resultobj
;
36586 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36588 PyObject
* obj0
= 0 ;
36589 char *kwnames
[] = {
36590 (char *) "self", NULL
36593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36598 result
= (int)(arg1
)->GetRows();
36600 wxPyEndAllowThreads(__tstate
);
36601 if (PyErr_Occurred()) SWIG_fail
;
36603 resultobj
= SWIG_FromInt((int)result
);
36610 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36611 PyObject
*resultobj
;
36612 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36614 PyObject
* obj0
= 0 ;
36615 char *kwnames
[] = {
36616 (char *) "self", NULL
36619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36624 result
= (int)(arg1
)->GetVGap();
36626 wxPyEndAllowThreads(__tstate
);
36627 if (PyErr_Occurred()) SWIG_fail
;
36629 resultobj
= SWIG_FromInt((int)result
);
36636 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36637 PyObject
*resultobj
;
36638 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36640 PyObject
* obj0
= 0 ;
36641 char *kwnames
[] = {
36642 (char *) "self", NULL
36645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36650 result
= (int)(arg1
)->GetHGap();
36652 wxPyEndAllowThreads(__tstate
);
36653 if (PyErr_Occurred()) SWIG_fail
;
36655 resultobj
= SWIG_FromInt((int)result
);
36662 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36665 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36667 return Py_BuildValue((char *)"");
36669 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36670 PyObject
*resultobj
;
36671 int arg1
= (int) 1 ;
36672 int arg2
= (int) 0 ;
36673 int arg3
= (int) 0 ;
36674 int arg4
= (int) 0 ;
36675 wxFlexGridSizer
*result
;
36676 PyObject
* obj0
= 0 ;
36677 PyObject
* obj1
= 0 ;
36678 PyObject
* obj2
= 0 ;
36679 PyObject
* obj3
= 0 ;
36680 char *kwnames
[] = {
36681 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36686 arg1
= (int) SWIG_AsInt(obj0
);
36687 if (PyErr_Occurred()) SWIG_fail
;
36690 arg2
= (int) SWIG_AsInt(obj1
);
36691 if (PyErr_Occurred()) SWIG_fail
;
36694 arg3
= (int) SWIG_AsInt(obj2
);
36695 if (PyErr_Occurred()) SWIG_fail
;
36698 arg4
= (int) SWIG_AsInt(obj3
);
36699 if (PyErr_Occurred()) SWIG_fail
;
36702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36703 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36705 wxPyEndAllowThreads(__tstate
);
36706 if (PyErr_Occurred()) SWIG_fail
;
36708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36715 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36716 PyObject
*resultobj
;
36717 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36719 int arg3
= (int) 0 ;
36720 PyObject
* obj0
= 0 ;
36721 PyObject
* obj1
= 0 ;
36722 PyObject
* obj2
= 0 ;
36723 char *kwnames
[] = {
36724 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36730 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36731 if (PyErr_Occurred()) SWIG_fail
;
36733 arg3
= (int) SWIG_AsInt(obj2
);
36734 if (PyErr_Occurred()) SWIG_fail
;
36737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36738 (arg1
)->AddGrowableRow(arg2
,arg3
);
36740 wxPyEndAllowThreads(__tstate
);
36741 if (PyErr_Occurred()) SWIG_fail
;
36743 Py_INCREF(Py_None
); resultobj
= Py_None
;
36750 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36751 PyObject
*resultobj
;
36752 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36754 PyObject
* obj0
= 0 ;
36755 PyObject
* obj1
= 0 ;
36756 char *kwnames
[] = {
36757 (char *) "self",(char *) "idx", NULL
36760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36763 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36764 if (PyErr_Occurred()) SWIG_fail
;
36766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36767 (arg1
)->RemoveGrowableRow(arg2
);
36769 wxPyEndAllowThreads(__tstate
);
36770 if (PyErr_Occurred()) SWIG_fail
;
36772 Py_INCREF(Py_None
); resultobj
= Py_None
;
36779 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36780 PyObject
*resultobj
;
36781 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36783 int arg3
= (int) 0 ;
36784 PyObject
* obj0
= 0 ;
36785 PyObject
* obj1
= 0 ;
36786 PyObject
* obj2
= 0 ;
36787 char *kwnames
[] = {
36788 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36794 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36795 if (PyErr_Occurred()) SWIG_fail
;
36797 arg3
= (int) SWIG_AsInt(obj2
);
36798 if (PyErr_Occurred()) SWIG_fail
;
36801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36802 (arg1
)->AddGrowableCol(arg2
,arg3
);
36804 wxPyEndAllowThreads(__tstate
);
36805 if (PyErr_Occurred()) SWIG_fail
;
36807 Py_INCREF(Py_None
); resultobj
= Py_None
;
36814 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36815 PyObject
*resultobj
;
36816 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36818 PyObject
* obj0
= 0 ;
36819 PyObject
* obj1
= 0 ;
36820 char *kwnames
[] = {
36821 (char *) "self",(char *) "idx", NULL
36824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36827 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36828 if (PyErr_Occurred()) SWIG_fail
;
36830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36831 (arg1
)->RemoveGrowableCol(arg2
);
36833 wxPyEndAllowThreads(__tstate
);
36834 if (PyErr_Occurred()) SWIG_fail
;
36836 Py_INCREF(Py_None
); resultobj
= Py_None
;
36843 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36844 PyObject
*resultobj
;
36845 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36847 PyObject
* obj0
= 0 ;
36848 PyObject
* obj1
= 0 ;
36849 char *kwnames
[] = {
36850 (char *) "self",(char *) "direction", NULL
36853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36856 arg2
= (int) SWIG_AsInt(obj1
);
36857 if (PyErr_Occurred()) SWIG_fail
;
36859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36860 (arg1
)->SetFlexibleDirection(arg2
);
36862 wxPyEndAllowThreads(__tstate
);
36863 if (PyErr_Occurred()) SWIG_fail
;
36865 Py_INCREF(Py_None
); resultobj
= Py_None
;
36872 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36873 PyObject
*resultobj
;
36874 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36876 PyObject
* obj0
= 0 ;
36877 char *kwnames
[] = {
36878 (char *) "self", NULL
36881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36886 result
= (int)(arg1
)->GetFlexibleDirection();
36888 wxPyEndAllowThreads(__tstate
);
36889 if (PyErr_Occurred()) SWIG_fail
;
36891 resultobj
= SWIG_FromInt((int)result
);
36898 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36899 PyObject
*resultobj
;
36900 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36902 PyObject
* obj0
= 0 ;
36903 PyObject
* obj1
= 0 ;
36904 char *kwnames
[] = {
36905 (char *) "self",(char *) "mode", NULL
36908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36911 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36912 if (PyErr_Occurred()) SWIG_fail
;
36914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36915 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36917 wxPyEndAllowThreads(__tstate
);
36918 if (PyErr_Occurred()) SWIG_fail
;
36920 Py_INCREF(Py_None
); resultobj
= Py_None
;
36927 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36928 PyObject
*resultobj
;
36929 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36931 PyObject
* obj0
= 0 ;
36932 char *kwnames
[] = {
36933 (char *) "self", NULL
36936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36941 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36943 wxPyEndAllowThreads(__tstate
);
36944 if (PyErr_Occurred()) SWIG_fail
;
36946 resultobj
= SWIG_FromInt((int)result
);
36953 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36954 PyObject
*resultobj
;
36955 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36956 wxArrayInt
*result
;
36957 PyObject
* obj0
= 0 ;
36958 char *kwnames
[] = {
36959 (char *) "self", NULL
36962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36968 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36969 result
= (wxArrayInt
*) &_result_ref
;
36972 wxPyEndAllowThreads(__tstate
);
36973 if (PyErr_Occurred()) SWIG_fail
;
36976 resultobj
= PyList_New(0);
36978 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36979 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36980 PyList_Append(resultobj
, val
);
36990 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36991 PyObject
*resultobj
;
36992 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36993 wxArrayInt
*result
;
36994 PyObject
* obj0
= 0 ;
36995 char *kwnames
[] = {
36996 (char *) "self", NULL
36999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37005 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37006 result
= (wxArrayInt
*) &_result_ref
;
37009 wxPyEndAllowThreads(__tstate
);
37010 if (PyErr_Occurred()) SWIG_fail
;
37013 resultobj
= PyList_New(0);
37015 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37016 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37017 PyList_Append(resultobj
, val
);
37027 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37030 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37032 return Py_BuildValue((char *)"");
37034 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37035 PyObject
*resultobj
;
37036 int arg1
= (int) 0 ;
37037 int arg2
= (int) 0 ;
37038 wxGBPosition
*result
;
37039 PyObject
* obj0
= 0 ;
37040 PyObject
* obj1
= 0 ;
37041 char *kwnames
[] = {
37042 (char *) "row",(char *) "col", NULL
37045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37047 arg1
= (int) SWIG_AsInt(obj0
);
37048 if (PyErr_Occurred()) SWIG_fail
;
37051 arg2
= (int) SWIG_AsInt(obj1
);
37052 if (PyErr_Occurred()) SWIG_fail
;
37055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37056 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37058 wxPyEndAllowThreads(__tstate
);
37059 if (PyErr_Occurred()) SWIG_fail
;
37061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37068 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37069 PyObject
*resultobj
;
37070 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37072 PyObject
* obj0
= 0 ;
37073 char *kwnames
[] = {
37074 (char *) "self", NULL
37077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37082 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37084 wxPyEndAllowThreads(__tstate
);
37085 if (PyErr_Occurred()) SWIG_fail
;
37087 resultobj
= SWIG_FromInt((int)result
);
37094 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37095 PyObject
*resultobj
;
37096 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37098 PyObject
* obj0
= 0 ;
37099 char *kwnames
[] = {
37100 (char *) "self", NULL
37103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37108 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37110 wxPyEndAllowThreads(__tstate
);
37111 if (PyErr_Occurred()) SWIG_fail
;
37113 resultobj
= SWIG_FromInt((int)result
);
37120 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37121 PyObject
*resultobj
;
37122 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37124 PyObject
* obj0
= 0 ;
37125 PyObject
* obj1
= 0 ;
37126 char *kwnames
[] = {
37127 (char *) "self",(char *) "row", NULL
37130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37133 arg2
= (int) SWIG_AsInt(obj1
);
37134 if (PyErr_Occurred()) SWIG_fail
;
37136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37137 (arg1
)->SetRow(arg2
);
37139 wxPyEndAllowThreads(__tstate
);
37140 if (PyErr_Occurred()) SWIG_fail
;
37142 Py_INCREF(Py_None
); resultobj
= Py_None
;
37149 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37150 PyObject
*resultobj
;
37151 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37153 PyObject
* obj0
= 0 ;
37154 PyObject
* obj1
= 0 ;
37155 char *kwnames
[] = {
37156 (char *) "self",(char *) "col", NULL
37159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37162 arg2
= (int) SWIG_AsInt(obj1
);
37163 if (PyErr_Occurred()) SWIG_fail
;
37165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37166 (arg1
)->SetCol(arg2
);
37168 wxPyEndAllowThreads(__tstate
);
37169 if (PyErr_Occurred()) SWIG_fail
;
37171 Py_INCREF(Py_None
); resultobj
= Py_None
;
37178 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37179 PyObject
*resultobj
;
37180 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37181 wxGBPosition
*arg2
= 0 ;
37183 wxGBPosition temp2
;
37184 PyObject
* obj0
= 0 ;
37185 PyObject
* obj1
= 0 ;
37186 char *kwnames
[] = {
37187 (char *) "self",(char *) "other", NULL
37190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37195 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37199 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37201 wxPyEndAllowThreads(__tstate
);
37202 if (PyErr_Occurred()) SWIG_fail
;
37205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37213 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37214 PyObject
*resultobj
;
37215 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37216 wxGBPosition
*arg2
= 0 ;
37218 wxGBPosition temp2
;
37219 PyObject
* obj0
= 0 ;
37220 PyObject
* obj1
= 0 ;
37221 char *kwnames
[] = {
37222 (char *) "self",(char *) "other", NULL
37225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37230 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37234 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37236 wxPyEndAllowThreads(__tstate
);
37237 if (PyErr_Occurred()) SWIG_fail
;
37240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37248 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37249 PyObject
*resultobj
;
37250 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37251 int arg2
= (int) 0 ;
37252 int arg3
= (int) 0 ;
37253 PyObject
* obj0
= 0 ;
37254 PyObject
* obj1
= 0 ;
37255 PyObject
* obj2
= 0 ;
37256 char *kwnames
[] = {
37257 (char *) "self",(char *) "row",(char *) "col", NULL
37260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37264 arg2
= (int) SWIG_AsInt(obj1
);
37265 if (PyErr_Occurred()) SWIG_fail
;
37268 arg3
= (int) SWIG_AsInt(obj2
);
37269 if (PyErr_Occurred()) SWIG_fail
;
37272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37273 wxGBPosition_Set(arg1
,arg2
,arg3
);
37275 wxPyEndAllowThreads(__tstate
);
37276 if (PyErr_Occurred()) SWIG_fail
;
37278 Py_INCREF(Py_None
); resultobj
= Py_None
;
37285 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37286 PyObject
*resultobj
;
37287 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37289 PyObject
* obj0
= 0 ;
37290 char *kwnames
[] = {
37291 (char *) "self", NULL
37294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37299 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37301 wxPyEndAllowThreads(__tstate
);
37302 if (PyErr_Occurred()) SWIG_fail
;
37304 resultobj
= result
;
37311 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
37313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37314 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37316 return Py_BuildValue((char *)"");
37318 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37319 PyObject
*resultobj
;
37320 int arg1
= (int) 1 ;
37321 int arg2
= (int) 1 ;
37323 PyObject
* obj0
= 0 ;
37324 PyObject
* obj1
= 0 ;
37325 char *kwnames
[] = {
37326 (char *) "rowspan",(char *) "colspan", NULL
37329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37331 arg1
= (int) SWIG_AsInt(obj0
);
37332 if (PyErr_Occurred()) SWIG_fail
;
37335 arg2
= (int) SWIG_AsInt(obj1
);
37336 if (PyErr_Occurred()) SWIG_fail
;
37339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37340 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37342 wxPyEndAllowThreads(__tstate
);
37343 if (PyErr_Occurred()) SWIG_fail
;
37345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37352 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37353 PyObject
*resultobj
;
37354 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37356 PyObject
* obj0
= 0 ;
37357 char *kwnames
[] = {
37358 (char *) "self", NULL
37361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37366 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37368 wxPyEndAllowThreads(__tstate
);
37369 if (PyErr_Occurred()) SWIG_fail
;
37371 resultobj
= SWIG_FromInt((int)result
);
37378 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37379 PyObject
*resultobj
;
37380 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37382 PyObject
* obj0
= 0 ;
37383 char *kwnames
[] = {
37384 (char *) "self", NULL
37387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37392 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37394 wxPyEndAllowThreads(__tstate
);
37395 if (PyErr_Occurred()) SWIG_fail
;
37397 resultobj
= SWIG_FromInt((int)result
);
37404 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37405 PyObject
*resultobj
;
37406 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37408 PyObject
* obj0
= 0 ;
37409 PyObject
* obj1
= 0 ;
37410 char *kwnames
[] = {
37411 (char *) "self",(char *) "rowspan", NULL
37414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37417 arg2
= (int) SWIG_AsInt(obj1
);
37418 if (PyErr_Occurred()) SWIG_fail
;
37420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37421 (arg1
)->SetRowspan(arg2
);
37423 wxPyEndAllowThreads(__tstate
);
37424 if (PyErr_Occurred()) SWIG_fail
;
37426 Py_INCREF(Py_None
); resultobj
= Py_None
;
37433 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37434 PyObject
*resultobj
;
37435 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37437 PyObject
* obj0
= 0 ;
37438 PyObject
* obj1
= 0 ;
37439 char *kwnames
[] = {
37440 (char *) "self",(char *) "colspan", NULL
37443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37446 arg2
= (int) SWIG_AsInt(obj1
);
37447 if (PyErr_Occurred()) SWIG_fail
;
37449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37450 (arg1
)->SetColspan(arg2
);
37452 wxPyEndAllowThreads(__tstate
);
37453 if (PyErr_Occurred()) SWIG_fail
;
37455 Py_INCREF(Py_None
); resultobj
= Py_None
;
37462 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37463 PyObject
*resultobj
;
37464 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37465 wxGBSpan
*arg2
= 0 ;
37468 PyObject
* obj0
= 0 ;
37469 PyObject
* obj1
= 0 ;
37470 char *kwnames
[] = {
37471 (char *) "self",(char *) "other", NULL
37474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37479 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37483 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37485 wxPyEndAllowThreads(__tstate
);
37486 if (PyErr_Occurred()) SWIG_fail
;
37489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37497 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37498 PyObject
*resultobj
;
37499 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37500 wxGBSpan
*arg2
= 0 ;
37503 PyObject
* obj0
= 0 ;
37504 PyObject
* obj1
= 0 ;
37505 char *kwnames
[] = {
37506 (char *) "self",(char *) "other", NULL
37509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37514 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37518 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37520 wxPyEndAllowThreads(__tstate
);
37521 if (PyErr_Occurred()) SWIG_fail
;
37524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37532 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37533 PyObject
*resultobj
;
37534 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37535 int arg2
= (int) 1 ;
37536 int arg3
= (int) 1 ;
37537 PyObject
* obj0
= 0 ;
37538 PyObject
* obj1
= 0 ;
37539 PyObject
* obj2
= 0 ;
37540 char *kwnames
[] = {
37541 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37548 arg2
= (int) SWIG_AsInt(obj1
);
37549 if (PyErr_Occurred()) SWIG_fail
;
37552 arg3
= (int) SWIG_AsInt(obj2
);
37553 if (PyErr_Occurred()) SWIG_fail
;
37556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37557 wxGBSpan_Set(arg1
,arg2
,arg3
);
37559 wxPyEndAllowThreads(__tstate
);
37560 if (PyErr_Occurred()) SWIG_fail
;
37562 Py_INCREF(Py_None
); resultobj
= Py_None
;
37569 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37570 PyObject
*resultobj
;
37571 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37573 PyObject
* obj0
= 0 ;
37574 char *kwnames
[] = {
37575 (char *) "self", NULL
37578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37583 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37585 wxPyEndAllowThreads(__tstate
);
37586 if (PyErr_Occurred()) SWIG_fail
;
37588 resultobj
= result
;
37595 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37598 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37600 return Py_BuildValue((char *)"");
37602 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37603 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37608 static PyObject
*_wrap_DefaultSpan_get() {
37611 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37616 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37617 PyObject
*resultobj
;
37618 wxGBSizerItem
*result
;
37619 char *kwnames
[] = {
37623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37626 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37628 wxPyEndAllowThreads(__tstate
);
37629 if (PyErr_Occurred()) SWIG_fail
;
37631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37638 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37639 PyObject
*resultobj
;
37640 wxWindow
*arg1
= (wxWindow
*) 0 ;
37641 wxGBPosition
*arg2
= 0 ;
37642 wxGBSpan
*arg3
= 0 ;
37645 PyObject
*arg6
= (PyObject
*) NULL
;
37646 wxGBSizerItem
*result
;
37647 wxGBPosition temp2
;
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 char *kwnames
[] = {
37656 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37664 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37668 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37670 arg4
= (int) SWIG_AsInt(obj3
);
37671 if (PyErr_Occurred()) SWIG_fail
;
37672 arg5
= (int) SWIG_AsInt(obj4
);
37673 if (PyErr_Occurred()) SWIG_fail
;
37678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37679 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37681 wxPyEndAllowThreads(__tstate
);
37682 if (PyErr_Occurred()) SWIG_fail
;
37684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37691 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37692 PyObject
*resultobj
;
37693 wxSizer
*arg1
= (wxSizer
*) 0 ;
37694 wxGBPosition
*arg2
= 0 ;
37695 wxGBSpan
*arg3
= 0 ;
37698 PyObject
*arg6
= (PyObject
*) NULL
;
37699 wxGBSizerItem
*result
;
37700 wxGBPosition temp2
;
37702 PyObject
* obj0
= 0 ;
37703 PyObject
* obj1
= 0 ;
37704 PyObject
* obj2
= 0 ;
37705 PyObject
* obj3
= 0 ;
37706 PyObject
* obj4
= 0 ;
37707 PyObject
* obj5
= 0 ;
37708 char *kwnames
[] = {
37709 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37717 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37721 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37723 arg4
= (int) SWIG_AsInt(obj3
);
37724 if (PyErr_Occurred()) SWIG_fail
;
37725 arg5
= (int) SWIG_AsInt(obj4
);
37726 if (PyErr_Occurred()) SWIG_fail
;
37731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37732 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37734 wxPyEndAllowThreads(__tstate
);
37735 if (PyErr_Occurred()) SWIG_fail
;
37737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37744 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37745 PyObject
*resultobj
;
37748 wxGBPosition
*arg3
= 0 ;
37749 wxGBSpan
*arg4
= 0 ;
37752 PyObject
*arg7
= (PyObject
*) NULL
;
37753 wxGBSizerItem
*result
;
37754 wxGBPosition temp3
;
37756 PyObject
* obj0
= 0 ;
37757 PyObject
* obj1
= 0 ;
37758 PyObject
* obj2
= 0 ;
37759 PyObject
* obj3
= 0 ;
37760 PyObject
* obj4
= 0 ;
37761 PyObject
* obj5
= 0 ;
37762 PyObject
* obj6
= 0 ;
37763 char *kwnames
[] = {
37764 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37768 arg1
= (int) SWIG_AsInt(obj0
);
37769 if (PyErr_Occurred()) SWIG_fail
;
37770 arg2
= (int) SWIG_AsInt(obj1
);
37771 if (PyErr_Occurred()) SWIG_fail
;
37774 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37778 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37780 arg5
= (int) SWIG_AsInt(obj4
);
37781 if (PyErr_Occurred()) SWIG_fail
;
37782 arg6
= (int) SWIG_AsInt(obj5
);
37783 if (PyErr_Occurred()) SWIG_fail
;
37788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37789 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37791 wxPyEndAllowThreads(__tstate
);
37792 if (PyErr_Occurred()) SWIG_fail
;
37794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37801 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37802 PyObject
*resultobj
;
37803 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37804 wxGBPosition result
;
37805 PyObject
* obj0
= 0 ;
37806 char *kwnames
[] = {
37807 (char *) "self", NULL
37810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37815 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37817 wxPyEndAllowThreads(__tstate
);
37818 if (PyErr_Occurred()) SWIG_fail
;
37821 wxGBPosition
* resultptr
;
37822 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37831 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37832 PyObject
*resultobj
;
37833 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37835 PyObject
* obj0
= 0 ;
37836 char *kwnames
[] = {
37837 (char *) "self", NULL
37840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37845 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37847 wxPyEndAllowThreads(__tstate
);
37848 if (PyErr_Occurred()) SWIG_fail
;
37851 wxGBSpan
* resultptr
;
37852 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37861 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37862 PyObject
*resultobj
;
37863 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37864 wxGBPosition
*arg2
= 0 ;
37866 wxGBPosition temp2
;
37867 PyObject
* obj0
= 0 ;
37868 PyObject
* obj1
= 0 ;
37869 char *kwnames
[] = {
37870 (char *) "self",(char *) "pos", NULL
37873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37878 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37882 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37884 wxPyEndAllowThreads(__tstate
);
37885 if (PyErr_Occurred()) SWIG_fail
;
37888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37896 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37897 PyObject
*resultobj
;
37898 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37899 wxGBSpan
*arg2
= 0 ;
37902 PyObject
* obj0
= 0 ;
37903 PyObject
* obj1
= 0 ;
37904 char *kwnames
[] = {
37905 (char *) "self",(char *) "span", NULL
37908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37913 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37917 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37919 wxPyEndAllowThreads(__tstate
);
37920 if (PyErr_Occurred()) SWIG_fail
;
37923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37931 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37932 PyObject
*resultobj
;
37933 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37934 wxGBSizerItem
*arg2
= 0 ;
37936 PyObject
* obj0
= 0 ;
37937 PyObject
* obj1
= 0 ;
37938 char *kwnames
[] = {
37939 (char *) "self",(char *) "other", NULL
37942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
37943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37948 if (arg2
== NULL
) {
37949 PyErr_SetString(PyExc_TypeError
,"null reference");
37953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37954 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37956 wxPyEndAllowThreads(__tstate
);
37957 if (PyErr_Occurred()) SWIG_fail
;
37960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37968 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37969 PyObject
*resultobj
;
37970 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37971 wxGBPosition
*arg2
= 0 ;
37972 wxGBSpan
*arg3
= 0 ;
37974 wxGBPosition temp2
;
37976 PyObject
* obj0
= 0 ;
37977 PyObject
* obj1
= 0 ;
37978 PyObject
* obj2
= 0 ;
37979 char *kwnames
[] = {
37980 (char *) "self",(char *) "pos",(char *) "span", NULL
37983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37988 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37992 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37996 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37998 wxPyEndAllowThreads(__tstate
);
37999 if (PyErr_Occurred()) SWIG_fail
;
38002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38010 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38011 PyObject
*resultobj
;
38012 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38013 wxGBPosition result
;
38014 PyObject
* obj0
= 0 ;
38015 char *kwnames
[] = {
38016 (char *) "self", NULL
38019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38024 result
= wxGBSizerItem_GetEndPos(arg1
);
38026 wxPyEndAllowThreads(__tstate
);
38027 if (PyErr_Occurred()) SWIG_fail
;
38030 wxGBPosition
* resultptr
;
38031 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38040 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38041 PyObject
*resultobj
;
38042 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38043 wxGridBagSizer
*result
;
38044 PyObject
* obj0
= 0 ;
38045 char *kwnames
[] = {
38046 (char *) "self", NULL
38049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38054 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38056 wxPyEndAllowThreads(__tstate
);
38057 if (PyErr_Occurred()) SWIG_fail
;
38059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38066 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38067 PyObject
*resultobj
;
38068 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38069 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38070 PyObject
* obj0
= 0 ;
38071 PyObject
* obj1
= 0 ;
38072 char *kwnames
[] = {
38073 (char *) "self",(char *) "sizer", NULL
38076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38083 (arg1
)->SetGBSizer(arg2
);
38085 wxPyEndAllowThreads(__tstate
);
38086 if (PyErr_Occurred()) SWIG_fail
;
38088 Py_INCREF(Py_None
); resultobj
= Py_None
;
38095 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
38097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38098 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38100 return Py_BuildValue((char *)"");
38102 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38103 PyObject
*resultobj
;
38104 int arg1
= (int) 0 ;
38105 int arg2
= (int) 0 ;
38106 wxGridBagSizer
*result
;
38107 PyObject
* obj0
= 0 ;
38108 PyObject
* obj1
= 0 ;
38109 char *kwnames
[] = {
38110 (char *) "vgap",(char *) "hgap", NULL
38113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38115 arg1
= (int) SWIG_AsInt(obj0
);
38116 if (PyErr_Occurred()) SWIG_fail
;
38119 arg2
= (int) SWIG_AsInt(obj1
);
38120 if (PyErr_Occurred()) SWIG_fail
;
38123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38124 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38126 wxPyEndAllowThreads(__tstate
);
38127 if (PyErr_Occurred()) SWIG_fail
;
38129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38136 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38137 PyObject
*resultobj
;
38138 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38139 PyObject
*arg2
= (PyObject
*) 0 ;
38140 wxGBPosition
*arg3
= 0 ;
38141 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38142 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38143 int arg5
= (int) 0 ;
38144 int arg6
= (int) 0 ;
38145 PyObject
*arg7
= (PyObject
*) NULL
;
38147 wxGBPosition temp3
;
38149 PyObject
* obj0
= 0 ;
38150 PyObject
* obj1
= 0 ;
38151 PyObject
* obj2
= 0 ;
38152 PyObject
* obj3
= 0 ;
38153 PyObject
* obj4
= 0 ;
38154 PyObject
* obj5
= 0 ;
38155 PyObject
* obj6
= 0 ;
38156 char *kwnames
[] = {
38157 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38166 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38171 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38175 arg5
= (int) SWIG_AsInt(obj4
);
38176 if (PyErr_Occurred()) SWIG_fail
;
38179 arg6
= (int) SWIG_AsInt(obj5
);
38180 if (PyErr_Occurred()) SWIG_fail
;
38186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38187 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38189 wxPyEndAllowThreads(__tstate
);
38190 if (PyErr_Occurred()) SWIG_fail
;
38193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38201 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38202 PyObject
*resultobj
;
38203 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38204 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38206 PyObject
* obj0
= 0 ;
38207 PyObject
* obj1
= 0 ;
38208 char *kwnames
[] = {
38209 (char *) "self",(char *) "item", NULL
38212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38219 result
= (bool)(arg1
)->Add(arg2
);
38221 wxPyEndAllowThreads(__tstate
);
38222 if (PyErr_Occurred()) SWIG_fail
;
38225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38233 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38234 PyObject
*resultobj
;
38235 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38237 PyObject
* obj0
= 0 ;
38238 char *kwnames
[] = {
38239 (char *) "self", NULL
38242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38247 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38249 wxPyEndAllowThreads(__tstate
);
38250 if (PyErr_Occurred()) SWIG_fail
;
38253 wxSize
* resultptr
;
38254 resultptr
= new wxSize((wxSize
&) result
);
38255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38263 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38264 PyObject
*resultobj
;
38265 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38268 PyObject
* obj0
= 0 ;
38269 PyObject
* obj1
= 0 ;
38270 char *kwnames
[] = {
38271 (char *) "self",(char *) "sz", NULL
38274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38279 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38283 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38285 wxPyEndAllowThreads(__tstate
);
38286 if (PyErr_Occurred()) SWIG_fail
;
38288 Py_INCREF(Py_None
); resultobj
= Py_None
;
38295 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38296 PyObject
*resultobj
;
38297 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38298 wxWindow
*arg2
= (wxWindow
*) 0 ;
38299 wxGBPosition result
;
38300 PyObject
* obj0
= 0 ;
38301 PyObject
* obj1
= 0 ;
38303 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38310 result
= (arg1
)->GetItemPosition(arg2
);
38312 wxPyEndAllowThreads(__tstate
);
38313 if (PyErr_Occurred()) SWIG_fail
;
38316 wxGBPosition
* resultptr
;
38317 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38326 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38327 PyObject
*resultobj
;
38328 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38329 wxSizer
*arg2
= (wxSizer
*) 0 ;
38330 wxGBPosition result
;
38331 PyObject
* obj0
= 0 ;
38332 PyObject
* obj1
= 0 ;
38334 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38341 result
= (arg1
)->GetItemPosition(arg2
);
38343 wxPyEndAllowThreads(__tstate
);
38344 if (PyErr_Occurred()) SWIG_fail
;
38347 wxGBPosition
* resultptr
;
38348 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38357 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38358 PyObject
*resultobj
;
38359 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38361 wxGBPosition result
;
38362 PyObject
* obj0
= 0 ;
38363 PyObject
* obj1
= 0 ;
38365 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38368 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38369 if (PyErr_Occurred()) SWIG_fail
;
38371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38372 result
= (arg1
)->GetItemPosition(arg2
);
38374 wxPyEndAllowThreads(__tstate
);
38375 if (PyErr_Occurred()) SWIG_fail
;
38378 wxGBPosition
* resultptr
;
38379 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38388 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38393 argc
= PyObject_Length(args
);
38394 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38395 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38401 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38411 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38419 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38427 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38437 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38445 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38453 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38461 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38463 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38468 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38473 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38474 PyObject
*resultobj
;
38475 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38476 wxWindow
*arg2
= (wxWindow
*) 0 ;
38477 wxGBPosition
*arg3
= 0 ;
38479 wxGBPosition temp3
;
38480 PyObject
* obj0
= 0 ;
38481 PyObject
* obj1
= 0 ;
38482 PyObject
* obj2
= 0 ;
38484 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38491 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38495 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38497 wxPyEndAllowThreads(__tstate
);
38498 if (PyErr_Occurred()) SWIG_fail
;
38501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38509 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38510 PyObject
*resultobj
;
38511 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38512 wxSizer
*arg2
= (wxSizer
*) 0 ;
38513 wxGBPosition
*arg3
= 0 ;
38515 wxGBPosition temp3
;
38516 PyObject
* obj0
= 0 ;
38517 PyObject
* obj1
= 0 ;
38518 PyObject
* obj2
= 0 ;
38520 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38527 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38531 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38533 wxPyEndAllowThreads(__tstate
);
38534 if (PyErr_Occurred()) SWIG_fail
;
38537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38545 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38546 PyObject
*resultobj
;
38547 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38549 wxGBPosition
*arg3
= 0 ;
38551 wxGBPosition temp3
;
38552 PyObject
* obj0
= 0 ;
38553 PyObject
* obj1
= 0 ;
38554 PyObject
* obj2
= 0 ;
38556 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38559 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38560 if (PyErr_Occurred()) SWIG_fail
;
38563 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38567 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38569 wxPyEndAllowThreads(__tstate
);
38570 if (PyErr_Occurred()) SWIG_fail
;
38573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38581 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38586 argc
= PyObject_Length(args
);
38587 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38588 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38594 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38604 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38613 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38616 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38625 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38635 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38644 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38647 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38656 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38664 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38667 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38670 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38676 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38681 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38682 PyObject
*resultobj
;
38683 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38684 wxWindow
*arg2
= (wxWindow
*) 0 ;
38686 PyObject
* obj0
= 0 ;
38687 PyObject
* obj1
= 0 ;
38689 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38696 result
= (arg1
)->GetItemSpan(arg2
);
38698 wxPyEndAllowThreads(__tstate
);
38699 if (PyErr_Occurred()) SWIG_fail
;
38702 wxGBSpan
* resultptr
;
38703 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38712 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38713 PyObject
*resultobj
;
38714 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38715 wxSizer
*arg2
= (wxSizer
*) 0 ;
38717 PyObject
* obj0
= 0 ;
38718 PyObject
* obj1
= 0 ;
38720 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38727 result
= (arg1
)->GetItemSpan(arg2
);
38729 wxPyEndAllowThreads(__tstate
);
38730 if (PyErr_Occurred()) SWIG_fail
;
38733 wxGBSpan
* resultptr
;
38734 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38743 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38744 PyObject
*resultobj
;
38745 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38748 PyObject
* obj0
= 0 ;
38749 PyObject
* obj1
= 0 ;
38751 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38754 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38755 if (PyErr_Occurred()) SWIG_fail
;
38757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38758 result
= (arg1
)->GetItemSpan(arg2
);
38760 wxPyEndAllowThreads(__tstate
);
38761 if (PyErr_Occurred()) SWIG_fail
;
38764 wxGBSpan
* resultptr
;
38765 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38774 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38779 argc
= PyObject_Length(args
);
38780 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38781 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38787 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38797 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38805 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38813 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38823 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38831 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38839 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38847 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38849 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38854 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38859 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38860 PyObject
*resultobj
;
38861 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38862 wxWindow
*arg2
= (wxWindow
*) 0 ;
38863 wxGBSpan
*arg3
= 0 ;
38866 PyObject
* obj0
= 0 ;
38867 PyObject
* obj1
= 0 ;
38868 PyObject
* obj2
= 0 ;
38870 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38877 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38881 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38883 wxPyEndAllowThreads(__tstate
);
38884 if (PyErr_Occurred()) SWIG_fail
;
38887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38895 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38896 PyObject
*resultobj
;
38897 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38898 wxSizer
*arg2
= (wxSizer
*) 0 ;
38899 wxGBSpan
*arg3
= 0 ;
38902 PyObject
* obj0
= 0 ;
38903 PyObject
* obj1
= 0 ;
38904 PyObject
* obj2
= 0 ;
38906 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38913 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38917 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38919 wxPyEndAllowThreads(__tstate
);
38920 if (PyErr_Occurred()) SWIG_fail
;
38923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38931 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38932 PyObject
*resultobj
;
38933 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38935 wxGBSpan
*arg3
= 0 ;
38938 PyObject
* obj0
= 0 ;
38939 PyObject
* obj1
= 0 ;
38940 PyObject
* obj2
= 0 ;
38942 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38945 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38946 if (PyErr_Occurred()) SWIG_fail
;
38949 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38953 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38955 wxPyEndAllowThreads(__tstate
);
38956 if (PyErr_Occurred()) SWIG_fail
;
38959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38967 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38972 argc
= PyObject_Length(args
);
38973 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38974 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38980 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38990 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38999 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39002 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39011 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39021 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39030 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39033 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39042 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39050 _v
= SWIG_CheckUnsignedLong(argv
[1]);
39053 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39056 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39062 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39067 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
39068 PyObject
*resultobj
;
39069 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39070 wxWindow
*arg2
= (wxWindow
*) 0 ;
39071 wxGBSizerItem
*result
;
39072 PyObject
* obj0
= 0 ;
39073 PyObject
* obj1
= 0 ;
39075 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39082 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39084 wxPyEndAllowThreads(__tstate
);
39085 if (PyErr_Occurred()) SWIG_fail
;
39087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39094 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
39095 PyObject
*resultobj
;
39096 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39097 wxSizer
*arg2
= (wxSizer
*) 0 ;
39098 wxGBSizerItem
*result
;
39099 PyObject
* obj0
= 0 ;
39100 PyObject
* obj1
= 0 ;
39102 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39109 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39111 wxPyEndAllowThreads(__tstate
);
39112 if (PyErr_Occurred()) SWIG_fail
;
39114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39121 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39126 argc
= PyObject_Length(args
);
39127 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39128 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39134 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39144 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39152 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39160 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39170 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39178 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39183 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39188 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39189 PyObject
*resultobj
;
39190 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39191 wxGBPosition
*arg2
= 0 ;
39192 wxGBSizerItem
*result
;
39193 wxGBPosition temp2
;
39194 PyObject
* obj0
= 0 ;
39195 PyObject
* obj1
= 0 ;
39196 char *kwnames
[] = {
39197 (char *) "self",(char *) "pos", NULL
39200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39205 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39209 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39211 wxPyEndAllowThreads(__tstate
);
39212 if (PyErr_Occurred()) SWIG_fail
;
39214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39221 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39222 PyObject
*resultobj
;
39223 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39224 wxPoint
*arg2
= 0 ;
39225 wxGBSizerItem
*result
;
39227 PyObject
* obj0
= 0 ;
39228 PyObject
* obj1
= 0 ;
39229 char *kwnames
[] = {
39230 (char *) "self",(char *) "pt", NULL
39233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39238 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39242 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39244 wxPyEndAllowThreads(__tstate
);
39245 if (PyErr_Occurred()) SWIG_fail
;
39247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39254 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39255 PyObject
*resultobj
;
39256 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39257 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39258 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39260 PyObject
* obj0
= 0 ;
39261 PyObject
* obj1
= 0 ;
39262 PyObject
* obj2
= 0 ;
39263 char *kwnames
[] = {
39264 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39273 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39278 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39280 wxPyEndAllowThreads(__tstate
);
39281 if (PyErr_Occurred()) SWIG_fail
;
39284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39292 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39293 PyObject
*resultobj
;
39294 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39295 wxGBPosition
*arg2
= 0 ;
39296 wxGBSpan
*arg3
= 0 ;
39297 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39299 wxGBPosition temp2
;
39301 PyObject
* obj0
= 0 ;
39302 PyObject
* obj1
= 0 ;
39303 PyObject
* obj2
= 0 ;
39304 PyObject
* obj3
= 0 ;
39305 char *kwnames
[] = {
39306 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39314 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39318 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39321 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39326 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39328 wxPyEndAllowThreads(__tstate
);
39329 if (PyErr_Occurred()) SWIG_fail
;
39332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39340 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39343 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39345 return Py_BuildValue((char *)"");
39347 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39348 PyObject
*resultobj
;
39349 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39351 wxWindow
*arg3
= (wxWindow
*) 0 ;
39353 int arg5
= (int) 0 ;
39354 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39355 PyObject
* obj0
= 0 ;
39356 PyObject
* obj1
= 0 ;
39357 PyObject
* obj2
= 0 ;
39358 PyObject
* obj3
= 0 ;
39359 PyObject
* obj4
= 0 ;
39360 PyObject
* obj5
= 0 ;
39361 char *kwnames
[] = {
39362 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39368 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39369 if (PyErr_Occurred()) SWIG_fail
;
39370 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39372 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39373 if (PyErr_Occurred()) SWIG_fail
;
39375 arg5
= (int) SWIG_AsInt(obj4
);
39376 if (PyErr_Occurred()) SWIG_fail
;
39379 arg6
= (int) SWIG_AsInt(obj5
);
39380 if (PyErr_Occurred()) SWIG_fail
;
39383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39384 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39386 wxPyEndAllowThreads(__tstate
);
39387 if (PyErr_Occurred()) SWIG_fail
;
39389 Py_INCREF(Py_None
); resultobj
= Py_None
;
39396 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39397 PyObject
*resultobj
;
39398 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39399 wxWindow
*arg2
= (wxWindow
*) 0 ;
39400 int arg3
= (int) 0 ;
39401 PyObject
* obj0
= 0 ;
39402 PyObject
* obj1
= 0 ;
39403 PyObject
* obj2
= 0 ;
39404 char *kwnames
[] = {
39405 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39414 arg3
= (int) SWIG_AsInt(obj2
);
39415 if (PyErr_Occurred()) SWIG_fail
;
39418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39419 (arg1
)->LeftOf(arg2
,arg3
);
39421 wxPyEndAllowThreads(__tstate
);
39422 if (PyErr_Occurred()) SWIG_fail
;
39424 Py_INCREF(Py_None
); resultobj
= Py_None
;
39431 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39432 PyObject
*resultobj
;
39433 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39434 wxWindow
*arg2
= (wxWindow
*) 0 ;
39435 int arg3
= (int) 0 ;
39436 PyObject
* obj0
= 0 ;
39437 PyObject
* obj1
= 0 ;
39438 PyObject
* obj2
= 0 ;
39439 char *kwnames
[] = {
39440 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39449 arg3
= (int) SWIG_AsInt(obj2
);
39450 if (PyErr_Occurred()) SWIG_fail
;
39453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39454 (arg1
)->RightOf(arg2
,arg3
);
39456 wxPyEndAllowThreads(__tstate
);
39457 if (PyErr_Occurred()) SWIG_fail
;
39459 Py_INCREF(Py_None
); resultobj
= Py_None
;
39466 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39467 PyObject
*resultobj
;
39468 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39469 wxWindow
*arg2
= (wxWindow
*) 0 ;
39470 int arg3
= (int) 0 ;
39471 PyObject
* obj0
= 0 ;
39472 PyObject
* obj1
= 0 ;
39473 PyObject
* obj2
= 0 ;
39474 char *kwnames
[] = {
39475 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39484 arg3
= (int) SWIG_AsInt(obj2
);
39485 if (PyErr_Occurred()) SWIG_fail
;
39488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39489 (arg1
)->Above(arg2
,arg3
);
39491 wxPyEndAllowThreads(__tstate
);
39492 if (PyErr_Occurred()) SWIG_fail
;
39494 Py_INCREF(Py_None
); resultobj
= Py_None
;
39501 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39502 PyObject
*resultobj
;
39503 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39504 wxWindow
*arg2
= (wxWindow
*) 0 ;
39505 int arg3
= (int) 0 ;
39506 PyObject
* obj0
= 0 ;
39507 PyObject
* obj1
= 0 ;
39508 PyObject
* obj2
= 0 ;
39509 char *kwnames
[] = {
39510 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39519 arg3
= (int) SWIG_AsInt(obj2
);
39520 if (PyErr_Occurred()) SWIG_fail
;
39523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39524 (arg1
)->Below(arg2
,arg3
);
39526 wxPyEndAllowThreads(__tstate
);
39527 if (PyErr_Occurred()) SWIG_fail
;
39529 Py_INCREF(Py_None
); resultobj
= Py_None
;
39536 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39537 PyObject
*resultobj
;
39538 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39539 wxWindow
*arg2
= (wxWindow
*) 0 ;
39541 int arg4
= (int) 0 ;
39542 PyObject
* obj0
= 0 ;
39543 PyObject
* obj1
= 0 ;
39544 PyObject
* obj2
= 0 ;
39545 PyObject
* obj3
= 0 ;
39546 char *kwnames
[] = {
39547 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39555 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39556 if (PyErr_Occurred()) SWIG_fail
;
39558 arg4
= (int) SWIG_AsInt(obj3
);
39559 if (PyErr_Occurred()) SWIG_fail
;
39562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39563 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39565 wxPyEndAllowThreads(__tstate
);
39566 if (PyErr_Occurred()) SWIG_fail
;
39568 Py_INCREF(Py_None
); resultobj
= Py_None
;
39575 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39576 PyObject
*resultobj
;
39577 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39578 wxWindow
*arg2
= (wxWindow
*) 0 ;
39581 PyObject
* obj0
= 0 ;
39582 PyObject
* obj1
= 0 ;
39583 PyObject
* obj2
= 0 ;
39584 PyObject
* obj3
= 0 ;
39585 char *kwnames
[] = {
39586 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39594 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39595 if (PyErr_Occurred()) SWIG_fail
;
39596 arg4
= (int) SWIG_AsInt(obj3
);
39597 if (PyErr_Occurred()) SWIG_fail
;
39599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39600 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39602 wxPyEndAllowThreads(__tstate
);
39603 if (PyErr_Occurred()) SWIG_fail
;
39605 Py_INCREF(Py_None
); resultobj
= Py_None
;
39612 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39613 PyObject
*resultobj
;
39614 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39616 PyObject
* obj0
= 0 ;
39617 PyObject
* obj1
= 0 ;
39618 char *kwnames
[] = {
39619 (char *) "self",(char *) "val", NULL
39622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39625 arg2
= (int) SWIG_AsInt(obj1
);
39626 if (PyErr_Occurred()) SWIG_fail
;
39628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39629 (arg1
)->Absolute(arg2
);
39631 wxPyEndAllowThreads(__tstate
);
39632 if (PyErr_Occurred()) SWIG_fail
;
39634 Py_INCREF(Py_None
); resultobj
= Py_None
;
39641 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39642 PyObject
*resultobj
;
39643 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39644 PyObject
* obj0
= 0 ;
39645 char *kwnames
[] = {
39646 (char *) "self", NULL
39649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39654 (arg1
)->Unconstrained();
39656 wxPyEndAllowThreads(__tstate
);
39657 if (PyErr_Occurred()) SWIG_fail
;
39659 Py_INCREF(Py_None
); resultobj
= Py_None
;
39666 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39667 PyObject
*resultobj
;
39668 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39669 PyObject
* obj0
= 0 ;
39670 char *kwnames
[] = {
39671 (char *) "self", NULL
39674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39681 wxPyEndAllowThreads(__tstate
);
39682 if (PyErr_Occurred()) SWIG_fail
;
39684 Py_INCREF(Py_None
); resultobj
= Py_None
;
39691 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39692 PyObject
*resultobj
;
39693 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39695 PyObject
* obj0
= 0 ;
39696 char *kwnames
[] = {
39697 (char *) "self", NULL
39700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39705 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39707 wxPyEndAllowThreads(__tstate
);
39708 if (PyErr_Occurred()) SWIG_fail
;
39711 resultobj
= wxPyMake_wxObject(result
, 0);
39719 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39720 PyObject
*resultobj
;
39721 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39723 PyObject
* obj0
= 0 ;
39724 char *kwnames
[] = {
39725 (char *) "self", NULL
39728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39733 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39735 wxPyEndAllowThreads(__tstate
);
39736 if (PyErr_Occurred()) SWIG_fail
;
39738 resultobj
= SWIG_FromInt((int)result
);
39745 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39746 PyObject
*resultobj
;
39747 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39749 PyObject
* obj0
= 0 ;
39750 PyObject
* obj1
= 0 ;
39751 char *kwnames
[] = {
39752 (char *) "self",(char *) "which", NULL
39755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39758 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39759 if (PyErr_Occurred()) SWIG_fail
;
39761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39762 (arg1
)->SetEdge((wxEdge
)arg2
);
39764 wxPyEndAllowThreads(__tstate
);
39765 if (PyErr_Occurred()) SWIG_fail
;
39767 Py_INCREF(Py_None
); resultobj
= Py_None
;
39774 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39775 PyObject
*resultobj
;
39776 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39778 PyObject
* obj0
= 0 ;
39779 PyObject
* obj1
= 0 ;
39780 char *kwnames
[] = {
39781 (char *) "self",(char *) "v", NULL
39784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39787 arg2
= (int) SWIG_AsInt(obj1
);
39788 if (PyErr_Occurred()) SWIG_fail
;
39790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39791 (arg1
)->SetValue(arg2
);
39793 wxPyEndAllowThreads(__tstate
);
39794 if (PyErr_Occurred()) SWIG_fail
;
39796 Py_INCREF(Py_None
); resultobj
= Py_None
;
39803 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39804 PyObject
*resultobj
;
39805 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39807 PyObject
* obj0
= 0 ;
39808 char *kwnames
[] = {
39809 (char *) "self", NULL
39812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39817 result
= (int)(arg1
)->GetMargin();
39819 wxPyEndAllowThreads(__tstate
);
39820 if (PyErr_Occurred()) SWIG_fail
;
39822 resultobj
= SWIG_FromInt((int)result
);
39829 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39830 PyObject
*resultobj
;
39831 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39833 PyObject
* obj0
= 0 ;
39834 PyObject
* obj1
= 0 ;
39835 char *kwnames
[] = {
39836 (char *) "self",(char *) "m", NULL
39839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39842 arg2
= (int) SWIG_AsInt(obj1
);
39843 if (PyErr_Occurred()) SWIG_fail
;
39845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39846 (arg1
)->SetMargin(arg2
);
39848 wxPyEndAllowThreads(__tstate
);
39849 if (PyErr_Occurred()) SWIG_fail
;
39851 Py_INCREF(Py_None
); resultobj
= Py_None
;
39858 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39859 PyObject
*resultobj
;
39860 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39862 PyObject
* obj0
= 0 ;
39863 char *kwnames
[] = {
39864 (char *) "self", NULL
39867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39872 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39874 wxPyEndAllowThreads(__tstate
);
39875 if (PyErr_Occurred()) SWIG_fail
;
39877 resultobj
= SWIG_FromInt((int)result
);
39884 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39885 PyObject
*resultobj
;
39886 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39888 PyObject
* obj0
= 0 ;
39889 char *kwnames
[] = {
39890 (char *) "self", NULL
39893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39898 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39900 wxPyEndAllowThreads(__tstate
);
39901 if (PyErr_Occurred()) SWIG_fail
;
39903 resultobj
= SWIG_FromInt((int)result
);
39910 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39911 PyObject
*resultobj
;
39912 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39914 PyObject
* obj0
= 0 ;
39915 char *kwnames
[] = {
39916 (char *) "self", NULL
39919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39924 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39926 wxPyEndAllowThreads(__tstate
);
39927 if (PyErr_Occurred()) SWIG_fail
;
39929 resultobj
= SWIG_FromInt((int)result
);
39936 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39937 PyObject
*resultobj
;
39938 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39940 PyObject
* obj0
= 0 ;
39941 char *kwnames
[] = {
39942 (char *) "self", NULL
39945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39950 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39952 wxPyEndAllowThreads(__tstate
);
39953 if (PyErr_Occurred()) SWIG_fail
;
39956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39964 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39965 PyObject
*resultobj
;
39966 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39968 PyObject
* obj0
= 0 ;
39969 PyObject
* obj1
= 0 ;
39970 char *kwnames
[] = {
39971 (char *) "self",(char *) "d", NULL
39974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39977 arg2
= (bool) SWIG_AsBool(obj1
);
39978 if (PyErr_Occurred()) SWIG_fail
;
39980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39981 (arg1
)->SetDone(arg2
);
39983 wxPyEndAllowThreads(__tstate
);
39984 if (PyErr_Occurred()) SWIG_fail
;
39986 Py_INCREF(Py_None
); resultobj
= Py_None
;
39993 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39994 PyObject
*resultobj
;
39995 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39997 PyObject
* obj0
= 0 ;
39998 char *kwnames
[] = {
39999 (char *) "self", NULL
40002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40007 result
= (int)(arg1
)->GetRelationship();
40009 wxPyEndAllowThreads(__tstate
);
40010 if (PyErr_Occurred()) SWIG_fail
;
40012 resultobj
= SWIG_FromInt((int)result
);
40019 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40020 PyObject
*resultobj
;
40021 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40023 PyObject
* obj0
= 0 ;
40024 PyObject
* obj1
= 0 ;
40025 char *kwnames
[] = {
40026 (char *) "self",(char *) "r", NULL
40029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40032 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
40033 if (PyErr_Occurred()) SWIG_fail
;
40035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40036 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40038 wxPyEndAllowThreads(__tstate
);
40039 if (PyErr_Occurred()) SWIG_fail
;
40041 Py_INCREF(Py_None
); resultobj
= Py_None
;
40048 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40049 PyObject
*resultobj
;
40050 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40051 wxWindow
*arg2
= (wxWindow
*) 0 ;
40053 PyObject
* obj0
= 0 ;
40054 PyObject
* obj1
= 0 ;
40055 char *kwnames
[] = {
40056 (char *) "self",(char *) "otherW", NULL
40059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40066 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40068 wxPyEndAllowThreads(__tstate
);
40069 if (PyErr_Occurred()) SWIG_fail
;
40072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40080 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40081 PyObject
*resultobj
;
40082 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40083 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40084 wxWindow
*arg3
= (wxWindow
*) 0 ;
40086 PyObject
* obj0
= 0 ;
40087 PyObject
* obj1
= 0 ;
40088 PyObject
* obj2
= 0 ;
40089 char *kwnames
[] = {
40090 (char *) "self",(char *) "constraints",(char *) "win", NULL
40093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40098 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40102 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40104 wxPyEndAllowThreads(__tstate
);
40105 if (PyErr_Occurred()) SWIG_fail
;
40108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40116 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40117 PyObject
*resultobj
;
40118 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40120 wxWindow
*arg3
= (wxWindow
*) 0 ;
40121 wxWindow
*arg4
= (wxWindow
*) 0 ;
40123 PyObject
* obj0
= 0 ;
40124 PyObject
* obj1
= 0 ;
40125 PyObject
* obj2
= 0 ;
40126 PyObject
* obj3
= 0 ;
40127 char *kwnames
[] = {
40128 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40134 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40135 if (PyErr_Occurred()) SWIG_fail
;
40136 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40138 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40142 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40144 wxPyEndAllowThreads(__tstate
);
40145 if (PyErr_Occurred()) SWIG_fail
;
40147 resultobj
= SWIG_FromInt((int)result
);
40154 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
40156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40157 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40159 return Py_BuildValue((char *)"");
40161 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40162 PyObject
*resultobj
;
40163 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40164 wxIndividualLayoutConstraint
*result
;
40165 PyObject
* obj0
= 0 ;
40166 char *kwnames
[] = {
40167 (char *) "self", NULL
40170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40173 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40182 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40183 PyObject
*resultobj
;
40184 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40185 wxIndividualLayoutConstraint
*result
;
40186 PyObject
* obj0
= 0 ;
40187 char *kwnames
[] = {
40188 (char *) "self", NULL
40191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40194 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40203 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40204 PyObject
*resultobj
;
40205 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40206 wxIndividualLayoutConstraint
*result
;
40207 PyObject
* obj0
= 0 ;
40208 char *kwnames
[] = {
40209 (char *) "self", NULL
40212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40215 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40224 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40225 PyObject
*resultobj
;
40226 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40227 wxIndividualLayoutConstraint
*result
;
40228 PyObject
* obj0
= 0 ;
40229 char *kwnames
[] = {
40230 (char *) "self", NULL
40233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40236 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40245 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40246 PyObject
*resultobj
;
40247 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40248 wxIndividualLayoutConstraint
*result
;
40249 PyObject
* obj0
= 0 ;
40250 char *kwnames
[] = {
40251 (char *) "self", NULL
40254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40257 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40266 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40267 PyObject
*resultobj
;
40268 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40269 wxIndividualLayoutConstraint
*result
;
40270 PyObject
* obj0
= 0 ;
40271 char *kwnames
[] = {
40272 (char *) "self", NULL
40275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40278 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40287 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40288 PyObject
*resultobj
;
40289 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40290 wxIndividualLayoutConstraint
*result
;
40291 PyObject
* obj0
= 0 ;
40292 char *kwnames
[] = {
40293 (char *) "self", NULL
40296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40299 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40308 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40309 PyObject
*resultobj
;
40310 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40311 wxIndividualLayoutConstraint
*result
;
40312 PyObject
* obj0
= 0 ;
40313 char *kwnames
[] = {
40314 (char *) "self", NULL
40317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40320 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40329 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40330 PyObject
*resultobj
;
40331 wxLayoutConstraints
*result
;
40332 char *kwnames
[] = {
40336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40339 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40341 wxPyEndAllowThreads(__tstate
);
40342 if (PyErr_Occurred()) SWIG_fail
;
40344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40351 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40352 PyObject
*resultobj
;
40353 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40354 wxWindow
*arg2
= (wxWindow
*) 0 ;
40355 int *arg3
= (int *) 0 ;
40358 PyObject
* obj0
= 0 ;
40359 PyObject
* obj1
= 0 ;
40360 char *kwnames
[] = {
40361 (char *) "self",(char *) "win", NULL
40365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40372 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40374 wxPyEndAllowThreads(__tstate
);
40375 if (PyErr_Occurred()) SWIG_fail
;
40378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40381 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40382 resultobj
= t_output_helper(resultobj
,o
);
40390 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40391 PyObject
*resultobj
;
40392 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40394 PyObject
* obj0
= 0 ;
40395 char *kwnames
[] = {
40396 (char *) "self", NULL
40399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40404 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40406 wxPyEndAllowThreads(__tstate
);
40407 if (PyErr_Occurred()) SWIG_fail
;
40410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40418 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40421 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40423 return Py_BuildValue((char *)"");
40425 static PyMethodDef SwigMethods
[] = {
40426 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40427 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40428 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40429 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40430 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40431 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40432 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40433 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40434 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40435 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40436 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40437 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40438 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40439 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40441 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40442 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40443 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40445 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40446 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40447 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40448 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40449 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40450 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40451 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40452 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40453 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40454 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40455 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40456 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40457 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40459 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40460 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40461 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40462 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40463 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40464 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40465 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40466 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40467 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40468 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40469 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40470 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40471 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40472 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40473 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40474 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40475 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40476 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40477 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40478 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40479 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40480 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40481 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40482 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40483 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40485 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40487 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40492 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40493 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40495 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40496 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40498 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40499 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40501 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40503 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40504 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40505 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40510 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40513 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40517 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40518 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40520 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40521 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40522 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40523 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40524 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40525 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40530 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40531 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40537 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40542 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40543 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40545 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40554 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40559 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40572 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40573 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40577 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40579 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40582 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40587 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40588 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40592 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40600 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40609 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40611 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40616 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40622 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40628 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40632 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40642 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40646 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40717 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40719 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40721 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40723 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40725 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40727 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40729 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40731 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40733 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40735 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40737 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40739 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40753 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40771 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40774 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40777 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40789 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40794 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40800 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40806 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40869 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40876 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40912 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40922 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40932 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40934 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40936 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40939 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40943 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40946 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40949 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
40951 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
40956 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
40964 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
40968 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
40971 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
40973 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
40977 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
40994 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
40996 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
40999 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
41001 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
41005 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
41009 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
41018 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
41021 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
41024 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
41028 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
41035 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
41040 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
41045 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
41089 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
41104 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
41108 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
41118 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41285 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41325 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41339 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41342 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41358 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41365 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41368 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41369 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41375 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41385 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41388 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41393 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41397 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41405 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41406 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41407 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41408 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41409 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41410 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41411 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41412 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41413 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41414 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41415 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41416 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41417 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41418 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41419 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41420 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41421 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41422 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41423 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41424 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41425 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41426 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41427 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41428 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41429 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41430 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41431 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41432 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41433 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41434 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41435 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41436 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41437 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41438 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41439 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41440 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41441 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41442 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41443 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41444 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41445 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41446 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41447 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41448 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41449 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41450 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41451 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41452 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41453 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41454 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41455 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41456 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
41457 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41458 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41459 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41460 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41461 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41462 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41463 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41464 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41465 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41466 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41467 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41468 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41469 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41470 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41471 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41472 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41473 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41474 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41475 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41476 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41477 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41478 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41479 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41480 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41481 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41482 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41483 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41484 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41485 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41486 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41487 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41488 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41489 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41490 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41491 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41492 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41493 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41494 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41495 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41496 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41497 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41498 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41499 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41500 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41501 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41502 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41503 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41504 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
},
41505 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41506 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41507 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41508 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41509 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41510 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41511 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41512 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41513 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41514 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41515 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41516 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41517 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41518 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41519 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41520 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41521 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41522 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41523 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41524 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41525 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41526 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41527 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41528 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41529 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41530 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41531 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41532 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41533 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41534 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41535 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41536 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41537 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41538 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41539 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41540 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41541 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41542 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41543 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41544 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41545 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41546 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41547 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41548 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41549 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41550 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41551 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41552 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41553 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41554 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41555 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41556 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41557 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41558 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41559 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41560 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41561 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41562 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41563 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41564 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41565 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41566 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41567 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41568 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41569 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41570 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41571 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41572 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41573 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41574 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41575 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41576 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41577 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41578 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41579 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41580 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41581 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41582 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41583 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41584 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41585 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41586 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41587 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41588 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41589 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41590 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41591 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41592 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41593 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41594 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41595 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41596 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41597 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41598 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41599 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41600 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41601 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41602 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41603 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41604 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41605 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41606 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41607 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41608 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41609 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41610 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41611 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41612 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41613 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41614 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41615 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41616 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41617 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41618 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41619 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
41620 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
},
41621 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41622 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41623 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41624 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41625 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41626 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41627 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41628 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41629 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41630 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41631 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41632 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41633 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41634 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41635 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41636 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41637 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
},
41638 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
},
41639 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41640 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41641 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41642 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41643 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41644 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41645 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41646 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41647 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41648 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41649 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41650 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41651 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41652 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41653 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41654 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41655 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41656 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41657 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41658 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41659 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41660 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41661 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41662 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41663 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41664 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41665 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41666 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41667 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41668 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41669 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41670 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41671 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41672 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41673 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41674 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41675 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41676 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41677 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41678 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41683 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41685 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41686 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41688 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41689 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41691 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41692 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41694 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41695 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41697 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41698 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41700 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41701 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41703 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41704 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41706 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41707 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41709 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41710 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41712 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41713 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41715 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41716 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41718 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41719 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41721 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41722 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41724 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41725 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41727 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41728 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41730 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41731 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41733 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41734 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41736 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41737 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41739 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41740 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41742 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41743 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41745 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41746 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41748 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41749 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41751 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41752 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41754 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41755 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41757 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41758 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41760 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41761 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41763 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41764 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41766 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41767 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41769 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41770 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41772 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41773 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41775 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41776 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41778 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41779 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41781 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41782 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41784 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41785 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41787 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41788 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41790 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41791 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41793 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41794 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41796 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41797 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41799 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41800 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41802 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41803 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41805 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41806 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41808 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41809 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41811 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41812 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41814 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41815 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41817 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41818 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41820 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41821 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41823 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41824 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41826 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41827 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41829 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41830 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41832 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41833 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41835 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41836 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41838 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41839 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41841 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41842 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41844 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41845 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41847 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41848 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41850 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41851 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41853 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41854 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41856 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41857 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41859 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41860 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41862 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41863 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41865 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41866 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41868 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41869 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41871 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41872 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41874 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41875 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41877 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41878 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41880 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41881 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41883 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41884 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41886 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41887 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41889 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41890 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41892 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41893 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41895 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41896 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41898 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41899 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41901 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41902 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41904 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41905 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41907 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41908 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41910 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41911 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41913 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41914 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41916 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41917 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41919 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41920 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41922 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41923 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41925 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41926 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41928 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41929 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41931 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41932 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41934 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41935 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41937 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41940 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41941 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41943 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41944 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41946 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41947 return (void *)((wxObject
*) ((wxSizer
*) x
));
41949 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41950 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41952 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41953 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41955 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41956 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41958 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41959 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41961 static void *_p_wxImageTo_p_wxObject(void *x
) {
41962 return (void *)((wxObject
*) ((wxImage
*) x
));
41964 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41965 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41967 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41968 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41970 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41971 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41973 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41974 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41976 static void *_p_wxControlTo_p_wxObject(void *x
) {
41977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41979 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41980 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41982 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41983 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41985 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41986 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41988 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41989 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41991 static void *_p_wxEventTo_p_wxObject(void *x
) {
41992 return (void *)((wxObject
*) ((wxEvent
*) x
));
41994 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41995 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41997 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41998 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42000 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42001 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42003 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42004 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42006 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42007 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42009 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42010 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42012 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42013 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42015 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42016 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42018 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42021 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42022 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42024 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42025 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42027 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42028 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42030 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42031 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42033 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42034 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42036 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42037 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42039 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42040 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42042 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42043 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42045 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42046 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42048 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42049 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42051 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42052 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42054 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42055 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42057 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42058 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42060 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42061 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42063 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42064 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42066 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42067 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42069 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42070 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42072 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42073 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42075 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42076 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42078 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42079 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42081 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42082 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42084 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42085 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42087 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42088 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42090 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42091 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42093 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42094 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42096 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42097 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42099 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42100 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42102 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42103 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42105 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42106 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42108 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42109 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42111 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42112 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42114 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42115 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42117 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42118 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42120 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42121 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42123 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42124 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42126 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42127 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42129 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42130 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42132 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42133 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42135 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42136 return (void *)((wxWindow
*) ((wxControl
*) x
));
42138 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42139 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42141 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42142 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42144 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42145 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42147 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42148 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42150 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42151 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42153 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42154 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42156 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42157 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42159 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42160 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42162 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42163 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42165 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42166 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42168 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42169 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42171 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}};
42172 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}};
42173 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}};
42174 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}};
42175 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}};
42176 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}};
42177 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}};
42178 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}};
42179 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}};
42180 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}};
42181 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}};
42182 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}};
42183 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}};
42184 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}};
42185 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}};
42186 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}};
42187 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}};
42188 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}};
42189 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}};
42190 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}};
42191 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}};
42192 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}};
42193 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}};
42194 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}};
42195 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}};
42196 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}};
42197 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}};
42198 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}};
42199 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}};
42200 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}};
42201 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}};
42202 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}};
42203 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}};
42204 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}};
42205 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}};
42206 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}};
42207 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}};
42208 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}};
42209 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}};
42210 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}};
42211 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}};
42212 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}};
42213 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}};
42214 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}};
42215 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}};
42216 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}};
42217 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}};
42218 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}};
42219 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}};
42220 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}};
42221 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}};
42222 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}};
42223 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}};
42224 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}};
42225 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}};
42226 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}};
42227 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}};
42228 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}};
42229 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}};
42230 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}};
42231 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}};
42232 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}};
42233 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}};
42234 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}};
42235 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}};
42236 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}};
42237 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}};
42238 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}};
42239 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}};
42240 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}};
42241 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}};
42242 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}};
42243 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}};
42244 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}};
42245 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}};
42246 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}};
42247 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}};
42248 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}};
42249 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}};
42250 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}};
42251 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}};
42252 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}};
42253 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}};
42254 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}};
42255 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}};
42256 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}};
42257 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}};
42258 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}};
42259 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}};
42260 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}};
42261 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}};
42262 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}};
42263 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}};
42264 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}};
42265 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}};
42266 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}};
42267 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}};
42268 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}};
42269 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}};
42270 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}};
42271 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}};
42272 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}};
42273 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}};
42274 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}};
42275 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}};
42276 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}};
42277 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}};
42278 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}};
42279 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}};
42280 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}};
42281 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}};
42282 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}};
42283 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}};
42284 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}};
42285 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}};
42287 static swig_type_info
*swig_types_initial
[] = {
42288 _swigt__p_wxLayoutConstraints
,
42289 _swigt__p_wxRealPoint
,
42290 _swigt__p_wxSizerItem
,
42291 _swigt__p_wxGBSizerItem
,
42292 _swigt__p_wxScrollEvent
,
42293 _swigt__p_wxIndividualLayoutConstraint
,
42295 _swigt__p_wxBoxSizer
,
42296 _swigt__p_wxStaticBoxSizer
,
42297 _swigt__p_wxGridBagSizer
,
42298 _swigt__p_wxAcceleratorEntry
,
42299 _swigt__p_wxUpdateUIEvent
,
42302 _swigt__p_wxGridSizer
,
42303 _swigt__p_wxFlexGridSizer
,
42304 _swigt__p_wxInitDialogEvent
,
42305 _swigt__p_wxItemContainer
,
42306 _swigt__p_wxNcPaintEvent
,
42307 _swigt__p_wxPaintEvent
,
42308 _swigt__p_wxSysColourChangedEvent
,
42309 _swigt__p_wxMouseCaptureChangedEvent
,
42310 _swigt__p_wxDisplayChangedEvent
,
42311 _swigt__p_wxPaletteChangedEvent
,
42312 _swigt__p_wxControl
,
42314 _swigt__p_wxMenuBarBase
,
42315 _swigt__p_wxSetCursorEvent
,
42316 _swigt__p_wxFSFile
,
42318 _swigt__p_wxRegion
,
42319 _swigt__p_wxPoint2D
,
42323 _swigt__p_wxPySizer
,
42324 _swigt__p_wxVisualAttributes
,
42325 _swigt__p_wxNotifyEvent
,
42326 _swigt__p_wxPyEvent
,
42327 _swigt__p_wxPropagationDisabler
,
42328 _swigt__p_wxAppTraits
,
42329 _swigt__p_wxArrayString
,
42330 _swigt__p_wxShowEvent
,
42331 _swigt__p_wxToolTip
,
42332 _swigt__p_wxMaximizeEvent
,
42333 _swigt__p_wxIconizeEvent
,
42334 _swigt__p_wxActivateEvent
,
42335 _swigt__p_wxMoveEvent
,
42336 _swigt__p_wxSizeEvent
,
42337 _swigt__p_wxQueryNewPaletteEvent
,
42338 _swigt__p_wxWindowCreateEvent
,
42339 _swigt__p_wxIdleEvent
,
42340 _swigt__p_wxMenuItem
,
42341 _swigt__p_wxStaticBox
,
42343 _swigt__p_wxTIFFHandler
,
42344 _swigt__p_wxXPMHandler
,
42345 _swigt__p_wxPNMHandler
,
42346 _swigt__p_wxJPEGHandler
,
42347 _swigt__p_wxPCXHandler
,
42348 _swigt__p_wxGIFHandler
,
42349 _swigt__p_wxPNGHandler
,
42350 _swigt__p_wxANIHandler
,
42351 _swigt__p_wxMemoryFSHandler
,
42352 _swigt__p_wxEvtHandler
,
42353 _swigt__p_wxCURHandler
,
42354 _swigt__p_wxICOHandler
,
42355 _swigt__p_wxBMPHandler
,
42356 _swigt__p_wxImageHandler
,
42357 _swigt__p_wxFileSystemHandler
,
42358 _swigt__p_wxPyFileSystemHandler
,
42359 _swigt__p_wxInternetFSHandler
,
42360 _swigt__p_wxZipFSHandler
,
42362 _swigt__p_wxGBSpan
,
42363 _swigt__p_wxPropagateOnce
,
42364 _swigt__p_wxAcceleratorTable
,
42366 _swigt__p_wxGBPosition
,
42369 _swigt__p_wxScrollWinEvent
,
42370 _swigt__p_wxImageHistogram
,
42373 _swigt__p_wxCursor
,
42374 _swigt__p_wxObject
,
42375 _swigt__p_wxPyInputStream
,
42376 _swigt__p_wxOutputStream
,
42377 _swigt__p_wxInputStream
,
42378 _swigt__p_wxDateTime
,
42379 _swigt__p_wxKeyEvent
,
42380 _swigt__p_wxNavigationKeyEvent
,
42381 _swigt__p_wxWindowDestroyEvent
,
42382 _swigt__p_wxWindow
,
42383 _swigt__p_wxMenuBar
,
42384 _swigt__p_wxFileSystem
,
42385 _swigt__p_wxBitmap
,
42386 _swigt__p_wxMenuEvent
,
42387 _swigt__p_wxContextMenuEvent
,
42388 _swigt__p_unsigned_char
,
42389 _swigt__p_wxCloseEvent
,
42390 _swigt__p_wxEraseEvent
,
42391 _swigt__p_wxMouseEvent
,
42393 _swigt__p_wxCommandEvent
,
42394 _swigt__p_wxPyCommandEvent
,
42395 _swigt__p_wxPyDropTarget
,
42396 _swigt__p_wxChildFocusEvent
,
42397 _swigt__p_wxFocusEvent
,
42398 _swigt__p_wxDropFilesEvent
,
42399 _swigt__p_wxControlWithItems
,
42400 _swigt__p_wxColour
,
42401 _swigt__p_wxValidator
,
42402 _swigt__p_wxPyValidator
,
42407 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42409 static swig_const_info swig_const_table
[] = {
42419 SWIGEXPORT(void) SWIG_init(void) {
42420 static PyObject
*SWIG_globals
= 0;
42421 static int typeinit
= 0;
42424 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42425 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42426 d
= PyModule_GetDict(m
);
42429 for (i
= 0; swig_types_initial
[i
]; i
++) {
42430 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42434 SWIG_InstallConstants(d
,swig_const_table
);
42437 #ifndef wxPyUSE_EXPORT
42438 // Make our API structure a CObject so other modules can import it
42439 // from this module.
42440 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42441 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42445 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42446 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42447 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42448 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42449 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42450 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42451 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42452 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42453 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42454 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42455 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42456 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42457 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42458 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42459 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42460 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42461 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42462 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42463 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42464 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42465 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42466 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42467 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42468 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42469 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42470 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42471 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42472 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42473 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42474 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42475 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42476 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42477 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42478 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42479 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42480 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42481 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42482 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42483 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42484 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42485 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42486 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42487 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42488 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42489 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42490 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42491 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42492 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42493 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42494 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42495 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42496 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42497 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42498 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42499 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42500 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42501 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42502 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42503 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42504 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42505 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42506 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42507 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42508 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42509 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42510 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42511 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42512 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42513 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42514 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42515 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42516 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42517 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42518 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42519 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42520 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42521 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42522 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42523 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42524 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42525 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42526 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42527 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42528 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42529 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42530 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42531 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42532 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42533 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42534 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42535 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42536 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42537 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42538 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42539 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42540 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42541 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42542 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42543 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42544 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42545 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42546 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42547 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42548 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42549 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42550 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42551 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42552 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42553 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42554 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42555 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42556 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42557 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42558 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42559 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42560 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42561 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42562 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42563 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42564 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42565 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42566 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42567 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42568 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42569 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42570 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42571 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42572 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42573 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42574 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42575 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42576 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42577 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42578 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42579 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42580 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42581 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42582 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42583 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42584 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42585 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42586 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42587 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42588 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42589 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42590 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42591 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42592 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42593 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42594 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42595 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42596 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42597 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42598 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42599 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42600 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42601 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42602 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42603 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42604 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42605 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42606 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42607 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42608 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42609 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42610 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42611 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42612 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42613 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42614 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42615 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42616 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42617 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42618 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42619 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42620 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42621 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42622 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42623 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42624 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42625 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42626 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42627 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42628 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42629 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42630 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42631 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42632 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42633 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42634 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42635 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42636 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42637 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42638 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42639 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42640 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42641 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42642 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42643 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42644 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42645 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42646 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42647 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42648 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42649 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42650 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42651 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42652 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42653 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42654 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42655 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42656 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42657 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42658 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42659 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42660 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42661 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42662 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42663 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42664 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42665 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42666 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42667 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42668 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42669 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42670 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42671 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42672 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42673 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42674 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42675 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42676 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42677 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42678 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42679 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42680 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42681 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42682 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42683 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42684 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42685 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42686 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42687 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42688 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42689 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42690 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42691 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42692 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42693 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42694 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42695 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42696 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42697 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42698 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42699 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42700 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42701 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42702 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42703 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42704 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42705 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42706 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42707 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42708 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42709 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42710 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42711 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42712 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42713 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42714 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42715 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42716 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42717 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42718 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42719 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42720 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42721 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42722 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42723 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42724 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42725 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42726 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42727 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42728 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42729 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42730 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42731 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42732 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42733 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42734 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42735 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42736 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42737 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42738 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42739 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42740 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42741 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42742 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42743 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42744 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42745 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42746 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42747 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42748 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42749 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42750 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42751 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42752 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42753 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42754 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42755 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42756 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42757 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42758 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42759 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42760 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42761 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42762 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42763 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42764 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42765 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42766 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42767 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42768 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42769 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42770 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42771 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42772 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42773 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42774 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42775 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42776 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42777 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42778 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42779 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42780 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42781 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42782 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42783 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42784 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42785 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42786 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42787 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42788 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42789 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42790 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42791 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42792 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42793 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42794 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42795 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42796 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42797 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42798 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42799 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42800 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42801 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42802 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42803 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42804 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42805 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42806 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42807 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42808 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42809 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42810 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42811 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42812 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42813 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42814 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42815 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42816 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42817 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42818 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42819 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42820 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42821 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42822 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42823 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42824 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42825 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42826 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42827 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42828 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42829 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42830 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42831 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42832 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42833 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42834 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42835 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42836 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42837 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42838 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42839 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42840 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42841 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42842 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42843 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42844 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42845 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42846 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42847 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42848 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42849 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42850 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42851 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42852 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42853 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42854 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42855 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42856 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42857 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42858 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42859 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42860 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42861 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42862 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42863 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42864 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42865 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42866 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42867 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42868 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42869 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42870 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42871 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42872 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42873 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42874 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42875 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42876 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42877 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42878 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42879 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42880 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42881 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42882 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42883 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42884 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42885 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42886 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42887 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42888 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42889 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42890 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42891 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42892 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42893 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42894 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42895 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42896 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42897 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42898 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42899 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42900 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42901 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42902 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42903 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42904 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42905 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42906 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42907 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42908 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42909 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42910 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42911 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42912 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42913 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42914 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42915 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42916 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42917 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42918 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42919 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42920 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42921 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42922 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42923 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42924 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42925 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42926 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42927 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42928 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42929 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42930 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42931 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42932 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42933 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
42934 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
42935 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
42936 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
42937 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
42938 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42939 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42940 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42941 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42942 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
42943 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
42944 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
42945 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
42946 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
42947 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
42948 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42949 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42950 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
42951 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
42952 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
42953 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
42954 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
42955 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
42956 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
42957 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
42958 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
42959 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
42960 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42961 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42962 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
42963 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
42964 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
42965 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
42966 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
42967 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
42968 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
42969 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
42970 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
42971 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
42972 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
42973 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
42974 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
42975 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
42976 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
42977 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
42978 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
42979 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
42980 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
42981 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
42982 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
42983 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
42984 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
42985 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
42986 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
42987 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
42988 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
42989 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
42990 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
42991 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
42992 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
42993 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
42994 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
42995 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
42996 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
42997 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
42998 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
42999 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
43000 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
43001 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
43002 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
43003 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
43004 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
43005 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
43006 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
43007 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
43008 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
43009 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
43010 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
43011 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
43012 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
43013 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43014 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43015 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
43016 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
43017 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
43019 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43022 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43024 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43025 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43026 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43027 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43028 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43029 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43030 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
43031 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
43032 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
43033 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
43034 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
43035 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
43036 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
43037 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
43038 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
43039 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
43040 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
43041 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
43042 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
43043 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43044 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43045 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43046 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43047 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43048 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43049 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43050 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43051 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43052 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43053 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43054 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43055 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43056 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43057 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43058 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43059 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43060 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43061 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43062 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43063 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43064 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43065 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43066 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43067 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43068 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43069 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43070 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43071 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43072 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43073 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43074 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43075 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43076 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43077 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43078 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43079 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43080 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43081 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43082 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43083 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43084 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43085 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43086 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43087 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43088 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43089 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43090 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43091 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43092 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43093 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43094 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43095 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43096 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43097 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43098 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43099 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43100 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43101 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43102 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43103 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43104 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43105 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43106 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43107 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43108 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43109 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43110 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43111 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43112 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43113 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43114 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43115 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43116 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43117 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43118 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43119 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43120 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43121 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43122 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43123 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43124 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43125 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43126 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43127 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43128 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43129 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43130 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43131 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43132 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43133 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43134 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43135 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43136 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43137 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43138 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43139 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43140 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43141 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43142 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43143 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43144 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43145 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43146 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43147 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43148 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43149 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43150 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43151 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43152 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43153 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43154 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43155 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43156 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43157 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
43158 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
43159 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
43160 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
43161 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
43162 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
43163 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43164 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_FromInt((int)wxNavigationKeyEvent::IsBackward
));
43165 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_FromInt((int)wxNavigationKeyEvent::IsForward
));
43166 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_FromInt((int)wxNavigationKeyEvent::WinChange
));
43167 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
43168 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
43169 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
43170 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
43171 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
43172 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
43173 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
43174 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
43175 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43176 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43177 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
43178 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
43179 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
43180 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
43181 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
43182 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43183 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43184 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
43185 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
43186 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
43187 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43188 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
43189 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
43190 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
43191 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
43192 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
43193 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
43194 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
43195 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
43196 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
43197 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
43198 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
43199 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
43200 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
43201 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
43202 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
43203 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
43204 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
43205 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
43206 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
43208 // Initialize threading, some globals and such
43212 // Although these are defined in __version__ they need to be here too so
43213 // that an assert can be done to ensure that the wxPython and the wxWindows
43215 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43216 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43217 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));