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 /*-----------------------------------------------
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, even if
497 // they are located in another shared library.
498 static wxPyCoreAPI API
= {
500 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
501 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
502 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
503 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
504 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
505 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
506 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
507 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
508 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
509 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
510 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
511 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
512 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
513 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
514 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
515 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
516 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
523 wxPyBeginAllowThreads
,
525 wxPyBeginBlockThreads
,
539 wxBitmap_LIST_helper
,
540 wxString_LIST_helper
,
541 wxAcceleratorEntry_LIST_helper
,
550 wxPySimple_typecheck
,
553 wxPyCBH_setCallbackInfo
,
554 wxPyCBH_findCallback
,
555 wxPyCBH_callCallback
,
556 wxPyCBH_callCallbackObj
,
564 wxArrayString2PyList_helper
,
565 wxArrayInt2PyList_helper
,
569 wxPyOORClientData_dtor
,
571 wxPyCBInputStream_create
,
574 wxPySwigInstance_Check
582 enum wxHotkeyModifier
590 #define wxEVT_HOTKEY 9999
593 static const wxString
wxPyEmptyString(wxEmptyString
);
594 wxString
wxObject_GetClassName(wxObject
*self
){
595 return self
->GetClassInfo()->GetClassName();
597 void wxObject_Destroy(wxObject
*self
){
602 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
609 SWIGSTATICINLINE(long)
610 SWIG_CheckLongInRange(long value
, const char* type
,
611 long min_value
, long max_value
)
613 if (!PyErr_Occurred()) {
614 if (value
< min_value
) {
616 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
617 value
, type
, min_value
);
619 PyErr_SetObject(PyExc_OverflowError
, err
);
621 } else if (value
> max_value
) {
623 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
624 value
, type
, max_value
);
625 PyErr_SetObject(PyExc_OverflowError
, err
);
633 SWIGSTATICINLINE(long)
634 SWIG_AsLong(PyObject
* obj
)
636 if (PyNumber_Check(obj
))
637 return PyInt_AsLong(obj
);
639 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
640 obj
->ob_type
->tp_name
);
641 PyErr_SetObject(PyExc_TypeError
, errmsg
);
648 #if INT_MAX != LONG_MAX
649 SWIGSTATICINLINE(int)
650 SWIG_AsInt(PyObject
*obj
)
652 return swig_numeric_cast(int,
653 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
654 "int", INT_MIN
, INT_MAX
));
657 #define SWIG_AsInt SWIG_AsLong
661 SWIGSTATICINLINE(int)
662 SWIG_CheckInt(PyObject
* obj
)
665 if (PyErr_Occurred()) {
673 PyObject
*wxSize_Get(wxSize
*self
){
674 bool blocked
= wxPyBeginBlockThreads();
675 PyObject
* tup
= PyTuple_New(2);
676 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
677 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
678 wxPyEndBlockThreads(blocked
);
682 SWIGSTATICINLINE(double)
683 SWIG_AsDouble(PyObject
*obj
)
685 if (PyNumber_Check(obj
))
686 return PyFloat_AsDouble(obj
);
688 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
689 obj
->ob_type
->tp_name
);
690 PyErr_SetObject(PyExc_TypeError
, errmsg
);
697 SWIGSTATICINLINE(int)
698 SWIG_CheckDouble(PyObject
* obj
)
701 if (PyErr_Occurred()) {
709 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
713 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
714 bool blocked
= wxPyBeginBlockThreads();
715 PyObject
* tup
= PyTuple_New(2);
716 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
717 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
718 wxPyEndBlockThreads(blocked
);
722 SWIGSTATICINLINE(int)
723 SWIG_CheckLong(PyObject
* obj
)
726 if (PyErr_Occurred()) {
734 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
738 PyObject
*wxPoint_Get(wxPoint
*self
){
739 bool blocked
= wxPyBeginBlockThreads();
740 PyObject
* tup
= PyTuple_New(2);
741 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
742 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
743 wxPyEndBlockThreads(blocked
);
746 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
750 self
->height
= height
;
752 PyObject
*wxRect_Get(wxRect
*self
){
753 bool blocked
= wxPyBeginBlockThreads();
754 PyObject
* tup
= PyTuple_New(4);
755 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
756 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
757 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
758 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
759 wxPyEndBlockThreads(blocked
);
763 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
766 wxRect
dest(0,0,0,0);
769 reg1
.Intersect(reg2
);
770 dest
= reg1
.GetBox();
772 if (dest
!= wxRect(0,0,0,0)) {
773 bool blocked
= wxPyBeginBlockThreads();
774 wxRect
* newRect
= new wxRect(dest
);
775 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
776 wxPyEndBlockThreads(blocked
);
784 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
790 } else if (target
== Py_None
) {
794 if (!PyTuple_Check(target
)) {
796 target
= PyTuple_New(1);
797 PyTuple_SetItem(target
, 0, o2
);
800 PyTuple_SetItem(o3
, 0, o
);
803 target
= PySequence_Concat(o2
, o3
);
810 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
814 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
815 bool blocked
= wxPyBeginBlockThreads();
816 PyObject
* tup
= PyTuple_New(2);
817 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
818 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
819 wxPyEndBlockThreads(blocked
);
823 #include "wx/wxPython/pyistream.h"
825 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
826 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
828 return new wxPyInputStream(wxis
);
833 SWIGSTATICINLINE(PyObject
*)
834 SWIG_FromChar(char c
)
836 return PyString_FromStringAndSize(&c
,1);
840 SWIGSTATICINLINE(PyObject
* )
841 SWIG_FromUnsignedLong(unsigned long value
)
843 return (value
> LONG_MAX
) ?
844 PyLong_FromUnsignedLong(value
)
845 : PyInt_FromLong(swig_numeric_cast(long,value
));
849 /* returns '1' if the input is a raw char*, '0' if is a PyString */
851 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* size
)
853 static swig_type_info
* pchar_info
= 0;
855 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
857 if (SWIG_ConvertPtr(obj
, swig_reinterpret_cast(void **,cptr
), pchar_info
, 0) == -1) {
859 PyString_AsStringAndSize(obj
, cptr
, &psize
);
860 if (PyErr_Occurred()) {
862 PyErr_SetString(PyExc_TypeError
,"a string is expected");
864 if (size
) *size
= psize
;
867 if (size
) *size
= (*cptr
) ? (strlen(*cptr
) + 1) : 0;
874 SWIG_AsCharArray(PyObject
*obj
, char* carray
, size_t size
)
876 char* cptr
; size_t csize
;
877 SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
);
878 if (PyErr_Occurred()) {
881 PyString_FromFormat("a char array of size %d is expected", size
);
882 PyErr_SetObject(PyExc_TypeError
, err
);
885 /* in C (but not in C++) you can do:
889 ie, assing the array using an extra '0' char.
892 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
896 PyString_FromFormat("a char array of maximum size %d is expected",
898 PyErr_SetObject(PyExc_TypeError
, err
);
901 if (csize
) memcpy(carray
, cptr
, csize
);
902 if (csize
< size
) memset(carray
+ csize
, 0, size
- csize
);
908 SWIGSTATICINLINE(char)
909 SWIG_AsChar(PyObject
*obj
)
912 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
913 c
= swig_numeric_cast(char,
914 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
915 "char", CHAR_MIN
, CHAR_MAX
));
917 SWIG_AsCharArray(obj
, &c
, 1);
918 if (PyErr_Occurred()) {
920 PyErr_SetString(PyExc_TypeError
, "a char is expected");
927 SWIGSTATICINLINE(int)
928 SWIG_CheckChar(PyObject
* obj
)
931 if (PyErr_Occurred()) {
939 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
940 // We use only strings for the streams, not unicode
941 PyObject
* str
= PyObject_Str(obj
);
943 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
946 self
->Write(PyString_AS_STRING(str
),
947 PyString_GET_SIZE(str
));
951 #include "wx/wxPython/pyistream.h"
954 class wxPyFileSystemHandler
: public wxFileSystemHandler
957 wxPyFileSystemHandler() : wxFileSystemHandler() {}
959 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
960 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
961 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
962 DEC_PYCALLBACK_STRING__pure(FindNext
);
964 wxString
GetProtocol(const wxString
& location
) {
965 return wxFileSystemHandler::GetProtocol(location
);
968 wxString
GetLeftLocation(const wxString
& location
) {
969 return wxFileSystemHandler::GetLeftLocation(location
);
972 wxString
GetAnchor(const wxString
& location
) {
973 return wxFileSystemHandler::GetAnchor(location
);
976 wxString
GetRightLocation(const wxString
& location
) {
977 return wxFileSystemHandler::GetRightLocation(location
);
980 wxString
GetMimeTypeFromExt(const wxString
& location
) {
981 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
988 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
989 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
990 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
991 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
994 SWIGSTATICINLINE(bool)
995 SWIG_AsBool(PyObject
*obj
)
997 return PyObject_IsTrue(obj
) ? true : false;
1001 SWIGSTATICINLINE(int)
1002 SWIG_CheckBool(PyObject
* obj
)
1005 if (PyErr_Occurred()) {
1014 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1015 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1016 return fname
.GetFullPath();
1020 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1023 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1026 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1027 const wxBitmap
& bitmap
,
1029 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1032 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1034 wxMemoryFSHandler::AddFile(filename
,
1035 // TODO: Verify data type
1036 (void*)PyString_AsString(data
),
1037 (size_t)PyString_Size(data
));
1041 #include "wx/wxPython/pyistream.h"
1044 SWIGSTATICINLINE(unsigned long)
1045 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
1046 unsigned long max_value
)
1048 if (!PyErr_Occurred()) {
1049 if (value
> max_value
) {
1051 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1052 value
, type
, max_value
);
1053 PyErr_SetObject(PyExc_OverflowError
, err
);
1061 SWIGSTATICINLINE(unsigned long)
1062 SWIG_AsUnsignedLong(PyObject
* obj
)
1064 if (PyLong_Check(obj
)) {
1065 return PyLong_AsUnsignedLong(obj
);
1067 long i
= SWIG_AsLong(obj
);
1068 if ( !PyErr_Occurred() && (i
< 0)) {
1069 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1076 SWIGSTATICINLINE(unsigned char)
1077 SWIG_AsUnsignedChar(PyObject
*obj
)
1079 return swig_numeric_cast(unsigned char,
1080 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1081 "unsigned char", UCHAR_MAX
));
1085 SWIGSTATICINLINE(int)
1086 SWIG_CheckUnsignedChar(PyObject
* obj
)
1088 SWIG_AsUnsignedChar(obj
);
1089 if (PyErr_Occurred()) {
1097 wxImage
*new_wxImage__SWIG_0(int width
,int height
,bool clear
){
1098 if (width
> 0 && height
> 0)
1099 return new wxImage(width
, height
, clear
);
1103 wxImage
*new_wxImage__SWIG_1(wxSize
const &size
,bool clear
){
1104 return new wxImage(size
.x
, size
.y
, clear
);
1106 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1107 return new wxImage(bitmap
.ConvertToImage());
1109 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1110 // Copy the source data so the wxImage can clean it up later
1111 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1116 memcpy(copy
, data
, width
*height
*3);
1117 return new wxImage(width
, height
, copy
, False
);
1119 wxSize
wxImage_GetSize(wxImage
*self
){
1120 wxSize
size(self
->GetWidth(), self
->GetHeight());
1123 PyObject
*wxImage_GetData(wxImage
*self
){
1124 unsigned char* data
= self
->GetData();
1125 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1127 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1130 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1131 unsigned char* dataPtr
;
1133 if (! PyString_Check(data
)) {
1134 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1138 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1139 dataPtr
= (unsigned char*) malloc(len
);
1140 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1141 self
->SetData(dataPtr
);
1142 // wxImage takes ownership of dataPtr...
1144 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1145 unsigned char* data
= self
->GetData();
1146 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1148 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1151 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1152 unsigned char* buffer
;
1155 bool blocked
= wxPyBeginBlockThreads();
1156 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1159 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1160 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1163 self
->SetData(buffer
);
1165 wxPyEndBlockThreads(blocked
);
1167 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1168 unsigned char* data
= self
->GetAlpha();
1172 int len
= self
->GetWidth() * self
->GetHeight();
1174 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1178 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1179 unsigned char* dataPtr
;
1181 if (! PyString_Check(data
)) {
1182 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1186 size_t len
= self
->GetWidth() * self
->GetHeight();
1187 dataPtr
= (unsigned char*) malloc(len
);
1188 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1189 self
->SetAlpha(dataPtr
);
1190 // wxImage takes ownership of dataPtr...
1192 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1193 unsigned char* data
= self
->GetAlpha();
1194 int len
= self
->GetWidth() * self
->GetHeight();
1196 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1199 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1200 unsigned char* buffer
;
1203 bool blocked
= wxPyBeginBlockThreads();
1204 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1207 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1208 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1211 self
->SetAlpha(buffer
);
1213 wxPyEndBlockThreads(blocked
);
1216 SWIGSTATICINLINE(int)
1217 SWIG_CheckUnsignedLong(PyObject
* obj
)
1219 SWIG_AsUnsignedLong(obj
);
1220 if (PyErr_Occurred()) {
1228 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1229 wxBitmap
bitmap(*self
);
1232 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1233 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1234 wxBitmap
bitmap( mono
, 1 );
1237 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1238 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1239 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1240 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1241 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1242 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1243 if (PyCallable_Check(func
)) {
1244 self
->Connect(id
, lastId
, eventType
,
1245 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1246 new wxPyCallback(func
));
1248 else if (func
== Py_None
) {
1249 self
->Disconnect(id
, lastId
, eventType
,
1250 (wxObjectEventFunction
)
1251 &wxPyCallback::EventThunker
);
1254 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
1257 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1258 return self
->Disconnect(id
, lastId
, eventType
,
1259 (wxObjectEventFunction
)
1260 &wxPyCallback::EventThunker
);
1262 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1263 if (_self
&& _self
!= Py_None
) {
1264 self
->SetClientObject(new wxPyOORClientData(_self
));
1267 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1269 self
->SetClientObject(NULL
); // This will delete it too
1273 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1275 return self
->m_uniChar
;
1281 #if UINT_MAX < LONG_MAX
1282 #define SWIG_FromUnsignedInt SWIG_FromLong
1284 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1288 #if UINT_MAX != ULONG_MAX
1289 SWIGSTATICINLINE(unsigned int)
1290 SWIG_AsUnsignedInt(PyObject
*obj
)
1292 return swig_numeric_cast(unsigned int,
1293 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1294 "unsigned int", UINT_MAX
));
1297 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1301 SWIGSTATICINLINE(int)
1302 SWIG_CheckUnsignedInt(PyObject
* obj
)
1304 SWIG_AsUnsignedInt(obj
);
1305 if (PyErr_Occurred()) {
1313 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1314 self
->m_size
= size
;
1316 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1319 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1320 int count
= self
->GetNumberOfFiles();
1321 wxString
* files
= self
->GetFiles();
1322 PyObject
* list
= PyList_New(count
);
1325 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1329 for (int i
=0; i
<count
; i
++) {
1330 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1336 wxPyApp
*new_wxPyApp(){
1337 wxPythonApp
= new wxPyApp();
1340 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1342 void wxApp_CleanUp() {
1347 wxPyApp
* wxGetApp() {
1348 return (wxPyApp
*)wxTheApp
;
1353 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1354 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1355 void delete_wxVisualAttributes(wxVisualAttributes
*self
){}
1356 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1357 wxWindowList
& list
= self
->GetChildren();
1358 return wxPy_ConvertList(&list
);
1360 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1362 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1367 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1374 long wxWindow_GetHandle(wxWindow
*self
){
1375 return wxPyGetWinHandle(self
);
1378 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1379 return wxWindow::FindWindowById(id
, parent
);
1382 wxWindow
* wxFindWindowByName( const wxString
& name
,
1383 const wxWindow
*parent
= NULL
) {
1384 return wxWindow::FindWindowByName(name
, parent
);
1387 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1388 const wxWindow
*parent
= NULL
) {
1389 return wxWindow::FindWindowByLabel(label
, parent
);
1394 #include <wx/msw/private.h> // to get wxGetWindowId
1398 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1400 WXHWND hWnd
= (WXHWND
)_hWnd
;
1401 long id
= wxGetWindowId(hWnd
);
1402 wxWindow
* win
= new wxWindow
;
1403 parent
->AddChild(win
);
1404 win
->SetEventHandler(win
);
1407 win
->SubclassWin(hWnd
);
1408 win
->AdoptAttributesFromHWND();
1409 win
->SetupColours();
1412 wxPyRaiseNotImplemented();
1418 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1419 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1420 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1422 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1424 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1425 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1426 wxMenuItemList
& list
= self
->GetMenuItems();
1427 return wxPy_ConvertList(&list
);
1429 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1430 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1431 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1433 wxPyClientData
* data
= new wxPyClientData(clientData
);
1434 return self
->Append(item
, data
);
1436 return self
->Append(item
);
1438 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1440 wxPyClientData
* data
= new wxPyClientData(clientData
);
1441 return self
->Insert(item
, pos
, data
);
1443 return self
->Insert(item
, pos
);
1445 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1446 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1448 Py_INCREF(data
->m_obj
);
1455 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1456 wxPyClientData
* data
= new wxPyClientData(clientData
);
1457 self
->SetClientObject(n
, data
);
1465 SWIG_FloatCast(double value
)
1468 if (!PyErr_Occurred()) {
1469 if (value
< FLT_MIN
) {
1471 PyString_FromFormat("value %g is less than float minimum %g",
1473 PyErr_SetObject(PyExc_OverflowError
, err
);
1475 } else if (value
> FLT_MAX
) {
1477 PyString_FromFormat("value %g is greater than float maximum %g",
1479 PyErr_SetObject(PyExc_OverflowError
, err
);
1482 f
= swig_numeric_cast(float, value
);
1489 SWIGSTATICINLINE(float)
1490 SWIG_AsFloat(PyObject
*obj
)
1492 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1496 SWIGSTATICINLINE(int)
1497 SWIG_CheckFloat(PyObject
* obj
)
1500 if (PyErr_Occurred()) {
1508 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1509 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1511 Py_INCREF(data
->m_obj
);
1519 // Figure out the type of the sizer item
1521 struct wxPySizerItemInfo
{
1523 : window(NULL
), sizer(NULL
), gotSize(False
),
1524 size(wxDefaultSize
), gotPos(False
), pos(-1)
1535 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1537 wxPySizerItemInfo info
;
1539 wxSize
* sizePtr
= &size
;
1541 // Find out what the type of the item is
1543 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1548 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1552 // try wxSize or (w,h)
1553 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1554 info
.size
= *sizePtr
;
1555 info
.gotSize
= True
;
1559 if (checkIdx
&& PyInt_Check(item
)) {
1560 info
.pos
= PyInt_AsLong(item
);
1566 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1567 // no expected type, figure out what kind of error message to generate
1568 if ( !checkSize
&& !checkIdx
)
1569 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1570 else if ( checkSize
&& !checkIdx
)
1571 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1572 else if ( !checkSize
&& checkIdx
)
1573 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1575 // can this one happen?
1576 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1582 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1583 self
->SetClientObject(new wxPyOORClientData(_self
));
1585 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1587 wxPyUserData
* data
= NULL
;
1588 bool blocked
= wxPyBeginBlockThreads();
1589 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1590 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1591 data
= new wxPyUserData(userData
);
1592 wxPyEndBlockThreads(blocked
);
1594 // Now call the real Add method if a valid item type was found
1596 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1597 else if ( info
.sizer
)
1598 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1599 else if (info
.gotSize
)
1600 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1601 proportion
, flag
, border
, data
);
1603 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1605 wxPyUserData
* data
= NULL
;
1606 bool blocked
= wxPyBeginBlockThreads();
1607 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1608 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1609 data
= new wxPyUserData(userData
);
1610 wxPyEndBlockThreads(blocked
);
1612 // Now call the real Insert method if a valid item type was found
1614 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1615 else if ( info
.sizer
)
1616 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1617 else if (info
.gotSize
)
1618 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1619 proportion
, flag
, border
, data
);
1621 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1623 wxPyUserData
* data
= NULL
;
1624 bool blocked
= wxPyBeginBlockThreads();
1625 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1626 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1627 data
= new wxPyUserData(userData
);
1628 wxPyEndBlockThreads(blocked
);
1630 // Now call the real Prepend method if a valid item type was found
1632 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1633 else if ( info
.sizer
)
1634 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1635 else if (info
.gotSize
)
1636 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1637 proportion
, flag
, border
, data
);
1639 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1640 bool blocked
= wxPyBeginBlockThreads();
1641 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1642 wxPyEndBlockThreads(blocked
);
1644 return self
->Remove(info
.window
);
1645 else if ( info
.sizer
)
1646 return self
->Remove(info
.sizer
);
1647 else if ( info
.gotPos
)
1648 return self
->Remove(info
.pos
);
1652 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1653 bool blocked
= wxPyBeginBlockThreads();
1654 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1655 wxPyEndBlockThreads(blocked
);
1657 self
->SetItemMinSize(info
.window
, size
);
1658 else if ( info
.sizer
)
1659 self
->SetItemMinSize(info
.sizer
, size
);
1660 else if ( info
.gotPos
)
1661 self
->SetItemMinSize(info
.pos
, size
);
1663 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1664 wxSizerItemList
& list
= self
->GetChildren();
1665 return wxPy_ConvertList(&list
);
1667 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1668 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1670 self
->Show(info
.window
, show
);
1671 else if ( info
.sizer
)
1672 self
->Show(info
.sizer
, show
);
1674 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1675 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1677 self
->Hide(info
.window
);
1678 else if ( info
.sizer
)
1679 self
->Hide(info
.sizer
);
1681 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1682 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1684 return self
->IsShown(info
.window
);
1685 else if ( info
.sizer
)
1686 return self
->IsShown(info
.sizer
);
1692 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1693 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1694 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1699 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1701 if (source
== Py_None
) {
1702 **obj
= wxGBPosition(-1,-1);
1705 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1708 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1710 if (source
== Py_None
) {
1711 **obj
= wxGBSpan(-1,-1);
1714 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1718 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1722 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1723 bool blocked
= wxPyBeginBlockThreads();
1724 PyObject
* tup
= PyTuple_New(2);
1725 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1726 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1727 wxPyEndBlockThreads(blocked
);
1730 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1731 self
->SetRowspan(rowspan
);
1732 self
->SetColspan(colspan
);
1734 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1735 bool blocked
= wxPyBeginBlockThreads();
1736 PyObject
* tup
= PyTuple_New(2);
1737 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1738 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1739 wxPyEndBlockThreads(blocked
);
1742 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1744 wxPyUserData
* data
= NULL
;
1745 bool blocked
= wxPyBeginBlockThreads();
1746 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1747 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1748 data
= new wxPyUserData(userData
);
1749 wxPyEndBlockThreads(blocked
);
1751 // Now call the real Add method if a valid item type was found
1753 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1754 else if ( info
.sizer
)
1755 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1756 else if (info
.gotSize
)
1757 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1758 pos
, span
, flag
, border
, data
);
1766 static int _wrap_EmptyString_set(PyObject
*_val
) {
1767 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1772 static PyObject
*_wrap_EmptyString_get() {
1777 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1779 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1786 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1787 PyObject
*resultobj
;
1788 wxObject
*arg1
= (wxObject
*) 0 ;
1790 PyObject
* obj0
= 0 ;
1792 (char *) "self", NULL
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1800 result
= wxObject_GetClassName(arg1
);
1802 wxPyEndAllowThreads(__tstate
);
1803 if (PyErr_Occurred()) SWIG_fail
;
1807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1818 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
*resultobj
;
1820 wxObject
*arg1
= (wxObject
*) 0 ;
1821 PyObject
* obj0
= 0 ;
1823 (char *) "self", NULL
1826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 wxObject_Destroy(arg1
);
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1836 Py_INCREF(Py_None
); resultobj
= Py_None
;
1843 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1846 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1848 return Py_BuildValue((char *)"");
1850 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
*resultobj
;
1852 wxSize
*arg1
= (wxSize
*) 0 ;
1854 PyObject
* obj0
= 0 ;
1855 PyObject
* obj1
= 0 ;
1857 (char *) "self",(char *) "x", NULL
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1863 arg2
= (int) SWIG_AsInt(obj1
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1865 if (arg1
) (arg1
)->x
= arg2
;
1867 Py_INCREF(Py_None
); resultobj
= Py_None
;
1874 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
*resultobj
;
1876 wxSize
*arg1
= (wxSize
*) 0 ;
1878 PyObject
* obj0
= 0 ;
1880 (char *) "self", NULL
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1886 result
= (int) ((arg1
)->x
);
1888 resultobj
= SWIG_FromInt((int)result
);
1895 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1896 PyObject
*resultobj
;
1897 wxSize
*arg1
= (wxSize
*) 0 ;
1899 PyObject
* obj0
= 0 ;
1900 PyObject
* obj1
= 0 ;
1902 (char *) "self",(char *) "y", NULL
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1908 arg2
= (int) SWIG_AsInt(obj1
);
1909 if (PyErr_Occurred()) SWIG_fail
;
1910 if (arg1
) (arg1
)->y
= arg2
;
1912 Py_INCREF(Py_None
); resultobj
= Py_None
;
1919 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
*resultobj
;
1921 wxSize
*arg1
= (wxSize
*) 0 ;
1923 PyObject
* obj0
= 0 ;
1925 (char *) "self", NULL
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1931 result
= (int) ((arg1
)->y
);
1933 resultobj
= SWIG_FromInt((int)result
);
1940 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
*resultobj
;
1942 int arg1
= (int) 0 ;
1943 int arg2
= (int) 0 ;
1945 PyObject
* obj0
= 0 ;
1946 PyObject
* obj1
= 0 ;
1948 (char *) "w",(char *) "h", NULL
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1953 arg1
= (int) SWIG_AsInt(obj0
);
1954 if (PyErr_Occurred()) SWIG_fail
;
1957 arg2
= (int) SWIG_AsInt(obj1
);
1958 if (PyErr_Occurred()) SWIG_fail
;
1961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1962 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1964 wxPyEndAllowThreads(__tstate
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1974 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
*resultobj
;
1976 wxSize
*arg1
= (wxSize
*) 0 ;
1977 PyObject
* obj0
= 0 ;
1979 (char *) "self", NULL
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) SWIG_fail
;
1992 Py_INCREF(Py_None
); resultobj
= Py_None
;
1999 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
*resultobj
;
2001 wxSize
*arg1
= (wxSize
*) 0 ;
2005 PyObject
* obj0
= 0 ;
2006 PyObject
* obj1
= 0 ;
2008 (char *) "self",(char *) "sz", NULL
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2016 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2020 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2034 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
*resultobj
;
2036 wxSize
*arg1
= (wxSize
*) 0 ;
2040 PyObject
* obj0
= 0 ;
2041 PyObject
* obj1
= 0 ;
2043 (char *) "self",(char *) "sz", NULL
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2051 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2055 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2057 wxPyEndAllowThreads(__tstate
);
2058 if (PyErr_Occurred()) SWIG_fail
;
2061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2069 static PyObject
*_wrap_Size___add__(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___add__",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
= (arg1
)->operator +((wxSize
const &)*arg2
);
2092 wxPyEndAllowThreads(__tstate
);
2093 if (PyErr_Occurred()) SWIG_fail
;
2097 resultptr
= new wxSize((wxSize
&) result
);
2098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2106 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
*resultobj
;
2108 wxSize
*arg1
= (wxSize
*) 0 ;
2112 PyObject
* obj0
= 0 ;
2113 PyObject
* obj1
= 0 ;
2115 (char *) "self",(char *) "sz", NULL
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2123 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2127 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2129 wxPyEndAllowThreads(__tstate
);
2130 if (PyErr_Occurred()) SWIG_fail
;
2134 resultptr
= new wxSize((wxSize
&) result
);
2135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2143 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
*resultobj
;
2145 wxSize
*arg1
= (wxSize
*) 0 ;
2148 PyObject
* obj0
= 0 ;
2149 PyObject
* obj1
= 0 ;
2151 (char *) "self",(char *) "sz", NULL
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2159 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2163 (arg1
)->IncTo((wxSize
const &)*arg2
);
2165 wxPyEndAllowThreads(__tstate
);
2166 if (PyErr_Occurred()) SWIG_fail
;
2168 Py_INCREF(Py_None
); resultobj
= Py_None
;
2175 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
*resultobj
;
2177 wxSize
*arg1
= (wxSize
*) 0 ;
2180 PyObject
* obj0
= 0 ;
2181 PyObject
* obj1
= 0 ;
2183 (char *) "self",(char *) "sz", NULL
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2191 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2195 (arg1
)->DecTo((wxSize
const &)*arg2
);
2197 wxPyEndAllowThreads(__tstate
);
2198 if (PyErr_Occurred()) SWIG_fail
;
2200 Py_INCREF(Py_None
); resultobj
= Py_None
;
2207 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
*resultobj
;
2209 wxSize
*arg1
= (wxSize
*) 0 ;
2212 PyObject
* obj0
= 0 ;
2213 PyObject
* obj1
= 0 ;
2214 PyObject
* obj2
= 0 ;
2216 (char *) "self",(char *) "w",(char *) "h", NULL
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2222 arg2
= (int) SWIG_AsInt(obj1
);
2223 if (PyErr_Occurred()) SWIG_fail
;
2224 arg3
= (int) SWIG_AsInt(obj2
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2228 (arg1
)->Set(arg2
,arg3
);
2230 wxPyEndAllowThreads(__tstate
);
2231 if (PyErr_Occurred()) SWIG_fail
;
2233 Py_INCREF(Py_None
); resultobj
= Py_None
;
2240 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
*resultobj
;
2242 wxSize
*arg1
= (wxSize
*) 0 ;
2244 PyObject
* obj0
= 0 ;
2245 PyObject
* obj1
= 0 ;
2247 (char *) "self",(char *) "w", NULL
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2253 arg2
= (int) SWIG_AsInt(obj1
);
2254 if (PyErr_Occurred()) SWIG_fail
;
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 (arg1
)->SetWidth(arg2
);
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) SWIG_fail
;
2262 Py_INCREF(Py_None
); resultobj
= Py_None
;
2269 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
*resultobj
;
2271 wxSize
*arg1
= (wxSize
*) 0 ;
2273 PyObject
* obj0
= 0 ;
2274 PyObject
* obj1
= 0 ;
2276 (char *) "self",(char *) "h", NULL
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2282 arg2
= (int) SWIG_AsInt(obj1
);
2283 if (PyErr_Occurred()) SWIG_fail
;
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2286 (arg1
)->SetHeight(arg2
);
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) SWIG_fail
;
2291 Py_INCREF(Py_None
); resultobj
= Py_None
;
2298 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
*resultobj
;
2300 wxSize
*arg1
= (wxSize
*) 0 ;
2302 PyObject
* obj0
= 0 ;
2304 (char *) "self", NULL
2307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2317 resultobj
= SWIG_FromInt((int)result
);
2324 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
*resultobj
;
2326 wxSize
*arg1
= (wxSize
*) 0 ;
2328 PyObject
* obj0
= 0 ;
2330 (char *) "self", NULL
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2338 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2340 wxPyEndAllowThreads(__tstate
);
2341 if (PyErr_Occurred()) SWIG_fail
;
2343 resultobj
= SWIG_FromInt((int)result
);
2350 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
*resultobj
;
2352 wxSize
*arg1
= (wxSize
*) 0 ;
2354 PyObject
* obj0
= 0 ;
2356 (char *) "self", NULL
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2364 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2366 wxPyEndAllowThreads(__tstate
);
2367 if (PyErr_Occurred()) SWIG_fail
;
2370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2378 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
*resultobj
;
2380 wxSize
*arg1
= (wxSize
*) 0 ;
2383 PyObject
* obj0
= 0 ;
2384 PyObject
* obj1
= 0 ;
2386 (char *) "self",(char *) "size", NULL
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2394 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2398 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2400 wxPyEndAllowThreads(__tstate
);
2401 if (PyErr_Occurred()) SWIG_fail
;
2403 Py_INCREF(Py_None
); resultobj
= Py_None
;
2410 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2411 PyObject
*resultobj
;
2412 wxSize
*arg1
= (wxSize
*) 0 ;
2414 PyObject
* obj0
= 0 ;
2416 (char *) "self", NULL
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2424 result
= (PyObject
*)wxSize_Get(arg1
);
2426 wxPyEndAllowThreads(__tstate
);
2427 if (PyErr_Occurred()) SWIG_fail
;
2436 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2439 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2441 return Py_BuildValue((char *)"");
2443 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
*resultobj
;
2445 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2447 PyObject
* obj0
= 0 ;
2448 PyObject
* obj1
= 0 ;
2450 (char *) "self",(char *) "x", NULL
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2456 arg2
= (double) SWIG_AsDouble(obj1
);
2457 if (PyErr_Occurred()) SWIG_fail
;
2458 if (arg1
) (arg1
)->x
= arg2
;
2460 Py_INCREF(Py_None
); resultobj
= Py_None
;
2467 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2468 PyObject
*resultobj
;
2469 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2471 PyObject
* obj0
= 0 ;
2473 (char *) "self", NULL
2476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2479 result
= (double) ((arg1
)->x
);
2481 resultobj
= SWIG_FromDouble((double)result
);
2488 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
*resultobj
;
2490 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2492 PyObject
* obj0
= 0 ;
2493 PyObject
* obj1
= 0 ;
2495 (char *) "self",(char *) "y", NULL
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2501 arg2
= (double) SWIG_AsDouble(obj1
);
2502 if (PyErr_Occurred()) SWIG_fail
;
2503 if (arg1
) (arg1
)->y
= arg2
;
2505 Py_INCREF(Py_None
); resultobj
= Py_None
;
2512 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
*resultobj
;
2514 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2516 PyObject
* obj0
= 0 ;
2518 (char *) "self", NULL
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2524 result
= (double) ((arg1
)->y
);
2526 resultobj
= SWIG_FromDouble((double)result
);
2533 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
*resultobj
;
2535 double arg1
= (double) 0.0 ;
2536 double arg2
= (double) 0.0 ;
2537 wxRealPoint
*result
;
2538 PyObject
* obj0
= 0 ;
2539 PyObject
* obj1
= 0 ;
2541 (char *) "x",(char *) "y", NULL
2544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2546 arg1
= (double) SWIG_AsDouble(obj0
);
2547 if (PyErr_Occurred()) SWIG_fail
;
2550 arg2
= (double) SWIG_AsDouble(obj1
);
2551 if (PyErr_Occurred()) SWIG_fail
;
2554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2555 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2557 wxPyEndAllowThreads(__tstate
);
2558 if (PyErr_Occurred()) SWIG_fail
;
2560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2567 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
*resultobj
;
2569 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2570 PyObject
* obj0
= 0 ;
2572 (char *) "self", NULL
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) SWIG_fail
;
2585 Py_INCREF(Py_None
); resultobj
= Py_None
;
2592 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
*resultobj
;
2594 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2595 wxRealPoint
*arg2
= 0 ;
2598 PyObject
* obj0
= 0 ;
2599 PyObject
* obj1
= 0 ;
2601 (char *) "self",(char *) "pt", NULL
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2609 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2627 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2628 PyObject
*resultobj
;
2629 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2630 wxRealPoint
*arg2
= 0 ;
2633 PyObject
* obj0
= 0 ;
2634 PyObject
* obj1
= 0 ;
2636 (char *) "self",(char *) "pt", NULL
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2644 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2648 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2650 wxPyEndAllowThreads(__tstate
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2662 static PyObject
*_wrap_RealPoint___add__(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___add__",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
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2685 wxPyEndAllowThreads(__tstate
);
2686 if (PyErr_Occurred()) SWIG_fail
;
2689 wxRealPoint
* resultptr
;
2690 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2699 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
;
2701 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2702 wxRealPoint
*arg2
= 0 ;
2705 PyObject
* obj0
= 0 ;
2706 PyObject
* obj1
= 0 ;
2708 (char *) "self",(char *) "pt", NULL
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2716 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) SWIG_fail
;
2726 wxRealPoint
* resultptr
;
2727 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2736 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
*resultobj
;
2738 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2741 PyObject
* obj0
= 0 ;
2742 PyObject
* obj1
= 0 ;
2743 PyObject
* obj2
= 0 ;
2745 (char *) "self",(char *) "x",(char *) "y", NULL
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2751 arg2
= (double) SWIG_AsDouble(obj1
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2753 arg3
= (double) SWIG_AsDouble(obj2
);
2754 if (PyErr_Occurred()) SWIG_fail
;
2756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 wxRealPoint_Set(arg1
,arg2
,arg3
);
2759 wxPyEndAllowThreads(__tstate
);
2760 if (PyErr_Occurred()) SWIG_fail
;
2762 Py_INCREF(Py_None
); resultobj
= Py_None
;
2769 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
*resultobj
;
2771 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2773 PyObject
* obj0
= 0 ;
2775 (char *) "self", NULL
2778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2783 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2785 wxPyEndAllowThreads(__tstate
);
2786 if (PyErr_Occurred()) SWIG_fail
;
2795 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2798 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2800 return Py_BuildValue((char *)"");
2802 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
*resultobj
;
2804 wxPoint
*arg1
= (wxPoint
*) 0 ;
2806 PyObject
* obj0
= 0 ;
2807 PyObject
* obj1
= 0 ;
2809 (char *) "self",(char *) "x", NULL
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2815 arg2
= (int) SWIG_AsInt(obj1
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2817 if (arg1
) (arg1
)->x
= arg2
;
2819 Py_INCREF(Py_None
); resultobj
= Py_None
;
2826 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
*resultobj
;
2828 wxPoint
*arg1
= (wxPoint
*) 0 ;
2830 PyObject
* obj0
= 0 ;
2832 (char *) "self", NULL
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2838 result
= (int) ((arg1
)->x
);
2840 resultobj
= SWIG_FromInt((int)result
);
2847 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
*resultobj
;
2849 wxPoint
*arg1
= (wxPoint
*) 0 ;
2851 PyObject
* obj0
= 0 ;
2852 PyObject
* obj1
= 0 ;
2854 (char *) "self",(char *) "y", NULL
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2860 arg2
= (int) SWIG_AsInt(obj1
);
2861 if (PyErr_Occurred()) SWIG_fail
;
2862 if (arg1
) (arg1
)->y
= arg2
;
2864 Py_INCREF(Py_None
); resultobj
= Py_None
;
2871 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
*resultobj
;
2873 wxPoint
*arg1
= (wxPoint
*) 0 ;
2875 PyObject
* obj0
= 0 ;
2877 (char *) "self", NULL
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2883 result
= (int) ((arg1
)->y
);
2885 resultobj
= SWIG_FromInt((int)result
);
2892 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2893 PyObject
*resultobj
;
2894 int arg1
= (int) 0 ;
2895 int arg2
= (int) 0 ;
2897 PyObject
* obj0
= 0 ;
2898 PyObject
* obj1
= 0 ;
2900 (char *) "x",(char *) "y", NULL
2903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2905 arg1
= (int) SWIG_AsInt(obj0
);
2906 if (PyErr_Occurred()) SWIG_fail
;
2909 arg2
= (int) SWIG_AsInt(obj1
);
2910 if (PyErr_Occurred()) SWIG_fail
;
2913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2914 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2916 wxPyEndAllowThreads(__tstate
);
2917 if (PyErr_Occurred()) SWIG_fail
;
2919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2926 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2927 PyObject
*resultobj
;
2928 wxPoint
*arg1
= (wxPoint
*) 0 ;
2929 PyObject
* obj0
= 0 ;
2931 (char *) "self", NULL
2934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2944 Py_INCREF(Py_None
); resultobj
= Py_None
;
2951 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
*resultobj
;
2953 wxPoint
*arg1
= (wxPoint
*) 0 ;
2957 PyObject
* obj0
= 0 ;
2958 PyObject
* obj1
= 0 ;
2960 (char *) "self",(char *) "pt", NULL
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2968 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2972 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2974 wxPyEndAllowThreads(__tstate
);
2975 if (PyErr_Occurred()) SWIG_fail
;
2978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2986 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
*resultobj
;
2988 wxPoint
*arg1
= (wxPoint
*) 0 ;
2992 PyObject
* obj0
= 0 ;
2993 PyObject
* obj1
= 0 ;
2995 (char *) "self",(char *) "pt", NULL
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3003 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3007 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3009 wxPyEndAllowThreads(__tstate
);
3010 if (PyErr_Occurred()) SWIG_fail
;
3013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3021 static PyObject
*_wrap_Point___add__(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___add__",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
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) SWIG_fail
;
3048 wxPoint
* resultptr
;
3049 resultptr
= new wxPoint((wxPoint
&) result
);
3050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3058 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
*resultobj
;
3060 wxPoint
*arg1
= (wxPoint
*) 0 ;
3064 PyObject
* obj0
= 0 ;
3065 PyObject
* obj1
= 0 ;
3067 (char *) "self",(char *) "pt", NULL
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3075 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3085 wxPoint
* resultptr
;
3086 resultptr
= new wxPoint((wxPoint
&) result
);
3087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3095 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3096 PyObject
*resultobj
;
3097 wxPoint
*arg1
= (wxPoint
*) 0 ;
3101 PyObject
* obj0
= 0 ;
3102 PyObject
* obj1
= 0 ;
3104 (char *) "self",(char *) "pt", NULL
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3112 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3117 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3118 result
= (wxPoint
*) &_result_ref
;
3121 wxPyEndAllowThreads(__tstate
);
3122 if (PyErr_Occurred()) SWIG_fail
;
3124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3131 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
*resultobj
;
3133 wxPoint
*arg1
= (wxPoint
*) 0 ;
3137 PyObject
* obj0
= 0 ;
3138 PyObject
* obj1
= 0 ;
3140 (char *) "self",(char *) "pt", NULL
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3148 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3153 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3154 result
= (wxPoint
*) &_result_ref
;
3157 wxPyEndAllowThreads(__tstate
);
3158 if (PyErr_Occurred()) SWIG_fail
;
3160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3167 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
*resultobj
;
3169 wxPoint
*arg1
= (wxPoint
*) 0 ;
3172 PyObject
* obj0
= 0 ;
3173 PyObject
* obj1
= 0 ;
3174 PyObject
* obj2
= 0 ;
3176 (char *) "self",(char *) "x",(char *) "y", NULL
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3182 arg2
= (long) SWIG_AsLong(obj1
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3184 arg3
= (long) SWIG_AsLong(obj2
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 wxPoint_Set(arg1
,arg2
,arg3
);
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3193 Py_INCREF(Py_None
); resultobj
= Py_None
;
3200 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
*resultobj
;
3202 wxPoint
*arg1
= (wxPoint
*) 0 ;
3204 PyObject
* obj0
= 0 ;
3206 (char *) "self", NULL
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 result
= (PyObject
*)wxPoint_Get(arg1
);
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) SWIG_fail
;
3226 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3229 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3231 return Py_BuildValue((char *)"");
3233 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
*resultobj
;
3235 int arg1
= (int) 0 ;
3236 int arg2
= (int) 0 ;
3237 int arg3
= (int) 0 ;
3238 int arg4
= (int) 0 ;
3240 PyObject
* obj0
= 0 ;
3241 PyObject
* obj1
= 0 ;
3242 PyObject
* obj2
= 0 ;
3243 PyObject
* obj3
= 0 ;
3245 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3250 arg1
= (int) SWIG_AsInt(obj0
);
3251 if (PyErr_Occurred()) SWIG_fail
;
3254 arg2
= (int) SWIG_AsInt(obj1
);
3255 if (PyErr_Occurred()) SWIG_fail
;
3258 arg3
= (int) SWIG_AsInt(obj2
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3262 arg4
= (int) SWIG_AsInt(obj3
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3279 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
*resultobj
;
3286 PyObject
* obj0
= 0 ;
3287 PyObject
* obj1
= 0 ;
3289 (char *) "topLeft",(char *) "bottomRight", NULL
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3295 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3299 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3315 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
*resultobj
;
3322 PyObject
* obj0
= 0 ;
3323 PyObject
* obj1
= 0 ;
3325 (char *) "pos",(char *) "size", NULL
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3331 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3335 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3351 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
*resultobj
;
3353 wxRect
*arg1
= (wxRect
*) 0 ;
3354 PyObject
* obj0
= 0 ;
3356 (char *) "self", NULL
3359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3366 wxPyEndAllowThreads(__tstate
);
3367 if (PyErr_Occurred()) SWIG_fail
;
3369 Py_INCREF(Py_None
); resultobj
= Py_None
;
3376 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
*resultobj
;
3378 wxRect
*arg1
= (wxRect
*) 0 ;
3380 PyObject
* obj0
= 0 ;
3382 (char *) "self", NULL
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3390 result
= (int)((wxRect
const *)arg1
)->GetX();
3392 wxPyEndAllowThreads(__tstate
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3395 resultobj
= SWIG_FromInt((int)result
);
3402 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
;
3404 wxRect
*arg1
= (wxRect
*) 0 ;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3409 (char *) "self",(char *) "x", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3415 arg2
= (int) SWIG_AsInt(obj1
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3424 Py_INCREF(Py_None
); resultobj
= Py_None
;
3431 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
*resultobj
;
3433 wxRect
*arg1
= (wxRect
*) 0 ;
3435 PyObject
* obj0
= 0 ;
3437 (char *) "self", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 result
= (int)(arg1
)->GetY();
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3450 resultobj
= SWIG_FromInt((int)result
);
3457 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxRect
*arg1
= (wxRect
*) 0 ;
3461 PyObject
* obj0
= 0 ;
3462 PyObject
* obj1
= 0 ;
3464 (char *) "self",(char *) "y", NULL
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3470 arg2
= (int) SWIG_AsInt(obj1
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 Py_INCREF(Py_None
); resultobj
= Py_None
;
3486 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
;
3488 wxRect
*arg1
= (wxRect
*) 0 ;
3490 PyObject
* obj0
= 0 ;
3492 (char *) "self", NULL
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 resultobj
= SWIG_FromInt((int)result
);
3512 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
;
3514 wxRect
*arg1
= (wxRect
*) 0 ;
3516 PyObject
* obj0
= 0 ;
3517 PyObject
* obj1
= 0 ;
3519 (char *) "self",(char *) "w", NULL
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3525 arg2
= (int) SWIG_AsInt(obj1
);
3526 if (PyErr_Occurred()) SWIG_fail
;
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3529 (arg1
)->SetWidth(arg2
);
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) SWIG_fail
;
3534 Py_INCREF(Py_None
); resultobj
= Py_None
;
3541 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
*resultobj
;
3543 wxRect
*arg1
= (wxRect
*) 0 ;
3545 PyObject
* obj0
= 0 ;
3547 (char *) "self", NULL
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3560 resultobj
= SWIG_FromInt((int)result
);
3567 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
*resultobj
;
3569 wxRect
*arg1
= (wxRect
*) 0 ;
3571 PyObject
* obj0
= 0 ;
3572 PyObject
* obj1
= 0 ;
3574 (char *) "self",(char *) "h", NULL
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3580 arg2
= (int) SWIG_AsInt(obj1
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3584 (arg1
)->SetHeight(arg2
);
3586 wxPyEndAllowThreads(__tstate
);
3587 if (PyErr_Occurred()) SWIG_fail
;
3589 Py_INCREF(Py_None
); resultobj
= Py_None
;
3596 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3598 wxRect
*arg1
= (wxRect
*) 0 ;
3600 PyObject
* obj0
= 0 ;
3602 (char *) "self", NULL
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 result
= ((wxRect
const *)arg1
)->GetPosition();
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3616 wxPoint
* resultptr
;
3617 resultptr
= new wxPoint((wxPoint
&) result
);
3618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3626 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
*resultobj
;
3628 wxRect
*arg1
= (wxRect
*) 0 ;
3631 PyObject
* obj0
= 0 ;
3632 PyObject
* obj1
= 0 ;
3634 (char *) "self",(char *) "p", NULL
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3642 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3651 Py_INCREF(Py_None
); resultobj
= Py_None
;
3658 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3660 wxRect
*arg1
= (wxRect
*) 0 ;
3662 PyObject
* obj0
= 0 ;
3664 (char *) "self", NULL
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 result
= ((wxRect
const *)arg1
)->GetSize();
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3679 resultptr
= new wxSize((wxSize
&) result
);
3680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3688 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxRect
*arg1
= (wxRect
*) 0 ;
3693 PyObject
* obj0
= 0 ;
3694 PyObject
* obj1
= 0 ;
3696 (char *) "self",(char *) "s", NULL
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3704 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3708 (arg1
)->SetSize((wxSize
const &)*arg2
);
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) SWIG_fail
;
3713 Py_INCREF(Py_None
); resultobj
= Py_None
;
3720 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
*resultobj
;
3722 wxRect
*arg1
= (wxRect
*) 0 ;
3724 PyObject
* obj0
= 0 ;
3726 (char *) "self", NULL
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3740 wxPoint
* resultptr
;
3741 resultptr
= new wxPoint((wxPoint
&) result
);
3742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3750 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3752 wxRect
*arg1
= (wxRect
*) 0 ;
3755 PyObject
* obj0
= 0 ;
3756 PyObject
* obj1
= 0 ;
3758 (char *) "self",(char *) "p", NULL
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3766 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3775 Py_INCREF(Py_None
); resultobj
= Py_None
;
3782 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
*resultobj
;
3784 wxRect
*arg1
= (wxRect
*) 0 ;
3786 PyObject
* obj0
= 0 ;
3788 (char *) "self", NULL
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3802 wxPoint
* resultptr
;
3803 resultptr
= new wxPoint((wxPoint
&) result
);
3804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3812 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
*resultobj
;
3814 wxRect
*arg1
= (wxRect
*) 0 ;
3817 PyObject
* obj0
= 0 ;
3818 PyObject
* obj1
= 0 ;
3820 (char *) "self",(char *) "p", NULL
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3828 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3832 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 Py_INCREF(Py_None
); resultobj
= Py_None
;
3844 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
;
3846 wxRect
*arg1
= (wxRect
*) 0 ;
3848 PyObject
* obj0
= 0 ;
3850 (char *) "self", NULL
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= SWIG_FromInt((int)result
);
3870 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3872 wxRect
*arg1
= (wxRect
*) 0 ;
3874 PyObject
* obj0
= 0 ;
3876 (char *) "self", NULL
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 result
= (int)((wxRect
const *)arg1
)->GetTop();
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) SWIG_fail
;
3889 resultobj
= SWIG_FromInt((int)result
);
3896 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
*resultobj
;
3898 wxRect
*arg1
= (wxRect
*) 0 ;
3900 PyObject
* obj0
= 0 ;
3902 (char *) "self", NULL
3905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3915 resultobj
= SWIG_FromInt((int)result
);
3922 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3924 wxRect
*arg1
= (wxRect
*) 0 ;
3926 PyObject
* obj0
= 0 ;
3928 (char *) "self", NULL
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3936 result
= (int)((wxRect
const *)arg1
)->GetRight();
3938 wxPyEndAllowThreads(__tstate
);
3939 if (PyErr_Occurred()) SWIG_fail
;
3941 resultobj
= SWIG_FromInt((int)result
);
3948 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
*resultobj
;
3950 wxRect
*arg1
= (wxRect
*) 0 ;
3952 PyObject
* obj0
= 0 ;
3953 PyObject
* obj1
= 0 ;
3955 (char *) "self",(char *) "left", NULL
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3961 arg2
= (int) SWIG_AsInt(obj1
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 (arg1
)->SetLeft(arg2
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3970 Py_INCREF(Py_None
); resultobj
= Py_None
;
3977 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
*resultobj
;
3979 wxRect
*arg1
= (wxRect
*) 0 ;
3981 PyObject
* obj0
= 0 ;
3982 PyObject
* obj1
= 0 ;
3984 (char *) "self",(char *) "right", NULL
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3990 arg2
= (int) SWIG_AsInt(obj1
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 (arg1
)->SetRight(arg2
);
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) SWIG_fail
;
3999 Py_INCREF(Py_None
); resultobj
= Py_None
;
4006 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
*resultobj
;
4008 wxRect
*arg1
= (wxRect
*) 0 ;
4010 PyObject
* obj0
= 0 ;
4011 PyObject
* obj1
= 0 ;
4013 (char *) "self",(char *) "top", NULL
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4019 arg2
= (int) SWIG_AsInt(obj1
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 (arg1
)->SetTop(arg2
);
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4028 Py_INCREF(Py_None
); resultobj
= Py_None
;
4035 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
*resultobj
;
4037 wxRect
*arg1
= (wxRect
*) 0 ;
4039 PyObject
* obj0
= 0 ;
4040 PyObject
* obj1
= 0 ;
4042 (char *) "self",(char *) "bottom", NULL
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4048 arg2
= (int) SWIG_AsInt(obj1
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4052 (arg1
)->SetBottom(arg2
);
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) SWIG_fail
;
4057 Py_INCREF(Py_None
); resultobj
= Py_None
;
4064 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
*resultobj
;
4066 wxRect
*arg1
= (wxRect
*) 0 ;
4070 PyObject
* obj0
= 0 ;
4071 PyObject
* obj1
= 0 ;
4072 PyObject
* obj2
= 0 ;
4074 (char *) "self",(char *) "dx",(char *) "dy", NULL
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4080 arg2
= (int) SWIG_AsInt(obj1
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4082 arg3
= (int) SWIG_AsInt(obj2
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4088 result
= (wxRect
*) &_result_ref
;
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4101 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4103 wxRect
*arg1
= (wxRect
*) 0 ;
4107 PyObject
* obj0
= 0 ;
4108 PyObject
* obj1
= 0 ;
4109 PyObject
* obj2
= 0 ;
4111 (char *) "self",(char *) "dx",(char *) "dy", NULL
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4117 arg2
= (int) SWIG_AsInt(obj1
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4119 arg3
= (int) SWIG_AsInt(obj2
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4125 result
= (wxRect
*) &_result_ref
;
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4138 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
*resultobj
;
4140 wxRect
*arg1
= (wxRect
*) 0 ;
4143 PyObject
* obj0
= 0 ;
4144 PyObject
* obj1
= 0 ;
4145 PyObject
* obj2
= 0 ;
4147 (char *) "self",(char *) "dx",(char *) "dy", NULL
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4153 arg2
= (int) SWIG_AsInt(obj1
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4155 arg3
= (int) SWIG_AsInt(obj2
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 (arg1
)->Offset(arg2
,arg3
);
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4164 Py_INCREF(Py_None
); resultobj
= Py_None
;
4171 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
*resultobj
;
4173 wxRect
*arg1
= (wxRect
*) 0 ;
4176 PyObject
* obj0
= 0 ;
4177 PyObject
* obj1
= 0 ;
4179 (char *) "self",(char *) "pt", NULL
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4187 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 (arg1
)->Offset((wxPoint
const &)*arg2
);
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 Py_INCREF(Py_None
); resultobj
= Py_None
;
4203 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
;
4205 wxRect
*arg1
= (wxRect
*) 0 ;
4209 PyObject
* obj0
= 0 ;
4210 PyObject
* obj1
= 0 ;
4212 (char *) "self",(char *) "rect", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4220 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4226 result
= (wxRect
*) &_result_ref
;
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4239 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
*resultobj
;
4241 wxRect
*arg1
= (wxRect
*) 0 ;
4245 PyObject
* obj0
= 0 ;
4246 PyObject
* obj1
= 0 ;
4248 (char *) "self",(char *) "rect", NULL
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4256 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4267 resultptr
= new wxRect((wxRect
&) result
);
4268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4276 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
;
4278 wxRect
*arg1
= (wxRect
*) 0 ;
4282 PyObject
* obj0
= 0 ;
4283 PyObject
* obj1
= 0 ;
4285 (char *) "self",(char *) "rect", NULL
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4293 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4299 result
= (wxRect
*) &_result_ref
;
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4312 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
;
4314 wxRect
*arg1
= (wxRect
*) 0 ;
4318 PyObject
* obj0
= 0 ;
4319 PyObject
* obj1
= 0 ;
4321 (char *) "self",(char *) "rect", NULL
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4329 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4347 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
*resultobj
;
4349 wxRect
*arg1
= (wxRect
*) 0 ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4356 (char *) "self",(char *) "rect", NULL
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4364 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4368 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4370 wxPyEndAllowThreads(__tstate
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4382 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
;
4384 wxRect
*arg1
= (wxRect
*) 0 ;
4388 PyObject
* obj0
= 0 ;
4389 PyObject
* obj1
= 0 ;
4390 PyObject
* obj2
= 0 ;
4392 (char *) "self",(char *) "x",(char *) "y", NULL
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4398 arg2
= (int) SWIG_AsInt(obj1
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4400 arg3
= (int) SWIG_AsInt(obj2
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4418 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
*resultobj
;
4420 wxRect
*arg1
= (wxRect
*) 0 ;
4424 PyObject
* obj0
= 0 ;
4425 PyObject
* obj1
= 0 ;
4427 (char *) "self",(char *) "pt", NULL
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4435 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4453 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
;
4455 wxRect
*arg1
= (wxRect
*) 0 ;
4459 PyObject
* obj0
= 0 ;
4460 PyObject
* obj1
= 0 ;
4462 (char *) "self",(char *) "rect", NULL
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4470 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4488 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxRect
*arg1
= (wxRect
*) 0 ;
4492 PyObject
* obj0
= 0 ;
4493 PyObject
* obj1
= 0 ;
4495 (char *) "self",(char *) "x", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4501 arg2
= (int) SWIG_AsInt(obj1
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4503 if (arg1
) (arg1
)->x
= arg2
;
4505 Py_INCREF(Py_None
); resultobj
= Py_None
;
4512 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4514 wxRect
*arg1
= (wxRect
*) 0 ;
4516 PyObject
* obj0
= 0 ;
4518 (char *) "self", NULL
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4524 result
= (int) ((arg1
)->x
);
4526 resultobj
= SWIG_FromInt((int)result
);
4533 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4535 wxRect
*arg1
= (wxRect
*) 0 ;
4537 PyObject
* obj0
= 0 ;
4538 PyObject
* obj1
= 0 ;
4540 (char *) "self",(char *) "y", NULL
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4546 arg2
= (int) SWIG_AsInt(obj1
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4548 if (arg1
) (arg1
)->y
= arg2
;
4550 Py_INCREF(Py_None
); resultobj
= Py_None
;
4557 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
*resultobj
;
4559 wxRect
*arg1
= (wxRect
*) 0 ;
4561 PyObject
* obj0
= 0 ;
4563 (char *) "self", NULL
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4569 result
= (int) ((arg1
)->y
);
4571 resultobj
= SWIG_FromInt((int)result
);
4578 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxRect
*arg1
= (wxRect
*) 0 ;
4582 PyObject
* obj0
= 0 ;
4583 PyObject
* obj1
= 0 ;
4585 (char *) "self",(char *) "width", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4591 arg2
= (int) SWIG_AsInt(obj1
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4593 if (arg1
) (arg1
)->width
= arg2
;
4595 Py_INCREF(Py_None
); resultobj
= Py_None
;
4602 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
*resultobj
;
4604 wxRect
*arg1
= (wxRect
*) 0 ;
4606 PyObject
* obj0
= 0 ;
4608 (char *) "self", NULL
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4614 result
= (int) ((arg1
)->width
);
4616 resultobj
= SWIG_FromInt((int)result
);
4623 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
;
4625 wxRect
*arg1
= (wxRect
*) 0 ;
4627 PyObject
* obj0
= 0 ;
4628 PyObject
* obj1
= 0 ;
4630 (char *) "self",(char *) "height", NULL
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4636 arg2
= (int) SWIG_AsInt(obj1
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4638 if (arg1
) (arg1
)->height
= arg2
;
4640 Py_INCREF(Py_None
); resultobj
= Py_None
;
4647 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
;
4649 wxRect
*arg1
= (wxRect
*) 0 ;
4651 PyObject
* obj0
= 0 ;
4653 (char *) "self", NULL
4656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4659 result
= (int) ((arg1
)->height
);
4661 resultobj
= SWIG_FromInt((int)result
);
4668 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
;
4670 wxRect
*arg1
= (wxRect
*) 0 ;
4671 int arg2
= (int) 0 ;
4672 int arg3
= (int) 0 ;
4673 int arg4
= (int) 0 ;
4674 int arg5
= (int) 0 ;
4675 PyObject
* obj0
= 0 ;
4676 PyObject
* obj1
= 0 ;
4677 PyObject
* obj2
= 0 ;
4678 PyObject
* obj3
= 0 ;
4679 PyObject
* obj4
= 0 ;
4681 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4688 arg2
= (int) SWIG_AsInt(obj1
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4692 arg3
= (int) SWIG_AsInt(obj2
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4696 arg4
= (int) SWIG_AsInt(obj3
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4700 arg5
= (int) SWIG_AsInt(obj4
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4705 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4710 Py_INCREF(Py_None
); resultobj
= Py_None
;
4717 static PyObject
*_wrap_Rect_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_Get",kwnames
,&obj0
)) goto fail
;
4727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 result
= (PyObject
*)wxRect_Get(arg1
);
4733 wxPyEndAllowThreads(__tstate
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4743 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4746 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4748 return Py_BuildValue((char *)"");
4750 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 wxRect
*arg1
= (wxRect
*) 0 ;
4753 wxRect
*arg2
= (wxRect
*) 0 ;
4755 PyObject
* obj0
= 0 ;
4756 PyObject
* obj1
= 0 ;
4758 (char *) "r1",(char *) "r2", NULL
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4780 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4782 double arg1
= (double) 0.0 ;
4783 double arg2
= (double) 0.0 ;
4785 PyObject
* obj0
= 0 ;
4786 PyObject
* obj1
= 0 ;
4788 (char *) "x",(char *) "y", NULL
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4793 arg1
= (double) SWIG_AsDouble(obj0
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4797 arg2
= (double) SWIG_AsDouble(obj1
);
4798 if (PyErr_Occurred()) SWIG_fail
;
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4814 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
*resultobj
;
4816 wxPoint2D
*arg1
= 0 ;
4819 PyObject
* obj0
= 0 ;
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4827 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4843 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
;
4848 PyObject
* obj0
= 0 ;
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4856 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4872 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
*resultobj
;
4874 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4875 int *arg2
= (int *) 0 ;
4876 int *arg3
= (int *) 0 ;
4879 PyObject
* obj0
= 0 ;
4881 (char *) "self", NULL
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4896 Py_INCREF(Py_None
); resultobj
= Py_None
;
4898 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4899 resultobj
= t_output_helper(resultobj
,o
);
4902 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4903 resultobj
= t_output_helper(resultobj
,o
);
4911 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
;
4913 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4914 int *arg2
= (int *) 0 ;
4915 int *arg3
= (int *) 0 ;
4918 PyObject
* obj0
= 0 ;
4920 (char *) "self", NULL
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4935 Py_INCREF(Py_None
); resultobj
= Py_None
;
4937 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4938 resultobj
= t_output_helper(resultobj
,o
);
4941 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4942 resultobj
= t_output_helper(resultobj
,o
);
4950 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
*resultobj
;
4952 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4954 PyObject
* obj0
= 0 ;
4956 (char *) "self", NULL
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 resultobj
= SWIG_FromDouble((double)result
);
4976 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
;
4978 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4980 PyObject
* obj0
= 0 ;
4982 (char *) "self", NULL
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4990 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4995 resultobj
= SWIG_FromDouble((double)result
);
5002 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5004 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5006 PyObject
* obj0
= 0 ;
5007 PyObject
* obj1
= 0 ;
5009 (char *) "self",(char *) "length", NULL
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5015 arg2
= (double) SWIG_AsDouble(obj1
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 (arg1
)->SetVectorLength(arg2
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 Py_INCREF(Py_None
); resultobj
= Py_None
;
5031 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
*resultobj
;
5033 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5035 PyObject
* obj0
= 0 ;
5036 PyObject
* obj1
= 0 ;
5038 (char *) "self",(char *) "degrees", NULL
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5044 arg2
= (double) SWIG_AsDouble(obj1
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 (arg1
)->SetVectorAngle(arg2
);
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 Py_INCREF(Py_None
); resultobj
= Py_None
;
5060 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
;
5062 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5063 wxPoint2D
*arg2
= 0 ;
5066 PyObject
* obj0
= 0 ;
5067 PyObject
* obj1
= 0 ;
5069 (char *) "self",(char *) "pt", NULL
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5077 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5086 resultobj
= SWIG_FromDouble((double)result
);
5093 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
;
5095 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5096 wxPoint2D
*arg2
= 0 ;
5099 PyObject
* obj0
= 0 ;
5100 PyObject
* obj1
= 0 ;
5102 (char *) "self",(char *) "pt", NULL
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5110 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 resultobj
= SWIG_FromDouble((double)result
);
5126 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5129 wxPoint2D
*arg2
= 0 ;
5132 PyObject
* obj0
= 0 ;
5133 PyObject
* obj1
= 0 ;
5135 (char *) "self",(char *) "vec", NULL
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5143 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5149 wxPyEndAllowThreads(__tstate
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5152 resultobj
= SWIG_FromDouble((double)result
);
5159 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
*resultobj
;
5161 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5162 wxPoint2D
*arg2
= 0 ;
5165 PyObject
* obj0
= 0 ;
5166 PyObject
* obj1
= 0 ;
5168 (char *) "self",(char *) "vec", NULL
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5176 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5185 resultobj
= SWIG_FromDouble((double)result
);
5192 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
;
5194 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5196 PyObject
* obj0
= 0 ;
5198 (char *) "self", NULL
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (arg1
)->operator -();
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5212 wxPoint2D
* resultptr
;
5213 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5222 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
*resultobj
;
5224 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5225 wxPoint2D
*arg2
= 0 ;
5228 PyObject
* obj0
= 0 ;
5229 PyObject
* obj1
= 0 ;
5231 (char *) "self",(char *) "pt", NULL
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5239 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5245 result
= (wxPoint2D
*) &_result_ref
;
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5258 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5261 wxPoint2D
*arg2
= 0 ;
5264 PyObject
* obj0
= 0 ;
5265 PyObject
* obj1
= 0 ;
5267 (char *) "self",(char *) "pt", NULL
5270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5275 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5281 result
= (wxPoint2D
*) &_result_ref
;
5284 wxPyEndAllowThreads(__tstate
);
5285 if (PyErr_Occurred()) SWIG_fail
;
5287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5294 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
*resultobj
;
5296 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5297 wxPoint2D
*arg2
= 0 ;
5300 PyObject
* obj0
= 0 ;
5301 PyObject
* obj1
= 0 ;
5303 (char *) "self",(char *) "pt", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5311 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5317 result
= (wxPoint2D
*) &_result_ref
;
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5330 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
*resultobj
;
5332 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5333 wxPoint2D
*arg2
= 0 ;
5336 PyObject
* obj0
= 0 ;
5337 PyObject
* obj1
= 0 ;
5339 (char *) "self",(char *) "pt", NULL
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5347 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5353 result
= (wxPoint2D
*) &_result_ref
;
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5366 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
;
5368 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5369 wxPoint2D
*arg2
= 0 ;
5372 PyObject
* obj0
= 0 ;
5373 PyObject
* obj1
= 0 ;
5375 (char *) "self",(char *) "pt", NULL
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5383 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5401 static PyObject
*_wrap_Point2D___ne__(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___ne__",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();
5422 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5436 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5440 PyObject
* obj0
= 0 ;
5441 PyObject
* obj1
= 0 ;
5443 (char *) "self",(char *) "m_x", NULL
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5449 arg2
= (double) SWIG_AsDouble(obj1
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5451 if (arg1
) (arg1
)->m_x
= arg2
;
5453 Py_INCREF(Py_None
); resultobj
= Py_None
;
5460 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
*resultobj
;
5462 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5464 PyObject
* obj0
= 0 ;
5466 (char *) "self", NULL
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5472 result
= (double) ((arg1
)->m_x
);
5474 resultobj
= SWIG_FromDouble((double)result
);
5481 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
;
5483 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5485 PyObject
* obj0
= 0 ;
5486 PyObject
* obj1
= 0 ;
5488 (char *) "self",(char *) "m_y", NULL
5491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5494 arg2
= (double) SWIG_AsDouble(obj1
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5496 if (arg1
) (arg1
)->m_y
= arg2
;
5498 Py_INCREF(Py_None
); resultobj
= Py_None
;
5505 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
*resultobj
;
5507 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5509 PyObject
* obj0
= 0 ;
5511 (char *) "self", NULL
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5517 result
= (double) ((arg1
)->m_y
);
5519 resultobj
= SWIG_FromDouble((double)result
);
5526 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
*resultobj
;
5528 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5529 double arg2
= (double) 0 ;
5530 double arg3
= (double) 0 ;
5531 PyObject
* obj0
= 0 ;
5532 PyObject
* obj1
= 0 ;
5533 PyObject
* obj2
= 0 ;
5535 (char *) "self",(char *) "x",(char *) "y", NULL
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5542 arg2
= (double) SWIG_AsDouble(obj1
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5546 arg3
= (double) SWIG_AsDouble(obj2
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 wxPoint2D_Set(arg1
,arg2
,arg3
);
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5556 Py_INCREF(Py_None
); resultobj
= Py_None
;
5563 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5567 PyObject
* obj0
= 0 ;
5569 (char *) "self", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5589 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5592 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5594 return Py_BuildValue((char *)"");
5596 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5597 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5602 static PyObject
*_wrap_DefaultPosition_get() {
5605 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5610 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5611 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5616 static PyObject
*_wrap_DefaultSize_get() {
5619 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5624 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
*resultobj
;
5626 PyObject
*arg1
= (PyObject
*) 0 ;
5627 wxPyInputStream
*result
;
5628 PyObject
* obj0
= 0 ;
5633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5649 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
*resultobj
;
5651 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5652 PyObject
* obj0
= 0 ;
5654 (char *) "self", NULL
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5667 Py_INCREF(Py_None
); resultobj
= Py_None
;
5674 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
;
5676 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5677 PyObject
* obj0
= 0 ;
5679 (char *) "self", NULL
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) SWIG_fail
;
5692 Py_INCREF(Py_None
); resultobj
= Py_None
;
5699 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
*resultobj
;
5701 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5703 PyObject
* obj0
= 0 ;
5705 (char *) "self", NULL
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 result
= (bool)(arg1
)->eof();
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5727 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
*resultobj
;
5729 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5730 int arg2
= (int) -1 ;
5732 PyObject
* obj0
= 0 ;
5733 PyObject
* obj1
= 0 ;
5735 (char *) "self",(char *) "size", NULL
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5742 arg2
= (int) SWIG_AsInt(obj1
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= (PyObject
*)(arg1
)->read(arg2
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5759 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5761 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5762 int arg2
= (int) -1 ;
5764 PyObject
* obj0
= 0 ;
5765 PyObject
* obj1
= 0 ;
5767 (char *) "self",(char *) "size", NULL
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5774 arg2
= (int) SWIG_AsInt(obj1
);
5775 if (PyErr_Occurred()) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 result
= (PyObject
*)(arg1
)->readline(arg2
);
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) SWIG_fail
;
5791 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
*resultobj
;
5793 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5794 int arg2
= (int) -1 ;
5796 PyObject
* obj0
= 0 ;
5797 PyObject
* obj1
= 0 ;
5799 (char *) "self",(char *) "sizehint", NULL
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5806 arg2
= (int) SWIG_AsInt(obj1
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5823 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
;
5825 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5827 int arg3
= (int) 0 ;
5828 PyObject
* obj0
= 0 ;
5829 PyObject
* obj1
= 0 ;
5830 PyObject
* obj2
= 0 ;
5832 (char *) "self",(char *) "offset",(char *) "whence", NULL
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5838 arg2
= (int) SWIG_AsInt(obj1
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5841 arg3
= (int) SWIG_AsInt(obj2
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 (arg1
)->seek(arg2
,arg3
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 Py_INCREF(Py_None
); resultobj
= Py_None
;
5858 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5862 PyObject
* obj0
= 0 ;
5864 (char *) "self", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 result
= (int)(arg1
)->tell();
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5877 resultobj
= SWIG_FromInt((int)result
);
5884 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
*resultobj
;
5886 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5888 PyObject
* obj0
= 0 ;
5890 (char *) "self", NULL
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 result
= (char)(arg1
)->Peek();
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= SWIG_FromChar((char)result
);
5910 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
;
5912 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5914 PyObject
* obj0
= 0 ;
5916 (char *) "self", NULL
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 result
= (char)(arg1
)->GetC();
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5929 resultobj
= SWIG_FromChar((char)result
);
5936 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5937 PyObject
*resultobj
;
5938 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5940 PyObject
* obj0
= 0 ;
5942 (char *) "self", NULL
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 result
= (size_t)(arg1
)->LastRead();
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5962 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5966 PyObject
* obj0
= 0 ;
5968 (char *) "self", NULL
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 result
= (bool)(arg1
)->CanRead();
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5990 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5996 (char *) "self", NULL
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 result
= (bool)(arg1
)->Eof();
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6018 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
*resultobj
;
6020 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6023 PyObject
* obj0
= 0 ;
6024 PyObject
* obj1
= 0 ;
6026 (char *) "self",(char *) "c", NULL
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6032 arg2
= (char) SWIG_AsChar(obj1
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (bool)(arg1
)->Ungetch(arg2
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6050 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6054 int arg3
= (int) wxFromStart
;
6056 PyObject
* obj0
= 0 ;
6057 PyObject
* obj1
= 0 ;
6058 PyObject
* obj2
= 0 ;
6060 (char *) "self",(char *) "pos",(char *) "mode", NULL
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6066 arg2
= (long) SWIG_AsLong(obj1
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6069 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6079 resultobj
= SWIG_FromLong((long)result
);
6086 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
*resultobj
;
6088 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6090 PyObject
* obj0
= 0 ;
6092 (char *) "self", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6100 result
= (long)(arg1
)->TellI();
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= SWIG_FromLong((long)result
);
6112 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6115 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6117 return Py_BuildValue((char *)"");
6119 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6121 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6122 PyObject
*arg2
= (PyObject
*) 0 ;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6126 (char *) "self",(char *) "obj", NULL
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 wxOutputStream_write(arg1
,arg2
);
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6140 Py_INCREF(Py_None
); resultobj
= Py_None
;
6147 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6150 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6152 return Py_BuildValue((char *)"");
6154 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
*resultobj
;
6156 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6157 wxString
*arg2
= 0 ;
6158 wxString
*arg3
= 0 ;
6159 wxString
*arg4
= 0 ;
6162 wxPyInputStream
*temp1
;
6164 bool temp2
= False
;
6165 bool temp3
= False
;
6166 bool temp4
= False
;
6168 PyObject
* obj0
= 0 ;
6169 PyObject
* obj1
= 0 ;
6170 PyObject
* obj2
= 0 ;
6171 PyObject
* obj3
= 0 ;
6172 PyObject
* obj4
= 0 ;
6174 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6179 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6180 arg1
= temp1
->m_wxis
;
6183 PyErr_Clear(); // clear the failure of the wxPyConvert above
6184 arg1
= wxPyCBInputStream_create(obj0
, False
);
6186 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6193 arg2
= wxString_in_helper(obj1
);
6194 if (arg2
== NULL
) SWIG_fail
;
6198 arg3
= wxString_in_helper(obj2
);
6199 if (arg3
== NULL
) SWIG_fail
;
6203 arg4
= wxString_in_helper(obj3
);
6204 if (arg4
== NULL
) SWIG_fail
;
6207 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6208 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6218 resultobj
= wxPyMake_wxObject(result
);
6258 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
;
6260 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6261 PyObject
* obj0
= 0 ;
6263 (char *) "self", NULL
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 Py_INCREF(Py_None
); resultobj
= Py_None
;
6283 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6286 wxInputStream
*result
;
6287 PyObject
* obj0
= 0 ;
6289 (char *) "self", NULL
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 result
= (wxInputStream
*)(arg1
)->GetStream();
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6303 wxPyInputStream
* _ptr
= NULL
;
6306 _ptr
= new wxPyInputStream(result
);
6308 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6316 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
;
6318 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6320 PyObject
* obj0
= 0 ;
6322 (char *) "self", NULL
6325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6332 result
= (wxString
*) &_result_ref
;
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6342 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6351 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
*resultobj
;
6353 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6355 PyObject
* obj0
= 0 ;
6357 (char *) "self", NULL
6360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 wxString
const &_result_ref
= (arg1
)->GetLocation();
6367 result
= (wxString
*) &_result_ref
;
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6377 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6386 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
*resultobj
;
6388 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6390 PyObject
* obj0
= 0 ;
6392 (char *) "self", NULL
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6402 result
= (wxString
*) &_result_ref
;
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6412 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6421 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
*resultobj
;
6423 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6425 PyObject
* obj0
= 0 ;
6427 (char *) "self", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6435 result
= (arg1
)->GetModificationTime();
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6441 wxDateTime
* resultptr
;
6442 resultptr
= new wxDateTime((wxDateTime
&) result
);
6443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6451 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6454 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6456 return Py_BuildValue((char *)"");
6458 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6461 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6463 return Py_BuildValue((char *)"");
6465 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxPyFileSystemHandler
*result
;
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6487 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6490 PyObject
*arg2
= (PyObject
*) 0 ;
6491 PyObject
*arg3
= (PyObject
*) 0 ;
6492 PyObject
* obj0
= 0 ;
6493 PyObject
* obj1
= 0 ;
6494 PyObject
* obj2
= 0 ;
6496 (char *) "self",(char *) "self",(char *) "_class", NULL
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 Py_INCREF(Py_None
); resultobj
= Py_None
;
6518 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
;
6520 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6521 wxString
*arg2
= 0 ;
6523 bool temp2
= False
;
6524 PyObject
* obj0
= 0 ;
6525 PyObject
* obj1
= 0 ;
6527 (char *) "self",(char *) "location", NULL
6530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6534 arg2
= wxString_in_helper(obj1
);
6535 if (arg2
== NULL
) SWIG_fail
;
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6540 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6562 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
;
6564 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6565 wxFileSystem
*arg2
= 0 ;
6566 wxString
*arg3
= 0 ;
6568 bool temp3
= False
;
6569 PyObject
* obj0
= 0 ;
6570 PyObject
* obj1
= 0 ;
6571 PyObject
* obj2
= 0 ;
6573 (char *) "self",(char *) "fs",(char *) "location", NULL
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6583 PyErr_SetString(PyExc_TypeError
,"null reference");
6587 arg3
= wxString_in_helper(obj2
);
6588 if (arg3
== NULL
) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= wxPyMake_wxObject(result
);
6615 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
*resultobj
;
6617 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6618 wxString
*arg2
= 0 ;
6619 int arg3
= (int) 0 ;
6621 bool temp2
= False
;
6622 PyObject
* obj0
= 0 ;
6623 PyObject
* obj1
= 0 ;
6624 PyObject
* obj2
= 0 ;
6626 (char *) "self",(char *) "spec",(char *) "flags", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6633 arg2
= wxString_in_helper(obj1
);
6634 if (arg2
== NULL
) SWIG_fail
;
6638 arg3
= (int) SWIG_AsInt(obj2
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6643 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6652 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6669 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
;
6671 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6673 PyObject
* obj0
= 0 ;
6675 (char *) "self", NULL
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (arg1
)->FindNext();
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6690 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6692 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6701 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6703 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6704 wxString
*arg2
= 0 ;
6706 bool temp2
= False
;
6707 PyObject
* obj0
= 0 ;
6708 PyObject
* obj1
= 0 ;
6710 (char *) "self",(char *) "location", NULL
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6717 arg2
= wxString_in_helper(obj1
);
6718 if (arg2
== NULL
) SWIG_fail
;
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6749 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
*resultobj
;
6751 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6752 wxString
*arg2
= 0 ;
6754 bool temp2
= False
;
6755 PyObject
* obj0
= 0 ;
6756 PyObject
* obj1
= 0 ;
6758 (char *) "self",(char *) "location", NULL
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6765 arg2
= wxString_in_helper(obj1
);
6766 if (arg2
== NULL
) SWIG_fail
;
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6797 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6799 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6800 wxString
*arg2
= 0 ;
6802 bool temp2
= False
;
6803 PyObject
* obj0
= 0 ;
6804 PyObject
* obj1
= 0 ;
6806 (char *) "self",(char *) "location", NULL
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6813 arg2
= wxString_in_helper(obj1
);
6814 if (arg2
== NULL
) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6845 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6848 wxString
*arg2
= 0 ;
6850 bool temp2
= False
;
6851 PyObject
* obj0
= 0 ;
6852 PyObject
* obj1
= 0 ;
6854 (char *) "self",(char *) "location", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6861 arg2
= wxString_in_helper(obj1
);
6862 if (arg2
== NULL
) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6893 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
;
6895 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6896 wxString
*arg2
= 0 ;
6898 bool temp2
= False
;
6899 PyObject
* obj0
= 0 ;
6900 PyObject
* obj1
= 0 ;
6902 (char *) "self",(char *) "location", NULL
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6909 arg2
= wxString_in_helper(obj1
);
6910 if (arg2
== NULL
) SWIG_fail
;
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6917 wxPyEndAllowThreads(__tstate
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6924 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6941 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6944 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6946 return Py_BuildValue((char *)"");
6948 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxFileSystem
*result
;
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 result
= (wxFileSystem
*)new wxFileSystem();
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6964 resultobj
= wxPyMake_wxObject(result
);
6972 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
;
6974 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6975 PyObject
* obj0
= 0 ;
6977 (char *) "self", NULL
6980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 Py_INCREF(Py_None
); resultobj
= Py_None
;
6997 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7000 wxString
*arg2
= 0 ;
7001 bool arg3
= (bool) False
;
7002 bool temp2
= False
;
7003 PyObject
* obj0
= 0 ;
7004 PyObject
* obj1
= 0 ;
7005 PyObject
* obj2
= 0 ;
7007 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7014 arg2
= wxString_in_helper(obj1
);
7015 if (arg2
== NULL
) SWIG_fail
;
7019 arg3
= (bool) SWIG_AsBool(obj2
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 Py_INCREF(Py_None
); resultobj
= Py_None
;
7044 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7048 PyObject
* obj0
= 0 ;
7050 (char *) "self", NULL
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 result
= (arg1
)->GetPath();
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7076 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
;
7078 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7079 wxString
*arg2
= 0 ;
7081 bool temp2
= False
;
7082 PyObject
* obj0
= 0 ;
7083 PyObject
* obj1
= 0 ;
7085 (char *) "self",(char *) "location", NULL
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7092 arg2
= wxString_in_helper(obj1
);
7093 if (arg2
== NULL
) SWIG_fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= wxPyMake_wxObject(result
);
7120 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
*resultobj
;
7122 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7123 wxString
*arg2
= 0 ;
7124 int arg3
= (int) 0 ;
7126 bool temp2
= False
;
7127 PyObject
* obj0
= 0 ;
7128 PyObject
* obj1
= 0 ;
7129 PyObject
* obj2
= 0 ;
7131 (char *) "self",(char *) "spec",(char *) "flags", NULL
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7138 arg2
= wxString_in_helper(obj1
);
7139 if (arg2
== NULL
) SWIG_fail
;
7143 arg3
= (int) SWIG_AsInt(obj2
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7174 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7178 PyObject
* obj0
= 0 ;
7180 (char *) "self", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 result
= (arg1
)->FindNext();
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7206 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7209 PyObject
* obj0
= 0 ;
7211 (char *) "handler", NULL
7214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 wxFileSystem::AddHandler(arg1
);
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7224 Py_INCREF(Py_None
); resultobj
= Py_None
;
7231 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
;
7237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 wxFileSystem::CleanUpHandlers();
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 Py_INCREF(Py_None
); resultobj
= Py_None
;
7252 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxString
*arg1
= 0 ;
7256 bool temp1
= False
;
7257 PyObject
* obj0
= 0 ;
7259 (char *) "filename", NULL
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7264 arg1
= wxString_in_helper(obj0
);
7265 if (arg1
== NULL
) SWIG_fail
;
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7296 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7299 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7301 return Py_BuildValue((char *)"");
7303 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
;
7305 wxString
*arg1
= 0 ;
7307 bool temp1
= False
;
7308 PyObject
* obj0
= 0 ;
7310 (char *) "url", NULL
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7315 arg1
= wxString_in_helper(obj0
);
7316 if (arg1
== NULL
) SWIG_fail
;
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7347 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxInternetFSHandler
*result
;
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7369 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
*resultobj
;
7371 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7372 wxString
*arg2
= 0 ;
7374 bool temp2
= False
;
7375 PyObject
* obj0
= 0 ;
7376 PyObject
* obj1
= 0 ;
7378 (char *) "self",(char *) "location", NULL
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7385 arg2
= wxString_in_helper(obj1
);
7386 if (arg2
== NULL
) SWIG_fail
;
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7413 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
;
7415 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7416 wxFileSystem
*arg2
= 0 ;
7417 wxString
*arg3
= 0 ;
7419 bool temp3
= False
;
7420 PyObject
* obj0
= 0 ;
7421 PyObject
* obj1
= 0 ;
7422 PyObject
* obj2
= 0 ;
7424 (char *) "self",(char *) "fs",(char *) "location", NULL
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7431 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7434 PyErr_SetString(PyExc_TypeError
,"null reference");
7438 arg3
= wxString_in_helper(obj2
);
7439 if (arg3
== NULL
) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7450 resultobj
= wxPyMake_wxObject(result
);
7466 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7469 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7471 return Py_BuildValue((char *)"");
7473 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
*resultobj
;
7475 wxZipFSHandler
*result
;
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7495 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7498 wxString
*arg2
= 0 ;
7500 bool temp2
= False
;
7501 PyObject
* obj0
= 0 ;
7502 PyObject
* obj1
= 0 ;
7504 (char *) "self",(char *) "location", NULL
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7511 arg2
= wxString_in_helper(obj1
);
7512 if (arg2
== NULL
) SWIG_fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7539 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
*resultobj
;
7541 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7542 wxFileSystem
*arg2
= 0 ;
7543 wxString
*arg3
= 0 ;
7545 bool temp3
= False
;
7546 PyObject
* obj0
= 0 ;
7547 PyObject
* obj1
= 0 ;
7548 PyObject
* obj2
= 0 ;
7550 (char *) "self",(char *) "fs",(char *) "location", NULL
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7560 PyErr_SetString(PyExc_TypeError
,"null reference");
7564 arg3
= wxString_in_helper(obj2
);
7565 if (arg3
== NULL
) SWIG_fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= wxPyMake_wxObject(result
);
7592 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7595 wxString
*arg2
= 0 ;
7596 int arg3
= (int) 0 ;
7598 bool temp2
= False
;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 PyObject
* obj2
= 0 ;
7603 (char *) "self",(char *) "spec",(char *) "flags", NULL
7606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7610 arg2
= wxString_in_helper(obj1
);
7611 if (arg2
== NULL
) SWIG_fail
;
7615 arg3
= (int) SWIG_AsInt(obj2
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7627 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7629 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7646 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
;
7648 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7650 PyObject
* obj0
= 0 ;
7652 (char *) "self", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 result
= (arg1
)->FindNext();
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7678 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7681 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7683 return Py_BuildValue((char *)"");
7685 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
;
7687 wxString
*arg1
= 0 ;
7690 bool temp1
= False
;
7691 PyObject
* obj0
= 0 ;
7692 PyObject
* obj1
= 0 ;
7693 PyObject
* obj2
= 0 ;
7695 (char *) "filename",(char *) "image",(char *) "type", NULL
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7700 arg1
= wxString_in_helper(obj0
);
7701 if (arg1
== NULL
) SWIG_fail
;
7704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7708 PyErr_SetString(PyExc_TypeError
,"null reference");
7711 arg3
= (long) SWIG_AsLong(obj2
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 Py_INCREF(Py_None
); resultobj
= Py_None
;
7735 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
;
7737 wxString
*arg1
= 0 ;
7738 wxBitmap
*arg2
= 0 ;
7740 bool temp1
= False
;
7741 PyObject
* obj0
= 0 ;
7742 PyObject
* obj1
= 0 ;
7743 PyObject
* obj2
= 0 ;
7745 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7750 arg1
= wxString_in_helper(obj0
);
7751 if (arg1
== NULL
) SWIG_fail
;
7754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7758 PyErr_SetString(PyExc_TypeError
,"null reference");
7761 arg3
= (long) SWIG_AsLong(obj2
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 Py_INCREF(Py_None
); resultobj
= Py_None
;
7785 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
;
7787 wxString
*arg1
= 0 ;
7788 PyObject
*arg2
= (PyObject
*) 0 ;
7789 bool temp1
= False
;
7790 PyObject
* obj0
= 0 ;
7791 PyObject
* obj1
= 0 ;
7793 (char *) "filename",(char *) "data", NULL
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7798 arg1
= wxString_in_helper(obj0
);
7799 if (arg1
== NULL
) SWIG_fail
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 Py_INCREF(Py_None
); resultobj
= Py_None
;
7825 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7826 PyObject
*resultobj
;
7827 wxMemoryFSHandler
*result
;
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7847 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
*resultobj
;
7849 wxString
*arg1
= 0 ;
7850 bool temp1
= False
;
7851 PyObject
* obj0
= 0 ;
7853 (char *) "filename", NULL
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7858 arg1
= wxString_in_helper(obj0
);
7859 if (arg1
== NULL
) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 Py_INCREF(Py_None
); resultobj
= Py_None
;
7884 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
;
7886 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7887 wxString
*arg2
= 0 ;
7889 bool temp2
= False
;
7890 PyObject
* obj0
= 0 ;
7891 PyObject
* obj1
= 0 ;
7893 (char *) "self",(char *) "location", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7900 arg2
= wxString_in_helper(obj1
);
7901 if (arg2
== NULL
) SWIG_fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7928 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7931 wxFileSystem
*arg2
= 0 ;
7932 wxString
*arg3
= 0 ;
7934 bool temp3
= False
;
7935 PyObject
* obj0
= 0 ;
7936 PyObject
* obj1
= 0 ;
7937 PyObject
* obj2
= 0 ;
7939 (char *) "self",(char *) "fs",(char *) "location", NULL
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7949 PyErr_SetString(PyExc_TypeError
,"null reference");
7953 arg3
= wxString_in_helper(obj2
);
7954 if (arg3
== NULL
) SWIG_fail
;
7958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7965 resultobj
= wxPyMake_wxObject(result
);
7981 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7982 PyObject
*resultobj
;
7983 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7984 wxString
*arg2
= 0 ;
7985 int arg3
= (int) 0 ;
7987 bool temp2
= False
;
7988 PyObject
* obj0
= 0 ;
7989 PyObject
* obj1
= 0 ;
7990 PyObject
* obj2
= 0 ;
7992 (char *) "self",(char *) "spec",(char *) "flags", NULL
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7999 arg2
= wxString_in_helper(obj1
);
8000 if (arg2
== NULL
) SWIG_fail
;
8004 arg3
= (int) SWIG_AsInt(obj2
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8035 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8037 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8039 PyObject
* obj0
= 0 ;
8041 (char *) "self", NULL
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 result
= (arg1
)->FindNext();
8051 wxPyEndAllowThreads(__tstate
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8067 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8070 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8072 return Py_BuildValue((char *)"");
8074 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
;
8076 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8078 PyObject
* obj0
= 0 ;
8080 (char *) "self", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 result
= (arg1
)->GetName();
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8106 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8110 PyObject
* obj0
= 0 ;
8112 (char *) "self", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 result
= (arg1
)->GetExtension();
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
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
*resultobj
;
8140 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8142 PyObject
* obj0
= 0 ;
8144 (char *) "self", NULL
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 result
= (long)(arg1
)->GetType();
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= SWIG_FromLong((long)result
);
8164 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
;
8166 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8170 (char *) "self", NULL
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 result
= (arg1
)->GetMimeType();
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8196 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8197 PyObject
*resultobj
;
8198 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8199 wxString
*arg2
= 0 ;
8201 bool temp2
= False
;
8202 PyObject
* obj0
= 0 ;
8203 PyObject
* obj1
= 0 ;
8205 (char *) "self",(char *) "name", NULL
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8212 arg2
= wxString_in_helper(obj1
);
8213 if (arg2
== NULL
) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8240 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8243 wxString
*arg2
= 0 ;
8244 bool temp2
= False
;
8245 PyObject
* obj0
= 0 ;
8246 PyObject
* obj1
= 0 ;
8248 (char *) "self",(char *) "name", NULL
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8255 arg2
= wxString_in_helper(obj1
);
8256 if (arg2
== NULL
) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 (arg1
)->SetName((wxString
const &)*arg2
);
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 Py_INCREF(Py_None
); resultobj
= Py_None
;
8281 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
*resultobj
;
8283 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8284 wxString
*arg2
= 0 ;
8285 bool temp2
= False
;
8286 PyObject
* obj0
= 0 ;
8287 PyObject
* obj1
= 0 ;
8289 (char *) "self",(char *) "extension", NULL
8292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8296 arg2
= wxString_in_helper(obj1
);
8297 if (arg2
== NULL
) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 (arg1
)->SetExtension((wxString
const &)*arg2
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8307 Py_INCREF(Py_None
); resultobj
= Py_None
;
8322 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8323 PyObject
*resultobj
;
8324 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8326 PyObject
* obj0
= 0 ;
8327 PyObject
* obj1
= 0 ;
8329 (char *) "self",(char *) "type", NULL
8332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8335 arg2
= (long) SWIG_AsLong(obj1
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 (arg1
)->SetType(arg2
);
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 Py_INCREF(Py_None
); resultobj
= Py_None
;
8351 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
;
8353 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8354 wxString
*arg2
= 0 ;
8355 bool temp2
= False
;
8356 PyObject
* obj0
= 0 ;
8357 PyObject
* obj1
= 0 ;
8359 (char *) "self",(char *) "mimetype", NULL
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8366 arg2
= wxString_in_helper(obj1
);
8367 if (arg2
== NULL
) SWIG_fail
;
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 Py_INCREF(Py_None
); resultobj
= Py_None
;
8392 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8395 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8397 return Py_BuildValue((char *)"");
8399 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8401 wxImageHistogram
*result
;
8406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 result
= (wxImageHistogram
*)new wxImageHistogram();
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8421 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 unsigned char arg1
;
8424 unsigned char arg2
;
8425 unsigned char arg3
;
8426 unsigned long result
;
8427 PyObject
* obj0
= 0 ;
8428 PyObject
* obj1
= 0 ;
8429 PyObject
* obj2
= 0 ;
8431 (char *) "r",(char *) "g",(char *) "b", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8435 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8437 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8439 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8455 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8458 unsigned char *arg2
= (unsigned char *) 0 ;
8459 unsigned char *arg3
= (unsigned char *) 0 ;
8460 unsigned char *arg4
= (unsigned char *) 0 ;
8461 unsigned char arg5
= (unsigned char) 1 ;
8462 unsigned char arg6
= (unsigned char) 0 ;
8463 unsigned char arg7
= (unsigned char) 0 ;
8465 unsigned char temp2
;
8466 unsigned char temp3
;
8467 unsigned char temp4
;
8468 PyObject
* obj0
= 0 ;
8469 PyObject
* obj1
= 0 ;
8470 PyObject
* obj2
= 0 ;
8471 PyObject
* obj3
= 0 ;
8473 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8483 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8487 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8491 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8505 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8506 resultobj
= t_output_helper(resultobj
,o
);
8509 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8510 resultobj
= t_output_helper(resultobj
,o
);
8513 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8514 resultobj
= t_output_helper(resultobj
,o
);
8522 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8525 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8527 return Py_BuildValue((char *)"");
8529 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
;
8531 wxString
*arg1
= 0 ;
8532 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8533 int arg3
= (int) -1 ;
8535 bool temp1
= False
;
8536 PyObject
* obj0
= 0 ;
8537 PyObject
* obj1
= 0 ;
8538 PyObject
* obj2
= 0 ;
8540 (char *) "name",(char *) "type",(char *) "index", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8545 arg1
= wxString_in_helper(obj0
);
8546 if (arg1
== NULL
) SWIG_fail
;
8550 arg2
= (long) SWIG_AsLong(obj1
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8554 arg3
= (int) SWIG_AsInt(obj2
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8559 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8579 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
*resultobj
;
8581 wxImage
*arg1
= (wxImage
*) 0 ;
8582 PyObject
* obj0
= 0 ;
8584 (char *) "self", NULL
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 wxPyEndAllowThreads(__tstate
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8597 Py_INCREF(Py_None
); resultobj
= Py_None
;
8604 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
;
8606 wxString
*arg1
= 0 ;
8607 wxString
*arg2
= 0 ;
8608 int arg3
= (int) -1 ;
8610 bool temp1
= False
;
8611 bool temp2
= False
;
8612 PyObject
* obj0
= 0 ;
8613 PyObject
* obj1
= 0 ;
8614 PyObject
* obj2
= 0 ;
8616 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8621 arg1
= wxString_in_helper(obj0
);
8622 if (arg1
== NULL
) SWIG_fail
;
8626 arg2
= wxString_in_helper(obj1
);
8627 if (arg2
== NULL
) SWIG_fail
;
8631 arg3
= (int) SWIG_AsInt(obj2
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8664 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
;
8666 wxInputStream
*arg1
= 0 ;
8667 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8668 int arg3
= (int) -1 ;
8670 wxPyInputStream
*temp1
;
8672 PyObject
* obj0
= 0 ;
8673 PyObject
* obj1
= 0 ;
8674 PyObject
* obj2
= 0 ;
8676 (char *) "stream",(char *) "type",(char *) "index", NULL
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8681 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8682 arg1
= temp1
->m_wxis
;
8685 PyErr_Clear(); // clear the failure of the wxPyConvert above
8686 arg1
= wxPyCBInputStream_create(obj0
, False
);
8688 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8695 arg2
= (long) SWIG_AsLong(obj1
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8699 arg3
= (int) SWIG_AsInt(obj2
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8704 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8724 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8726 wxInputStream
*arg1
= 0 ;
8727 wxString
*arg2
= 0 ;
8728 int arg3
= (int) -1 ;
8730 wxPyInputStream
*temp1
;
8732 bool temp2
= False
;
8733 PyObject
* obj0
= 0 ;
8734 PyObject
* obj1
= 0 ;
8735 PyObject
* obj2
= 0 ;
8737 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8742 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8743 arg1
= temp1
->m_wxis
;
8746 PyErr_Clear(); // clear the failure of the wxPyConvert above
8747 arg1
= wxPyCBInputStream_create(obj0
, False
);
8749 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8756 arg2
= wxString_in_helper(obj1
);
8757 if (arg2
== NULL
) SWIG_fail
;
8761 arg3
= (int) SWIG_AsInt(obj2
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8794 static PyObject
*_wrap_new_EmptyImage__SWIG_0(PyObject
*self
, PyObject
*args
) {
8795 PyObject
*resultobj
;
8796 int arg1
= (int) 0 ;
8797 int arg2
= (int) 0 ;
8798 bool arg3
= (bool) True
;
8800 PyObject
* obj0
= 0 ;
8801 PyObject
* obj1
= 0 ;
8802 PyObject
* obj2
= 0 ;
8804 if(!PyArg_ParseTuple(args
,(char *)"|OOO:new_EmptyImage",&obj0
,&obj1
,&obj2
)) goto fail
;
8806 arg1
= (int) SWIG_AsInt(obj0
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8810 arg2
= (int) SWIG_AsInt(obj1
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8814 arg3
= (bool) SWIG_AsBool(obj2
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 result
= (wxImage
*)new_wxImage__SWIG_0(arg1
,arg2
,arg3
);
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8831 static PyObject
*_wrap_new_EmptyImage__SWIG_1(PyObject
*self
, PyObject
*args
) {
8832 PyObject
*resultobj
;
8834 bool arg2
= (bool) True
;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8840 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_EmptyImage",&obj0
,&obj1
)) goto fail
;
8843 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
8846 arg2
= (bool) SWIG_AsBool(obj1
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 result
= (wxImage
*)new_wxImage__SWIG_1((wxSize
const &)*arg1
,arg2
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8863 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
) {
8868 argc
= PyObject_Length(args
);
8869 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8870 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8872 if ((argc
>= 0) && (argc
<= 3)) {
8875 return _wrap_new_EmptyImage__SWIG_0(self
,args
);
8877 _v
= SWIG_CheckInt(argv
[0]);
8880 return _wrap_new_EmptyImage__SWIG_0(self
,args
);
8882 _v
= SWIG_CheckInt(argv
[1]);
8885 return _wrap_new_EmptyImage__SWIG_0(self
,args
);
8887 _v
= SWIG_CheckBool(argv
[2]);
8889 return _wrap_new_EmptyImage__SWIG_0(self
,args
);
8894 if ((argc
>= 1) && (argc
<= 2)) {
8897 _v
= wxPySimple_typecheck(argv
[0], wxT("wxSize"), 2);
8901 return _wrap_new_EmptyImage__SWIG_1(self
,args
);
8903 _v
= SWIG_CheckBool(argv
[1]);
8905 return _wrap_new_EmptyImage__SWIG_1(self
,args
);
8910 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_EmptyImage'");
8915 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxBitmap
*arg1
= 0 ;
8919 PyObject
* obj0
= 0 ;
8921 (char *) "bitmap", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8929 PyErr_SetString(PyExc_TypeError
,"null reference");
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8946 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8947 PyObject
*resultobj
;
8950 unsigned char *arg3
= (unsigned char *) 0 ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8954 PyObject
* obj2
= 0 ;
8956 (char *) "width",(char *) "height",(char *) "data", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8960 arg1
= (int) SWIG_AsInt(obj0
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8962 arg2
= (int) SWIG_AsInt(obj1
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8964 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8980 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxImage
*arg1
= (wxImage
*) 0 ;
8985 PyObject
* obj0
= 0 ;
8986 PyObject
* obj1
= 0 ;
8987 PyObject
* obj2
= 0 ;
8989 (char *) "self",(char *) "width",(char *) "height", NULL
8992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8995 arg2
= (int) SWIG_AsInt(obj1
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8997 arg3
= (int) SWIG_AsInt(obj2
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 (arg1
)->Create(arg2
,arg3
);
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 Py_INCREF(Py_None
); resultobj
= Py_None
;
9013 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxImage
*arg1
= (wxImage
*) 0 ;
9016 PyObject
* obj0
= 0 ;
9018 (char *) "self", NULL
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9031 Py_INCREF(Py_None
); resultobj
= Py_None
;
9038 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 wxImage
*arg1
= (wxImage
*) 0 ;
9043 SwigValueWrapper
< wxImage
> result
;
9044 PyObject
* obj0
= 0 ;
9045 PyObject
* obj1
= 0 ;
9046 PyObject
* obj2
= 0 ;
9048 (char *) "self",(char *) "width",(char *) "height", NULL
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9054 arg2
= (int) SWIG_AsInt(obj1
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9056 arg3
= (int) SWIG_AsInt(obj2
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= (arg1
)->Scale(arg2
,arg3
);
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9066 wxImage
* resultptr
;
9067 resultptr
= new wxImage((wxImage
&) result
);
9068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9076 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
*resultobj
;
9078 wxImage
*arg1
= (wxImage
*) 0 ;
9081 SwigValueWrapper
< wxImage
> result
;
9082 PyObject
* obj0
= 0 ;
9083 PyObject
* obj1
= 0 ;
9084 PyObject
* obj2
= 0 ;
9086 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9092 arg2
= (int) SWIG_AsInt(obj1
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9094 arg3
= (int) SWIG_AsInt(obj2
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9104 wxImage
* resultptr
;
9105 resultptr
= new wxImage((wxImage
&) result
);
9106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9114 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
;
9116 wxImage
*arg1
= (wxImage
*) 0 ;
9120 PyObject
* obj0
= 0 ;
9121 PyObject
* obj1
= 0 ;
9122 PyObject
* obj2
= 0 ;
9124 (char *) "self",(char *) "width",(char *) "height", NULL
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9130 arg2
= (int) SWIG_AsInt(obj1
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9132 arg3
= (int) SWIG_AsInt(obj2
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9137 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9138 result
= (wxImage
*) &_result_ref
;
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9151 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
;
9153 wxImage
*arg1
= (wxImage
*) 0 ;
9156 unsigned char arg4
;
9157 unsigned char arg5
;
9158 unsigned char arg6
;
9159 PyObject
* obj0
= 0 ;
9160 PyObject
* obj1
= 0 ;
9161 PyObject
* obj2
= 0 ;
9162 PyObject
* obj3
= 0 ;
9163 PyObject
* obj4
= 0 ;
9164 PyObject
* obj5
= 0 ;
9166 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9172 arg2
= (int) SWIG_AsInt(obj1
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9174 arg3
= (int) SWIG_AsInt(obj2
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9176 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9178 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9180 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 Py_INCREF(Py_None
); resultobj
= Py_None
;
9196 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 wxImage
*arg1
= (wxImage
*) 0 ;
9201 unsigned char result
;
9202 PyObject
* obj0
= 0 ;
9203 PyObject
* obj1
= 0 ;
9204 PyObject
* obj2
= 0 ;
9206 (char *) "self",(char *) "x",(char *) "y", NULL
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9212 arg2
= (int) SWIG_AsInt(obj1
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9214 arg3
= (int) SWIG_AsInt(obj2
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9230 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxImage
*arg1
= (wxImage
*) 0 ;
9235 unsigned char result
;
9236 PyObject
* obj0
= 0 ;
9237 PyObject
* obj1
= 0 ;
9238 PyObject
* obj2
= 0 ;
9240 (char *) "self",(char *) "x",(char *) "y", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9246 arg2
= (int) SWIG_AsInt(obj1
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9248 arg3
= (int) SWIG_AsInt(obj2
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9264 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
;
9266 wxImage
*arg1
= (wxImage
*) 0 ;
9269 unsigned char result
;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9272 PyObject
* obj2
= 0 ;
9274 (char *) "self",(char *) "x",(char *) "y", NULL
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9280 arg2
= (int) SWIG_AsInt(obj1
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9282 arg3
= (int) SWIG_AsInt(obj2
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9298 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
;
9300 wxImage
*arg1
= (wxImage
*) 0 ;
9303 unsigned char arg4
;
9304 PyObject
* obj0
= 0 ;
9305 PyObject
* obj1
= 0 ;
9306 PyObject
* obj2
= 0 ;
9307 PyObject
* obj3
= 0 ;
9309 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9315 arg2
= (int) SWIG_AsInt(obj1
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9317 arg3
= (int) SWIG_AsInt(obj2
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9319 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9328 Py_INCREF(Py_None
); resultobj
= Py_None
;
9335 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
;
9337 wxImage
*arg1
= (wxImage
*) 0 ;
9340 unsigned char result
;
9341 PyObject
* obj0
= 0 ;
9342 PyObject
* obj1
= 0 ;
9343 PyObject
* obj2
= 0 ;
9345 (char *) "self",(char *) "x",(char *) "y", NULL
9348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9351 arg2
= (int) SWIG_AsInt(obj1
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9353 arg3
= (int) SWIG_AsInt(obj2
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9357 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9369 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
;
9371 wxImage
*arg1
= (wxImage
*) 0 ;
9373 PyObject
* obj0
= 0 ;
9375 (char *) "self", NULL
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 result
= (bool)(arg1
)->HasAlpha();
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9397 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9398 PyObject
*resultobj
;
9399 wxImage
*arg1
= (wxImage
*) 0 ;
9400 byte
*arg2
= (byte
*) 0 ;
9401 byte
*arg3
= (byte
*) 0 ;
9402 byte
*arg4
= (byte
*) 0 ;
9403 byte arg5
= (byte
) 0 ;
9404 byte arg6
= (byte
) 0 ;
9405 byte arg7
= (byte
) 0 ;
9410 PyObject
* obj0
= 0 ;
9411 PyObject
* obj1
= 0 ;
9412 PyObject
* obj2
= 0 ;
9413 PyObject
* obj3
= 0 ;
9415 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9425 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9429 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9433 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9447 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9448 resultobj
= t_output_helper(resultobj
,o
);
9451 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9452 resultobj
= t_output_helper(resultobj
,o
);
9455 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9456 resultobj
= t_output_helper(resultobj
,o
);
9464 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
;
9466 wxImage
*arg1
= (wxImage
*) 0 ;
9472 PyObject
* obj0
= 0 ;
9473 PyObject
* obj1
= 0 ;
9474 PyObject
* obj2
= 0 ;
9475 PyObject
* obj3
= 0 ;
9476 PyObject
* obj4
= 0 ;
9478 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9488 PyErr_SetString(PyExc_TypeError
,"null reference");
9491 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9493 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9495 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9513 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
;
9515 wxString
*arg1
= 0 ;
9517 bool temp1
= False
;
9518 PyObject
* obj0
= 0 ;
9520 (char *) "name", NULL
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9525 arg1
= wxString_in_helper(obj0
);
9526 if (arg1
== NULL
) SWIG_fail
;
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9553 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
*resultobj
;
9555 wxString
*arg1
= 0 ;
9556 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9558 bool temp1
= False
;
9559 PyObject
* obj0
= 0 ;
9560 PyObject
* obj1
= 0 ;
9562 (char *) "name",(char *) "type", NULL
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9567 arg1
= wxString_in_helper(obj0
);
9568 if (arg1
== NULL
) SWIG_fail
;
9572 arg2
= (long) SWIG_AsLong(obj1
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= SWIG_FromInt((int)result
);
9597 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxImage
*arg1
= (wxImage
*) 0 ;
9600 wxString
*arg2
= 0 ;
9601 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9602 int arg4
= (int) -1 ;
9604 bool temp2
= False
;
9605 PyObject
* obj0
= 0 ;
9606 PyObject
* obj1
= 0 ;
9607 PyObject
* obj2
= 0 ;
9608 PyObject
* obj3
= 0 ;
9610 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9617 arg2
= wxString_in_helper(obj1
);
9618 if (arg2
== NULL
) SWIG_fail
;
9622 arg3
= (long) SWIG_AsLong(obj2
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9626 arg4
= (int) SWIG_AsInt(obj3
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9653 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 wxImage
*arg1
= (wxImage
*) 0 ;
9656 wxString
*arg2
= 0 ;
9657 wxString
*arg3
= 0 ;
9658 int arg4
= (int) -1 ;
9660 bool temp2
= False
;
9661 bool temp3
= False
;
9662 PyObject
* obj0
= 0 ;
9663 PyObject
* obj1
= 0 ;
9664 PyObject
* obj2
= 0 ;
9665 PyObject
* obj3
= 0 ;
9667 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9674 arg2
= wxString_in_helper(obj1
);
9675 if (arg2
== NULL
) SWIG_fail
;
9679 arg3
= wxString_in_helper(obj2
);
9680 if (arg3
== NULL
) SWIG_fail
;
9684 arg4
= (int) SWIG_AsInt(obj3
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9689 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9719 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
;
9721 wxImage
*arg1
= (wxImage
*) 0 ;
9722 wxString
*arg2
= 0 ;
9725 bool temp2
= False
;
9726 PyObject
* obj0
= 0 ;
9727 PyObject
* obj1
= 0 ;
9728 PyObject
* obj2
= 0 ;
9730 (char *) "self",(char *) "name",(char *) "type", NULL
9733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9737 arg2
= wxString_in_helper(obj1
);
9738 if (arg2
== NULL
) SWIG_fail
;
9741 arg3
= (int) SWIG_AsInt(obj2
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9767 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
;
9769 wxImage
*arg1
= (wxImage
*) 0 ;
9770 wxString
*arg2
= 0 ;
9771 wxString
*arg3
= 0 ;
9773 bool temp2
= False
;
9774 bool temp3
= False
;
9775 PyObject
* obj0
= 0 ;
9776 PyObject
* obj1
= 0 ;
9777 PyObject
* obj2
= 0 ;
9779 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9786 arg2
= wxString_in_helper(obj1
);
9787 if (arg2
== NULL
) SWIG_fail
;
9791 arg3
= wxString_in_helper(obj2
);
9792 if (arg3
== NULL
) SWIG_fail
;
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9827 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
;
9829 wxInputStream
*arg1
= 0 ;
9831 wxPyInputStream
*temp1
;
9833 PyObject
* obj0
= 0 ;
9835 (char *) "stream", NULL
9838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9840 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9841 arg1
= temp1
->m_wxis
;
9844 PyErr_Clear(); // clear the failure of the wxPyConvert above
9845 arg1
= wxPyCBInputStream_create(obj0
, False
);
9847 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= (bool)wxImage::CanRead(*arg1
);
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9877 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9879 wxImage
*arg1
= (wxImage
*) 0 ;
9880 wxInputStream
*arg2
= 0 ;
9881 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9882 int arg4
= (int) -1 ;
9884 wxPyInputStream
*temp2
;
9886 PyObject
* obj0
= 0 ;
9887 PyObject
* obj1
= 0 ;
9888 PyObject
* obj2
= 0 ;
9889 PyObject
* obj3
= 0 ;
9891 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9898 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9899 arg2
= temp2
->m_wxis
;
9902 PyErr_Clear(); // clear the failure of the wxPyConvert above
9903 arg2
= wxPyCBInputStream_create(obj1
, False
);
9905 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9912 arg3
= (long) SWIG_AsLong(obj2
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9916 arg4
= (int) SWIG_AsInt(obj3
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9943 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9944 PyObject
*resultobj
;
9945 wxImage
*arg1
= (wxImage
*) 0 ;
9946 wxInputStream
*arg2
= 0 ;
9947 wxString
*arg3
= 0 ;
9948 int arg4
= (int) -1 ;
9950 wxPyInputStream
*temp2
;
9952 bool temp3
= False
;
9953 PyObject
* obj0
= 0 ;
9954 PyObject
* obj1
= 0 ;
9955 PyObject
* obj2
= 0 ;
9956 PyObject
* obj3
= 0 ;
9958 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9965 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9966 arg2
= temp2
->m_wxis
;
9969 PyErr_Clear(); // clear the failure of the wxPyConvert above
9970 arg2
= wxPyCBInputStream_create(obj1
, False
);
9972 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9979 arg3
= wxString_in_helper(obj2
);
9980 if (arg3
== NULL
) SWIG_fail
;
9984 arg4
= (int) SWIG_AsInt(obj3
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10019 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 wxImage
*arg1
= (wxImage
*) 0 ;
10023 PyObject
* obj0
= 0 ;
10024 char *kwnames
[] = {
10025 (char *) "self", NULL
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 result
= (bool)(arg1
)->Ok();
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10047 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
;
10049 wxImage
*arg1
= (wxImage
*) 0 ;
10051 PyObject
* obj0
= 0 ;
10052 char *kwnames
[] = {
10053 (char *) "self", NULL
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 result
= (int)(arg1
)->GetWidth();
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10066 resultobj
= SWIG_FromInt((int)result
);
10073 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
;
10075 wxImage
*arg1
= (wxImage
*) 0 ;
10077 PyObject
* obj0
= 0 ;
10078 char *kwnames
[] = {
10079 (char *) "self", NULL
10082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 result
= (int)(arg1
)->GetHeight();
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10092 resultobj
= SWIG_FromInt((int)result
);
10099 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
;
10101 wxImage
*arg1
= (wxImage
*) 0 ;
10103 PyObject
* obj0
= 0 ;
10104 char *kwnames
[] = {
10105 (char *) "self", NULL
10108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 result
= wxImage_GetSize(arg1
);
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10119 wxSize
* resultptr
;
10120 resultptr
= new wxSize((wxSize
&) result
);
10121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10129 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
;
10131 wxImage
*arg1
= (wxImage
*) 0 ;
10133 SwigValueWrapper
< wxImage
> result
;
10135 PyObject
* obj0
= 0 ;
10136 PyObject
* obj1
= 0 ;
10137 char *kwnames
[] = {
10138 (char *) "self",(char *) "rect", NULL
10141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10146 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10150 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10152 wxPyEndAllowThreads(__tstate
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10156 wxImage
* resultptr
;
10157 resultptr
= new wxImage((wxImage
&) result
);
10158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10166 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
;
10168 wxImage
*arg1
= (wxImage
*) 0 ;
10169 SwigValueWrapper
< wxImage
> result
;
10170 PyObject
* obj0
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "self", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= (arg1
)->Copy();
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10186 wxImage
* resultptr
;
10187 resultptr
= new wxImage((wxImage
&) result
);
10188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10196 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
*resultobj
;
10198 wxImage
*arg1
= (wxImage
*) 0 ;
10199 wxImage
*arg2
= 0 ;
10202 PyObject
* obj0
= 0 ;
10203 PyObject
* obj1
= 0 ;
10204 PyObject
* obj2
= 0 ;
10205 PyObject
* obj3
= 0 ;
10206 char *kwnames
[] = {
10207 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10216 if (arg2
== NULL
) {
10217 PyErr_SetString(PyExc_TypeError
,"null reference");
10220 arg3
= (int) SWIG_AsInt(obj2
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10222 arg4
= (int) SWIG_AsInt(obj3
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 Py_INCREF(Py_None
); resultobj
= Py_None
;
10238 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxImage
*arg1
= (wxImage
*) 0 ;
10242 PyObject
* obj0
= 0 ;
10243 char *kwnames
[] = {
10244 (char *) "self", NULL
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 result
= (PyObject
*)wxImage_GetData(arg1
);
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= result
;
10264 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxImage
*arg1
= (wxImage
*) 0 ;
10267 PyObject
*arg2
= (PyObject
*) 0 ;
10268 PyObject
* obj0
= 0 ;
10269 PyObject
* obj1
= 0 ;
10270 char *kwnames
[] = {
10271 (char *) "self",(char *) "data", NULL
10274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 wxImage_SetData(arg1
,arg2
);
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 Py_INCREF(Py_None
); resultobj
= Py_None
;
10292 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
;
10294 wxImage
*arg1
= (wxImage
*) 0 ;
10296 PyObject
* obj0
= 0 ;
10297 char *kwnames
[] = {
10298 (char *) "self", NULL
10301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= result
;
10318 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10320 wxImage
*arg1
= (wxImage
*) 0 ;
10321 PyObject
*arg2
= (PyObject
*) 0 ;
10322 PyObject
* obj0
= 0 ;
10323 PyObject
* obj1
= 0 ;
10324 char *kwnames
[] = {
10325 (char *) "self",(char *) "data", NULL
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 wxImage_SetDataBuffer(arg1
,arg2
);
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10339 Py_INCREF(Py_None
); resultobj
= Py_None
;
10346 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
*resultobj
;
10348 wxImage
*arg1
= (wxImage
*) 0 ;
10350 PyObject
* obj0
= 0 ;
10351 char *kwnames
[] = {
10352 (char *) "self", NULL
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= result
;
10372 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxImage
*arg1
= (wxImage
*) 0 ;
10375 PyObject
*arg2
= (PyObject
*) 0 ;
10376 PyObject
* obj0
= 0 ;
10377 PyObject
* obj1
= 0 ;
10378 char *kwnames
[] = {
10379 (char *) "self",(char *) "data", NULL
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 wxImage_SetAlphaData(arg1
,arg2
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 Py_INCREF(Py_None
); resultobj
= Py_None
;
10400 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxImage
*arg1
= (wxImage
*) 0 ;
10404 PyObject
* obj0
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10416 wxPyEndAllowThreads(__tstate
);
10417 if (PyErr_Occurred()) SWIG_fail
;
10419 resultobj
= result
;
10426 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
*resultobj
;
10428 wxImage
*arg1
= (wxImage
*) 0 ;
10429 PyObject
*arg2
= (PyObject
*) 0 ;
10430 PyObject
* obj0
= 0 ;
10431 PyObject
* obj1
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self",(char *) "data", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 wxImage_SetAlphaBuffer(arg1
,arg2
);
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10447 Py_INCREF(Py_None
); resultobj
= Py_None
;
10454 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
;
10456 wxImage
*arg1
= (wxImage
*) 0 ;
10457 unsigned char arg2
;
10458 unsigned char arg3
;
10459 unsigned char arg4
;
10460 PyObject
* obj0
= 0 ;
10461 PyObject
* obj1
= 0 ;
10462 PyObject
* obj2
= 0 ;
10463 PyObject
* obj3
= 0 ;
10464 char *kwnames
[] = {
10465 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10471 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10473 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10475 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10479 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 Py_INCREF(Py_None
); resultobj
= Py_None
;
10491 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
*resultobj
;
10493 wxImage
*arg1
= (wxImage
*) 0 ;
10494 unsigned char result
;
10495 PyObject
* obj0
= 0 ;
10496 char *kwnames
[] = {
10497 (char *) "self", NULL
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 result
= (unsigned char)(arg1
)->GetMaskRed();
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10517 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10518 PyObject
*resultobj
;
10519 wxImage
*arg1
= (wxImage
*) 0 ;
10520 unsigned char result
;
10521 PyObject
* obj0
= 0 ;
10522 char *kwnames
[] = {
10523 (char *) "self", NULL
10526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 result
= (unsigned char)(arg1
)->GetMaskGreen();
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10543 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
;
10545 wxImage
*arg1
= (wxImage
*) 0 ;
10546 unsigned char result
;
10547 PyObject
* obj0
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "self", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 result
= (unsigned char)(arg1
)->GetMaskBlue();
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10562 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10569 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
;
10571 wxImage
*arg1
= (wxImage
*) 0 ;
10572 bool arg2
= (bool) True
;
10573 PyObject
* obj0
= 0 ;
10574 PyObject
* obj1
= 0 ;
10575 char *kwnames
[] = {
10576 (char *) "self",(char *) "mask", NULL
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10583 arg2
= (bool) SWIG_AsBool(obj1
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 (arg1
)->SetMask(arg2
);
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10593 Py_INCREF(Py_None
); resultobj
= Py_None
;
10600 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
;
10602 wxImage
*arg1
= (wxImage
*) 0 ;
10604 PyObject
* obj0
= 0 ;
10605 char *kwnames
[] = {
10606 (char *) "self", NULL
10609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 result
= (bool)(arg1
)->HasMask();
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10628 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
;
10630 wxImage
*arg1
= (wxImage
*) 0 ;
10632 wxPoint
*arg3
= 0 ;
10633 bool arg4
= (bool) True
;
10634 wxPoint
*arg5
= (wxPoint
*) NULL
;
10635 SwigValueWrapper
< wxImage
> result
;
10637 PyObject
* obj0
= 0 ;
10638 PyObject
* obj1
= 0 ;
10639 PyObject
* obj2
= 0 ;
10640 PyObject
* obj3
= 0 ;
10641 PyObject
* obj4
= 0 ;
10642 char *kwnames
[] = {
10643 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10649 arg2
= (double) SWIG_AsDouble(obj1
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10653 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10656 arg4
= (bool) SWIG_AsBool(obj3
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10660 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10671 wxImage
* resultptr
;
10672 resultptr
= new wxImage((wxImage
&) result
);
10673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10681 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxImage
*arg1
= (wxImage
*) 0 ;
10684 bool arg2
= (bool) True
;
10685 SwigValueWrapper
< wxImage
> result
;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self",(char *) "clockwise", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10696 arg2
= (bool) SWIG_AsBool(obj1
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 result
= (arg1
)->Rotate90(arg2
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10707 wxImage
* resultptr
;
10708 resultptr
= new wxImage((wxImage
&) result
);
10709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10717 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10719 wxImage
*arg1
= (wxImage
*) 0 ;
10720 bool arg2
= (bool) True
;
10721 SwigValueWrapper
< wxImage
> result
;
10722 PyObject
* obj0
= 0 ;
10723 PyObject
* obj1
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self",(char *) "horizontally", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10732 arg2
= (bool) SWIG_AsBool(obj1
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 result
= (arg1
)->Mirror(arg2
);
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10743 wxImage
* resultptr
;
10744 resultptr
= new wxImage((wxImage
&) result
);
10745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10753 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
;
10755 wxImage
*arg1
= (wxImage
*) 0 ;
10756 unsigned char arg2
;
10757 unsigned char arg3
;
10758 unsigned char arg4
;
10759 unsigned char arg5
;
10760 unsigned char arg6
;
10761 unsigned char arg7
;
10762 PyObject
* obj0
= 0 ;
10763 PyObject
* obj1
= 0 ;
10764 PyObject
* obj2
= 0 ;
10765 PyObject
* obj3
= 0 ;
10766 PyObject
* obj4
= 0 ;
10767 PyObject
* obj5
= 0 ;
10768 PyObject
* obj6
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10776 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10778 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10780 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10782 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10784 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10786 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 Py_INCREF(Py_None
); resultobj
= Py_None
;
10802 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10803 PyObject
*resultobj
;
10804 wxImage
*arg1
= (wxImage
*) 0 ;
10805 unsigned char arg2
;
10806 unsigned char arg3
;
10807 unsigned char arg4
;
10808 SwigValueWrapper
< wxImage
> result
;
10809 PyObject
* obj0
= 0 ;
10810 PyObject
* obj1
= 0 ;
10811 PyObject
* obj2
= 0 ;
10812 PyObject
* obj3
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10820 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10822 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10824 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10830 wxPyEndAllowThreads(__tstate
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10834 wxImage
* resultptr
;
10835 resultptr
= new wxImage((wxImage
&) result
);
10836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10844 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxImage
*arg1
= (wxImage
*) 0 ;
10847 wxString
*arg2
= 0 ;
10848 wxString
*arg3
= 0 ;
10849 bool temp2
= False
;
10850 bool temp3
= False
;
10851 PyObject
* obj0
= 0 ;
10852 PyObject
* obj1
= 0 ;
10853 PyObject
* obj2
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self",(char *) "name",(char *) "value", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10862 arg2
= wxString_in_helper(obj1
);
10863 if (arg2
== NULL
) SWIG_fail
;
10867 arg3
= wxString_in_helper(obj2
);
10868 if (arg3
== NULL
) SWIG_fail
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10878 Py_INCREF(Py_None
); resultobj
= Py_None
;
10901 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
;
10903 wxImage
*arg1
= (wxImage
*) 0 ;
10904 wxString
*arg2
= 0 ;
10906 bool temp2
= False
;
10907 PyObject
* obj0
= 0 ;
10908 PyObject
* obj1
= 0 ;
10909 PyObject
* obj2
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self",(char *) "name",(char *) "value", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10918 arg2
= wxString_in_helper(obj1
);
10919 if (arg2
== NULL
) SWIG_fail
;
10922 arg3
= (int) SWIG_AsInt(obj2
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10926 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10928 wxPyEndAllowThreads(__tstate
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10931 Py_INCREF(Py_None
); resultobj
= Py_None
;
10946 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxImage
*arg1
= (wxImage
*) 0 ;
10949 wxString
*arg2
= 0 ;
10951 bool temp2
= False
;
10952 PyObject
* obj0
= 0 ;
10953 PyObject
* obj1
= 0 ;
10954 char *kwnames
[] = {
10955 (char *) "self",(char *) "name", NULL
10958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10962 arg2
= wxString_in_helper(obj1
);
10963 if (arg2
== NULL
) SWIG_fail
;
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10994 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
;
10996 wxImage
*arg1
= (wxImage
*) 0 ;
10997 wxString
*arg2
= 0 ;
10999 bool temp2
= False
;
11000 PyObject
* obj0
= 0 ;
11001 PyObject
* obj1
= 0 ;
11002 char *kwnames
[] = {
11003 (char *) "self",(char *) "name", NULL
11006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11010 arg2
= wxString_in_helper(obj1
);
11011 if (arg2
== NULL
) SWIG_fail
;
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11016 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11021 resultobj
= SWIG_FromInt((int)result
);
11036 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
*resultobj
;
11038 wxImage
*arg1
= (wxImage
*) 0 ;
11039 wxString
*arg2
= 0 ;
11041 bool temp2
= False
;
11042 PyObject
* obj0
= 0 ;
11043 PyObject
* obj1
= 0 ;
11044 char *kwnames
[] = {
11045 (char *) "self",(char *) "name", NULL
11048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11052 arg2
= wxString_in_helper(obj1
);
11053 if (arg2
== NULL
) SWIG_fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11080 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11081 PyObject
*resultobj
;
11082 wxImage
*arg1
= (wxImage
*) 0 ;
11083 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11084 unsigned long result
;
11085 PyObject
* obj0
= 0 ;
11086 PyObject
* obj1
= 0 ;
11087 char *kwnames
[] = {
11088 (char *) "self",(char *) "stopafter", NULL
11091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11095 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11102 wxPyEndAllowThreads(__tstate
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11112 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
*resultobj
;
11114 wxImage
*arg1
= (wxImage
*) 0 ;
11115 wxImageHistogram
*arg2
= 0 ;
11116 unsigned long result
;
11117 PyObject
* obj0
= 0 ;
11118 PyObject
* obj1
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "self",(char *) "h", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11129 if (arg2
== NULL
) {
11130 PyErr_SetString(PyExc_TypeError
,"null reference");
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11147 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11150 PyObject
* obj0
= 0 ;
11151 char *kwnames
[] = {
11152 (char *) "handler", NULL
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 wxImage::AddHandler(arg1
);
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 Py_INCREF(Py_None
); resultobj
= Py_None
;
11172 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11175 PyObject
* obj0
= 0 ;
11176 char *kwnames
[] = {
11177 (char *) "handler", NULL
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 wxImage::InsertHandler(arg1
);
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 Py_INCREF(Py_None
); resultobj
= Py_None
;
11197 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxString
*arg1
= 0 ;
11201 bool temp1
= False
;
11202 PyObject
* obj0
= 0 ;
11203 char *kwnames
[] = {
11204 (char *) "name", NULL
11207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11209 arg1
= wxString_in_helper(obj0
);
11210 if (arg1
== NULL
) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11237 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
;
11240 char *kwnames
[] = {
11244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 result
= wxImage::GetImageExtWildcard();
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11265 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11266 PyObject
*resultobj
;
11267 wxImage
*arg1
= (wxImage
*) 0 ;
11269 PyObject
* obj0
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 result
= wxImage_ConvertToBitmap(arg1
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11285 wxBitmap
* resultptr
;
11286 resultptr
= new wxBitmap((wxBitmap
&) result
);
11287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11295 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
*resultobj
;
11297 wxImage
*arg1
= (wxImage
*) 0 ;
11298 unsigned char arg2
;
11299 unsigned char arg3
;
11300 unsigned char arg4
;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 PyObject
* obj2
= 0 ;
11305 PyObject
* obj3
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11313 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11315 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11317 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11327 wxBitmap
* resultptr
;
11328 resultptr
= new wxBitmap((wxBitmap
&) result
);
11329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11337 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11340 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11342 return Py_BuildValue((char *)"");
11344 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11345 PyObject
*resultobj
;
11346 char *kwnames
[] = {
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 wxInitAllImageHandlers();
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 Py_INCREF(Py_None
); resultobj
= Py_None
;
11365 static int _wrap_NullImage_set(PyObject
*_val
) {
11366 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11371 static PyObject
*_wrap_NullImage_get() {
11374 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11379 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11380 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11385 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11390 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11392 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11399 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11400 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11405 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11410 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11412 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11419 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11420 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11425 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11430 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11432 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11439 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11440 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11445 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11450 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11452 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11459 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11460 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11465 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11470 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11472 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11479 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
;
11481 wxBMPHandler
*result
;
11482 char *kwnames
[] = {
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 result
= (wxBMPHandler
*)new wxBMPHandler();
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11501 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11504 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11506 return Py_BuildValue((char *)"");
11508 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
*resultobj
;
11510 wxICOHandler
*result
;
11511 char *kwnames
[] = {
11515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (wxICOHandler
*)new wxICOHandler();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11530 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11533 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11535 return Py_BuildValue((char *)"");
11537 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11538 PyObject
*resultobj
;
11539 wxCURHandler
*result
;
11540 char *kwnames
[] = {
11544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (wxCURHandler
*)new wxCURHandler();
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11559 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11562 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11564 return Py_BuildValue((char *)"");
11566 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11567 PyObject
*resultobj
;
11568 wxANIHandler
*result
;
11569 char *kwnames
[] = {
11573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 result
= (wxANIHandler
*)new wxANIHandler();
11578 wxPyEndAllowThreads(__tstate
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11588 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11591 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11593 return Py_BuildValue((char *)"");
11595 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
;
11597 wxPNGHandler
*result
;
11598 char *kwnames
[] = {
11602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 result
= (wxPNGHandler
*)new wxPNGHandler();
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11617 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11620 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11622 return Py_BuildValue((char *)"");
11624 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
;
11626 wxGIFHandler
*result
;
11627 char *kwnames
[] = {
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 result
= (wxGIFHandler
*)new wxGIFHandler();
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11646 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11649 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11651 return Py_BuildValue((char *)"");
11653 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
;
11655 wxPCXHandler
*result
;
11656 char *kwnames
[] = {
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 result
= (wxPCXHandler
*)new wxPCXHandler();
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11675 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11678 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11680 return Py_BuildValue((char *)"");
11682 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
;
11684 wxJPEGHandler
*result
;
11685 char *kwnames
[] = {
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11704 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11707 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11709 return Py_BuildValue((char *)"");
11711 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
;
11713 wxPNMHandler
*result
;
11714 char *kwnames
[] = {
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (wxPNMHandler
*)new wxPNMHandler();
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11733 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11736 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11738 return Py_BuildValue((char *)"");
11740 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11741 PyObject
*resultobj
;
11742 wxXPMHandler
*result
;
11743 char *kwnames
[] = {
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 result
= (wxXPMHandler
*)new wxXPMHandler();
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11762 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11765 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11767 return Py_BuildValue((char *)"");
11769 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
;
11771 wxTIFFHandler
*result
;
11772 char *kwnames
[] = {
11776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11791 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11794 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11796 return Py_BuildValue((char *)"");
11798 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11799 PyObject
*resultobj
;
11800 wxEvtHandler
*result
;
11801 char *kwnames
[] = {
11805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (wxEvtHandler
*)new wxEvtHandler();
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= wxPyMake_wxObject(result
);
11822 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
;
11824 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11825 wxEvtHandler
*result
;
11826 PyObject
* obj0
= 0 ;
11827 char *kwnames
[] = {
11828 (char *) "self", NULL
11831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= wxPyMake_wxObject(result
);
11850 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
;
11852 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11853 wxEvtHandler
*result
;
11854 PyObject
* obj0
= 0 ;
11855 char *kwnames
[] = {
11856 (char *) "self", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11870 resultobj
= wxPyMake_wxObject(result
);
11878 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11879 PyObject
*resultobj
;
11880 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11881 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11882 PyObject
* obj0
= 0 ;
11883 PyObject
* obj1
= 0 ;
11884 char *kwnames
[] = {
11885 (char *) "self",(char *) "handler", NULL
11888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 (arg1
)->SetNextHandler(arg2
);
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 Py_INCREF(Py_None
); resultobj
= Py_None
;
11907 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
*resultobj
;
11909 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11910 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11911 PyObject
* obj0
= 0 ;
11912 PyObject
* obj1
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "self",(char *) "handler", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 (arg1
)->SetPreviousHandler(arg2
);
11926 wxPyEndAllowThreads(__tstate
);
11927 if (PyErr_Occurred()) SWIG_fail
;
11929 Py_INCREF(Py_None
); resultobj
= Py_None
;
11936 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11937 PyObject
*resultobj
;
11938 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11940 PyObject
* obj0
= 0 ;
11941 char *kwnames
[] = {
11942 (char *) "self", NULL
11945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11964 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
;
11966 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11968 PyObject
* obj0
= 0 ;
11969 PyObject
* obj1
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self",(char *) "enabled", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11977 arg2
= (bool) SWIG_AsBool(obj1
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 (arg1
)->SetEvtHandlerEnabled(arg2
);
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11986 Py_INCREF(Py_None
); resultobj
= Py_None
;
11993 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11995 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11996 wxEvent
*arg2
= 0 ;
11998 PyObject
* obj0
= 0 ;
11999 PyObject
* obj1
= 0 ;
12000 char *kwnames
[] = {
12001 (char *) "self",(char *) "event", NULL
12004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12008 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12010 if (arg2
== NULL
) {
12011 PyErr_SetString(PyExc_TypeError
,"null reference");
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12030 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
;
12032 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12033 wxEvent
*arg2
= 0 ;
12034 PyObject
* obj0
= 0 ;
12035 PyObject
* obj1
= 0 ;
12036 char *kwnames
[] = {
12037 (char *) "self",(char *) "event", NULL
12040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12046 if (arg2
== NULL
) {
12047 PyErr_SetString(PyExc_TypeError
,"null reference");
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 (arg1
)->AddPendingEvent(*arg2
);
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 Py_INCREF(Py_None
); resultobj
= Py_None
;
12064 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
;
12066 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12067 PyObject
* obj0
= 0 ;
12068 char *kwnames
[] = {
12069 (char *) "self", NULL
12072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 (arg1
)->ProcessPendingEvents();
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12082 Py_INCREF(Py_None
); resultobj
= Py_None
;
12089 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12090 PyObject
*resultobj
;
12091 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12095 PyObject
*arg5
= (PyObject
*) 0 ;
12096 PyObject
* obj0
= 0 ;
12097 PyObject
* obj1
= 0 ;
12098 PyObject
* obj2
= 0 ;
12099 PyObject
* obj3
= 0 ;
12100 PyObject
* obj4
= 0 ;
12101 char *kwnames
[] = {
12102 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12108 arg2
= (int) SWIG_AsInt(obj1
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12110 arg3
= (int) SWIG_AsInt(obj2
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12112 arg4
= (int) SWIG_AsInt(obj3
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 Py_INCREF(Py_None
); resultobj
= Py_None
;
12129 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
;
12131 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12133 int arg3
= (int) -1 ;
12134 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12136 PyObject
* obj0
= 0 ;
12137 PyObject
* obj1
= 0 ;
12138 PyObject
* obj2
= 0 ;
12139 PyObject
* obj3
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12147 arg2
= (int) SWIG_AsInt(obj1
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12150 arg3
= (int) SWIG_AsInt(obj2
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12154 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12173 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
;
12175 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12176 PyObject
*arg2
= (PyObject
*) 0 ;
12177 PyObject
* obj0
= 0 ;
12178 PyObject
* obj1
= 0 ;
12179 char *kwnames
[] = {
12180 (char *) "self",(char *) "_self", NULL
12183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 wxEvtHandler__setOORInfo(arg1
,arg2
);
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 Py_INCREF(Py_None
); resultobj
= Py_None
;
12201 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12204 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12206 return Py_BuildValue((char *)"");
12208 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12209 PyObject
*resultobj
;
12210 wxEventType result
;
12211 char *kwnames
[] = {
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 result
= (wxEventType
)wxNewEventType();
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= SWIG_FromInt((int)result
);
12230 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
;
12232 wxEvent
*arg1
= (wxEvent
*) 0 ;
12233 PyObject
* obj0
= 0 ;
12234 char *kwnames
[] = {
12235 (char *) "self", NULL
12238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 Py_INCREF(Py_None
); resultobj
= Py_None
;
12255 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxEvent
*arg1
= (wxEvent
*) 0 ;
12259 PyObject
* obj0
= 0 ;
12260 PyObject
* obj1
= 0 ;
12261 char *kwnames
[] = {
12262 (char *) "self",(char *) "typ", NULL
12265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12268 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 (arg1
)->SetEventType(arg2
);
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12277 Py_INCREF(Py_None
); resultobj
= Py_None
;
12284 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
;
12286 wxEvent
*arg1
= (wxEvent
*) 0 ;
12287 wxEventType result
;
12288 PyObject
* obj0
= 0 ;
12289 char *kwnames
[] = {
12290 (char *) "self", NULL
12293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= SWIG_FromInt((int)result
);
12310 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxEvent
*arg1
= (wxEvent
*) 0 ;
12314 PyObject
* obj0
= 0 ;
12315 char *kwnames
[] = {
12316 (char *) "self", NULL
12319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12330 resultobj
= wxPyMake_wxObject(result
);
12338 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12339 PyObject
*resultobj
;
12340 wxEvent
*arg1
= (wxEvent
*) 0 ;
12341 wxObject
*arg2
= (wxObject
*) 0 ;
12342 PyObject
* obj0
= 0 ;
12343 PyObject
* obj1
= 0 ;
12344 char *kwnames
[] = {
12345 (char *) "self",(char *) "obj", NULL
12348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 (arg1
)->SetEventObject(arg2
);
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 Py_INCREF(Py_None
); resultobj
= Py_None
;
12367 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
;
12369 wxEvent
*arg1
= (wxEvent
*) 0 ;
12371 PyObject
* obj0
= 0 ;
12372 char *kwnames
[] = {
12373 (char *) "self", NULL
12376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12381 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12386 resultobj
= SWIG_FromLong((long)result
);
12393 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12394 PyObject
*resultobj
;
12395 wxEvent
*arg1
= (wxEvent
*) 0 ;
12396 long arg2
= (long) 0 ;
12397 PyObject
* obj0
= 0 ;
12398 PyObject
* obj1
= 0 ;
12399 char *kwnames
[] = {
12400 (char *) "self",(char *) "ts", NULL
12403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12407 arg2
= (long) SWIG_AsLong(obj1
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 (arg1
)->SetTimestamp(arg2
);
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12417 Py_INCREF(Py_None
); resultobj
= Py_None
;
12424 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12425 PyObject
*resultobj
;
12426 wxEvent
*arg1
= (wxEvent
*) 0 ;
12428 PyObject
* obj0
= 0 ;
12429 char *kwnames
[] = {
12430 (char *) "self", NULL
12433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 result
= (int)((wxEvent
const *)arg1
)->GetId();
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= SWIG_FromInt((int)result
);
12450 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxEvent
*arg1
= (wxEvent
*) 0 ;
12454 PyObject
* obj0
= 0 ;
12455 PyObject
* obj1
= 0 ;
12456 char *kwnames
[] = {
12457 (char *) "self",(char *) "Id", NULL
12460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12463 arg2
= (int) SWIG_AsInt(obj1
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 (arg1
)->SetId(arg2
);
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12472 Py_INCREF(Py_None
); resultobj
= Py_None
;
12479 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
;
12481 wxEvent
*arg1
= (wxEvent
*) 0 ;
12483 PyObject
* obj0
= 0 ;
12484 char *kwnames
[] = {
12485 (char *) "self", NULL
12488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12507 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12508 PyObject
*resultobj
;
12509 wxEvent
*arg1
= (wxEvent
*) 0 ;
12510 bool arg2
= (bool) True
;
12511 PyObject
* obj0
= 0 ;
12512 PyObject
* obj1
= 0 ;
12513 char *kwnames
[] = {
12514 (char *) "self",(char *) "skip", NULL
12517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12521 arg2
= (bool) SWIG_AsBool(obj1
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12526 (arg1
)->Skip(arg2
);
12528 wxPyEndAllowThreads(__tstate
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12531 Py_INCREF(Py_None
); resultobj
= Py_None
;
12538 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
;
12540 wxEvent
*arg1
= (wxEvent
*) 0 ;
12542 PyObject
* obj0
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "self", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12566 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
;
12568 wxEvent
*arg1
= (wxEvent
*) 0 ;
12570 PyObject
* obj0
= 0 ;
12571 char *kwnames
[] = {
12572 (char *) "self", NULL
12575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12594 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
*resultobj
;
12596 wxEvent
*arg1
= (wxEvent
*) 0 ;
12598 PyObject
* obj0
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 result
= (int)(arg1
)->StopPropagation();
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 resultobj
= SWIG_FromInt((int)result
);
12620 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxEvent
*arg1
= (wxEvent
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 PyObject
* obj1
= 0 ;
12626 char *kwnames
[] = {
12627 (char *) "self",(char *) "propagationLevel", NULL
12630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12633 arg2
= (int) SWIG_AsInt(obj1
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 (arg1
)->ResumePropagation(arg2
);
12639 wxPyEndAllowThreads(__tstate
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12642 Py_INCREF(Py_None
); resultobj
= Py_None
;
12649 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12650 PyObject
*resultobj
;
12651 wxEvent
*arg1
= (wxEvent
*) 0 ;
12653 PyObject
* obj0
= 0 ;
12654 char *kwnames
[] = {
12655 (char *) "self", NULL
12658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 result
= (wxEvent
*)(arg1
)->Clone();
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12675 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12678 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12680 return Py_BuildValue((char *)"");
12682 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
*resultobj
;
12684 wxEvent
*arg1
= 0 ;
12685 wxPropagationDisabler
*result
;
12686 PyObject
* obj0
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "event", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12695 if (arg1
== NULL
) {
12696 PyErr_SetString(PyExc_TypeError
,"null reference");
12700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12701 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12713 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12714 PyObject
*resultobj
;
12715 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12716 PyObject
* obj0
= 0 ;
12717 char *kwnames
[] = {
12718 (char *) "self", NULL
12721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 Py_INCREF(Py_None
); resultobj
= Py_None
;
12738 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12741 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12743 return Py_BuildValue((char *)"");
12745 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
*resultobj
;
12747 wxEvent
*arg1
= 0 ;
12748 wxPropagateOnce
*result
;
12749 PyObject
* obj0
= 0 ;
12750 char *kwnames
[] = {
12751 (char *) "event", NULL
12754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12756 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12758 if (arg1
== NULL
) {
12759 PyErr_SetString(PyExc_TypeError
,"null reference");
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12776 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
;
12778 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12779 PyObject
* obj0
= 0 ;
12780 char *kwnames
[] = {
12781 (char *) "self", NULL
12784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12794 Py_INCREF(Py_None
); resultobj
= Py_None
;
12801 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12804 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12806 return Py_BuildValue((char *)"");
12808 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12811 int arg2
= (int) 0 ;
12812 wxCommandEvent
*result
;
12813 PyObject
* obj0
= 0 ;
12814 PyObject
* obj1
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "commandType",(char *) "winid", NULL
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12821 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12825 arg2
= (int) SWIG_AsInt(obj1
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12832 wxPyEndAllowThreads(__tstate
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12842 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
*resultobj
;
12844 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12846 PyObject
* obj0
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 resultobj
= SWIG_FromInt((int)result
);
12868 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12871 wxString
*arg2
= 0 ;
12872 bool temp2
= False
;
12873 PyObject
* obj0
= 0 ;
12874 PyObject
* obj1
= 0 ;
12875 char *kwnames
[] = {
12876 (char *) "self",(char *) "s", NULL
12879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12883 arg2
= wxString_in_helper(obj1
);
12884 if (arg2
== NULL
) SWIG_fail
;
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 (arg1
)->SetString((wxString
const &)*arg2
);
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12894 Py_INCREF(Py_None
); resultobj
= Py_None
;
12909 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
;
12911 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12913 PyObject
* obj0
= 0 ;
12914 char *kwnames
[] = {
12915 (char *) "self", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12941 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
*resultobj
;
12943 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12945 PyObject
* obj0
= 0 ;
12946 char *kwnames
[] = {
12947 (char *) "self", NULL
12950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12969 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12973 PyObject
* obj0
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "self", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12997 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
;
12999 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 PyObject
* obj1
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self",(char *) "extraLong", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13010 arg2
= (long) SWIG_AsLong(obj1
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 (arg1
)->SetExtraLong(arg2
);
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13019 Py_INCREF(Py_None
); resultobj
= Py_None
;
13026 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
;
13028 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13030 PyObject
* obj0
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "self", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 resultobj
= SWIG_FromLong((long)result
);
13052 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self",(char *) "i", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13065 arg2
= (int) SWIG_AsInt(obj1
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 (arg1
)->SetInt(arg2
);
13071 wxPyEndAllowThreads(__tstate
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13074 Py_INCREF(Py_None
); resultobj
= Py_None
;
13081 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13082 PyObject
*resultobj
;
13083 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13085 PyObject
* obj0
= 0 ;
13086 char *kwnames
[] = {
13087 (char *) "self", NULL
13090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13097 wxPyEndAllowThreads(__tstate
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13100 resultobj
= SWIG_FromLong((long)result
);
13107 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
;
13109 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13111 PyObject
* obj0
= 0 ;
13112 char *kwnames
[] = {
13113 (char *) "self", NULL
13116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13133 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13136 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13138 return Py_BuildValue((char *)"");
13140 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
;
13142 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13143 int arg2
= (int) 0 ;
13144 wxNotifyEvent
*result
;
13145 PyObject
* obj0
= 0 ;
13146 PyObject
* obj1
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "commandType",(char *) "winid", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13153 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13157 arg2
= (int) SWIG_AsInt(obj1
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13174 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13177 PyObject
* obj0
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "self", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13192 Py_INCREF(Py_None
); resultobj
= Py_None
;
13199 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13200 PyObject
*resultobj
;
13201 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13202 PyObject
* obj0
= 0 ;
13203 char *kwnames
[] = {
13204 (char *) "self", NULL
13207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 Py_INCREF(Py_None
); resultobj
= Py_None
;
13224 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13225 PyObject
*resultobj
;
13226 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13228 PyObject
* obj0
= 0 ;
13229 char *kwnames
[] = {
13230 (char *) "self", NULL
13233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 result
= (bool)(arg1
)->IsAllowed();
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13252 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13255 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13257 return Py_BuildValue((char *)"");
13259 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
;
13261 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13262 int arg2
= (int) 0 ;
13263 int arg3
= (int) 0 ;
13264 int arg4
= (int) 0 ;
13265 wxScrollEvent
*result
;
13266 PyObject
* obj0
= 0 ;
13267 PyObject
* obj1
= 0 ;
13268 PyObject
* obj2
= 0 ;
13269 PyObject
* obj3
= 0 ;
13270 char *kwnames
[] = {
13271 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13276 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13280 arg2
= (int) SWIG_AsInt(obj1
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13284 arg3
= (int) SWIG_AsInt(obj2
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13288 arg4
= (int) SWIG_AsInt(obj3
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13305 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
;
13307 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13309 PyObject
* obj0
= 0 ;
13310 char *kwnames
[] = {
13311 (char *) "self", NULL
13314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13324 resultobj
= SWIG_FromInt((int)result
);
13331 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
;
13333 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13335 PyObject
* obj0
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= SWIG_FromInt((int)result
);
13357 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
;
13359 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13361 PyObject
* obj0
= 0 ;
13362 PyObject
* obj1
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self",(char *) "orient", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13370 arg2
= (int) SWIG_AsInt(obj1
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13374 (arg1
)->SetOrientation(arg2
);
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13379 Py_INCREF(Py_None
); resultobj
= Py_None
;
13386 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13387 PyObject
*resultobj
;
13388 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13390 PyObject
* obj0
= 0 ;
13391 PyObject
* obj1
= 0 ;
13392 char *kwnames
[] = {
13393 (char *) "self",(char *) "pos", NULL
13396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13399 arg2
= (int) SWIG_AsInt(obj1
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 (arg1
)->SetPosition(arg2
);
13405 wxPyEndAllowThreads(__tstate
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13408 Py_INCREF(Py_None
); resultobj
= Py_None
;
13415 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13418 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13420 return Py_BuildValue((char *)"");
13422 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13425 int arg2
= (int) 0 ;
13426 int arg3
= (int) 0 ;
13427 wxScrollWinEvent
*result
;
13428 PyObject
* obj0
= 0 ;
13429 PyObject
* obj1
= 0 ;
13430 PyObject
* obj2
= 0 ;
13431 char *kwnames
[] = {
13432 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13437 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13441 arg2
= (int) SWIG_AsInt(obj1
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13445 arg3
= (int) SWIG_AsInt(obj2
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13462 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13463 PyObject
*resultobj
;
13464 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13466 PyObject
* obj0
= 0 ;
13467 char *kwnames
[] = {
13468 (char *) "self", NULL
13471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13481 resultobj
= SWIG_FromInt((int)result
);
13488 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13489 PyObject
*resultobj
;
13490 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13492 PyObject
* obj0
= 0 ;
13493 char *kwnames
[] = {
13494 (char *) "self", NULL
13497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 resultobj
= SWIG_FromInt((int)result
);
13514 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
;
13516 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13518 PyObject
* obj0
= 0 ;
13519 PyObject
* obj1
= 0 ;
13520 char *kwnames
[] = {
13521 (char *) "self",(char *) "orient", NULL
13524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13527 arg2
= (int) SWIG_AsInt(obj1
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 (arg1
)->SetOrientation(arg2
);
13533 wxPyEndAllowThreads(__tstate
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13536 Py_INCREF(Py_None
); resultobj
= Py_None
;
13543 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13544 PyObject
*resultobj
;
13545 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13547 PyObject
* obj0
= 0 ;
13548 PyObject
* obj1
= 0 ;
13549 char *kwnames
[] = {
13550 (char *) "self",(char *) "pos", NULL
13553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13556 arg2
= (int) SWIG_AsInt(obj1
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 (arg1
)->SetPosition(arg2
);
13562 wxPyEndAllowThreads(__tstate
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13565 Py_INCREF(Py_None
); resultobj
= Py_None
;
13572 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13575 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13577 return Py_BuildValue((char *)"");
13579 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13580 PyObject
*resultobj
;
13581 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13582 wxMouseEvent
*result
;
13583 PyObject
* obj0
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "mouseType", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13590 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13595 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13601 resultobj
= wxPyMake_wxObject(result
);
13609 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
;
13611 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13613 PyObject
* obj0
= 0 ;
13614 char *kwnames
[] = {
13615 (char *) "self", NULL
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13637 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13638 PyObject
*resultobj
;
13639 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13640 int arg2
= (int) wxMOUSE_BTN_ANY
;
13642 PyObject
* obj0
= 0 ;
13643 PyObject
* obj1
= 0 ;
13644 char *kwnames
[] = {
13645 (char *) "self",(char *) "but", NULL
13648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13652 arg2
= (int) SWIG_AsInt(obj1
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13659 wxPyEndAllowThreads(__tstate
);
13660 if (PyErr_Occurred()) SWIG_fail
;
13663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13671 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
;
13673 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13674 int arg2
= (int) wxMOUSE_BTN_ANY
;
13676 PyObject
* obj0
= 0 ;
13677 PyObject
* obj1
= 0 ;
13678 char *kwnames
[] = {
13679 (char *) "self",(char *) "but", NULL
13682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13686 arg2
= (int) SWIG_AsInt(obj1
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13705 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13706 PyObject
*resultobj
;
13707 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13708 int arg2
= (int) wxMOUSE_BTN_ANY
;
13710 PyObject
* obj0
= 0 ;
13711 PyObject
* obj1
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "self",(char *) "but", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13720 arg2
= (int) SWIG_AsInt(obj1
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13739 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
;
13741 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13744 PyObject
* obj0
= 0 ;
13745 PyObject
* obj1
= 0 ;
13746 char *kwnames
[] = {
13747 (char *) "self",(char *) "but", NULL
13750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13753 arg2
= (int) SWIG_AsInt(obj1
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13757 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13771 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
*resultobj
;
13773 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13776 PyObject
* obj0
= 0 ;
13777 PyObject
* obj1
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "self",(char *) "but", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13785 arg2
= (int) SWIG_AsInt(obj1
);
13786 if (PyErr_Occurred()) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13803 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13804 PyObject
*resultobj
;
13805 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13807 PyObject
* obj0
= 0 ;
13808 char *kwnames
[] = {
13809 (char *) "self", NULL
13812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= SWIG_FromInt((int)result
);
13829 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13830 PyObject
*resultobj
;
13831 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13833 PyObject
* obj0
= 0 ;
13834 char *kwnames
[] = {
13835 (char *) "self", NULL
13838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13857 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13858 PyObject
*resultobj
;
13859 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13861 PyObject
* obj0
= 0 ;
13862 char *kwnames
[] = {
13863 (char *) "self", NULL
13866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13885 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
;
13887 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13889 PyObject
* obj0
= 0 ;
13890 char *kwnames
[] = {
13891 (char *) "self", NULL
13894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13913 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13914 PyObject
*resultobj
;
13915 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13917 PyObject
* obj0
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "self", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13941 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13942 PyObject
*resultobj
;
13943 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13945 PyObject
* obj0
= 0 ;
13946 char *kwnames
[] = {
13947 (char *) "self", NULL
13950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13969 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
;
13971 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13973 PyObject
* obj0
= 0 ;
13974 char *kwnames
[] = {
13975 (char *) "self", NULL
13978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13997 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13998 PyObject
*resultobj
;
13999 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14001 PyObject
* obj0
= 0 ;
14002 char *kwnames
[] = {
14003 (char *) "self", NULL
14006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14025 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14026 PyObject
*resultobj
;
14027 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14029 PyObject
* obj0
= 0 ;
14030 char *kwnames
[] = {
14031 (char *) "self", NULL
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14053 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14057 PyObject
* obj0
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14081 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14082 PyObject
*resultobj
;
14083 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14085 PyObject
* obj0
= 0 ;
14086 char *kwnames
[] = {
14087 (char *) "self", NULL
14090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14109 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14110 PyObject
*resultobj
;
14111 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14113 PyObject
* obj0
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14137 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14138 PyObject
*resultobj
;
14139 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14141 PyObject
* obj0
= 0 ;
14142 char *kwnames
[] = {
14143 (char *) "self", NULL
14146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14165 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14166 PyObject
*resultobj
;
14167 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14169 PyObject
* obj0
= 0 ;
14170 char *kwnames
[] = {
14171 (char *) "self", NULL
14174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14181 wxPyEndAllowThreads(__tstate
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14193 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14197 PyObject
* obj0
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "self", NULL
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= (bool)(arg1
)->LeftIsDown();
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14221 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14222 PyObject
*resultobj
;
14223 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14225 PyObject
* obj0
= 0 ;
14226 char *kwnames
[] = {
14227 (char *) "self", NULL
14230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (bool)(arg1
)->MiddleIsDown();
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14249 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
;
14251 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14253 PyObject
* obj0
= 0 ;
14254 char *kwnames
[] = {
14255 (char *) "self", NULL
14258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= (bool)(arg1
)->RightIsDown();
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14277 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
;
14279 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14281 PyObject
* obj0
= 0 ;
14282 char *kwnames
[] = {
14283 (char *) "self", NULL
14286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14305 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14306 PyObject
*resultobj
;
14307 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14309 PyObject
* obj0
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "self", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14333 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
;
14335 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14337 PyObject
* obj0
= 0 ;
14338 char *kwnames
[] = {
14339 (char *) "self", NULL
14342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14349 wxPyEndAllowThreads(__tstate
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14361 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14362 PyObject
*resultobj
;
14363 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14365 PyObject
* obj0
= 0 ;
14366 char *kwnames
[] = {
14367 (char *) "self", NULL
14370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14389 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14390 PyObject
*resultobj
;
14391 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14393 PyObject
* obj0
= 0 ;
14394 char *kwnames
[] = {
14395 (char *) "self", NULL
14398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 result
= (arg1
)->GetPosition();
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14409 wxPoint
* resultptr
;
14410 resultptr
= new wxPoint((wxPoint
&) result
);
14411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14419 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14420 PyObject
*resultobj
;
14421 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14422 long *arg2
= (long *) 0 ;
14423 long *arg3
= (long *) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 char *kwnames
[] = {
14428 (char *) "self", NULL
14433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 (arg1
)->GetPosition(arg2
,arg3
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 Py_INCREF(Py_None
); resultobj
= Py_None
;
14445 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14446 resultobj
= t_output_helper(resultobj
,o
);
14449 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14450 resultobj
= t_output_helper(resultobj
,o
);
14458 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
;
14460 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14463 PyObject
* obj0
= 0 ;
14464 PyObject
* obj1
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "self",(char *) "dc", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14475 if (arg2
== NULL
) {
14476 PyErr_SetString(PyExc_TypeError
,"null reference");
14480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14483 wxPyEndAllowThreads(__tstate
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14487 wxPoint
* resultptr
;
14488 resultptr
= new wxPoint((wxPoint
&) result
);
14489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14497 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
;
14499 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14501 PyObject
* obj0
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= SWIG_FromInt((int)result
);
14523 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
;
14525 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14527 PyObject
* obj0
= 0 ;
14528 char *kwnames
[] = {
14529 (char *) "self", NULL
14532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14537 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14539 wxPyEndAllowThreads(__tstate
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14542 resultobj
= SWIG_FromInt((int)result
);
14549 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14550 PyObject
*resultobj
;
14551 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14553 PyObject
* obj0
= 0 ;
14554 char *kwnames
[] = {
14555 (char *) "self", NULL
14558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14565 wxPyEndAllowThreads(__tstate
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= SWIG_FromInt((int)result
);
14575 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14579 PyObject
* obj0
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= SWIG_FromInt((int)result
);
14601 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
;
14603 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14605 PyObject
* obj0
= 0 ;
14606 char *kwnames
[] = {
14607 (char *) "self", NULL
14610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14615 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= SWIG_FromInt((int)result
);
14627 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14631 PyObject
* obj0
= 0 ;
14632 char *kwnames
[] = {
14633 (char *) "self", NULL
14636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14655 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14656 PyObject
*resultobj
;
14657 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14659 PyObject
* obj0
= 0 ;
14660 PyObject
* obj1
= 0 ;
14661 char *kwnames
[] = {
14662 (char *) "self",(char *) "m_x", NULL
14665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14668 arg2
= (int) SWIG_AsInt(obj1
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14670 if (arg1
) (arg1
)->m_x
= arg2
;
14672 Py_INCREF(Py_None
); resultobj
= Py_None
;
14679 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "self", NULL
14688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14691 result
= (int) ((arg1
)->m_x
);
14693 resultobj
= SWIG_FromInt((int)result
);
14700 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14704 PyObject
* obj0
= 0 ;
14705 PyObject
* obj1
= 0 ;
14706 char *kwnames
[] = {
14707 (char *) "self",(char *) "m_y", NULL
14710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14713 arg2
= (int) SWIG_AsInt(obj1
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14715 if (arg1
) (arg1
)->m_y
= arg2
;
14717 Py_INCREF(Py_None
); resultobj
= Py_None
;
14724 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
;
14726 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14728 PyObject
* obj0
= 0 ;
14729 char *kwnames
[] = {
14730 (char *) "self", NULL
14733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14736 result
= (int) ((arg1
)->m_y
);
14738 resultobj
= SWIG_FromInt((int)result
);
14745 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
;
14747 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14749 PyObject
* obj0
= 0 ;
14750 PyObject
* obj1
= 0 ;
14751 char *kwnames
[] = {
14752 (char *) "self",(char *) "m_leftDown", NULL
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14758 arg2
= (bool) SWIG_AsBool(obj1
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14760 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14762 Py_INCREF(Py_None
); resultobj
= Py_None
;
14769 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14770 PyObject
*resultobj
;
14771 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14773 PyObject
* obj0
= 0 ;
14774 char *kwnames
[] = {
14775 (char *) "self", NULL
14778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14781 result
= (bool) ((arg1
)->m_leftDown
);
14784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14792 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14796 PyObject
* obj0
= 0 ;
14797 PyObject
* obj1
= 0 ;
14798 char *kwnames
[] = {
14799 (char *) "self",(char *) "m_middleDown", NULL
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14805 arg2
= (bool) SWIG_AsBool(obj1
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14807 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14809 Py_INCREF(Py_None
); resultobj
= Py_None
;
14816 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
;
14818 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "self", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14828 result
= (bool) ((arg1
)->m_middleDown
);
14831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14839 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 PyObject
* obj1
= 0 ;
14845 char *kwnames
[] = {
14846 (char *) "self",(char *) "m_rightDown", NULL
14849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14852 arg2
= (bool) SWIG_AsBool(obj1
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14854 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14856 Py_INCREF(Py_None
); resultobj
= Py_None
;
14863 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14867 PyObject
* obj0
= 0 ;
14868 char *kwnames
[] = {
14869 (char *) "self", NULL
14872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14875 result
= (bool) ((arg1
)->m_rightDown
);
14878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14886 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14890 PyObject
* obj0
= 0 ;
14891 PyObject
* obj1
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self",(char *) "m_controlDown", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14899 arg2
= (bool) SWIG_AsBool(obj1
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14901 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14903 Py_INCREF(Py_None
); resultobj
= Py_None
;
14910 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14911 PyObject
*resultobj
;
14912 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14914 PyObject
* obj0
= 0 ;
14915 char *kwnames
[] = {
14916 (char *) "self", NULL
14919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14922 result
= (bool) ((arg1
)->m_controlDown
);
14925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14933 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14937 PyObject
* obj0
= 0 ;
14938 PyObject
* obj1
= 0 ;
14939 char *kwnames
[] = {
14940 (char *) "self",(char *) "m_shiftDown", NULL
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14946 arg2
= (bool) SWIG_AsBool(obj1
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14948 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14950 Py_INCREF(Py_None
); resultobj
= Py_None
;
14957 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
;
14959 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14961 PyObject
* obj0
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14969 result
= (bool) ((arg1
)->m_shiftDown
);
14972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14980 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14981 PyObject
*resultobj
;
14982 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14984 PyObject
* obj0
= 0 ;
14985 PyObject
* obj1
= 0 ;
14986 char *kwnames
[] = {
14987 (char *) "self",(char *) "m_altDown", NULL
14990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14993 arg2
= (bool) SWIG_AsBool(obj1
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14995 if (arg1
) (arg1
)->m_altDown
= arg2
;
14997 Py_INCREF(Py_None
); resultobj
= Py_None
;
15004 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
;
15006 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15008 PyObject
* obj0
= 0 ;
15009 char *kwnames
[] = {
15010 (char *) "self", NULL
15013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15016 result
= (bool) ((arg1
)->m_altDown
);
15019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15027 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
;
15029 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 PyObject
* obj1
= 0 ;
15033 char *kwnames
[] = {
15034 (char *) "self",(char *) "m_metaDown", NULL
15037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15040 arg2
= (bool) SWIG_AsBool(obj1
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15042 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15044 Py_INCREF(Py_None
); resultobj
= Py_None
;
15051 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15055 PyObject
* obj0
= 0 ;
15056 char *kwnames
[] = {
15057 (char *) "self", NULL
15060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15063 result
= (bool) ((arg1
)->m_metaDown
);
15066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15074 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15075 PyObject
*resultobj
;
15076 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15078 PyObject
* obj0
= 0 ;
15079 PyObject
* obj1
= 0 ;
15080 char *kwnames
[] = {
15081 (char *) "self",(char *) "m_wheelRotation", NULL
15084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15087 arg2
= (int) SWIG_AsInt(obj1
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15089 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15091 Py_INCREF(Py_None
); resultobj
= Py_None
;
15098 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
;
15100 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15102 PyObject
* obj0
= 0 ;
15103 char *kwnames
[] = {
15104 (char *) "self", NULL
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15110 result
= (int) ((arg1
)->m_wheelRotation
);
15112 resultobj
= SWIG_FromInt((int)result
);
15119 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
;
15121 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15123 PyObject
* obj0
= 0 ;
15124 PyObject
* obj1
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self",(char *) "m_wheelDelta", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15132 arg2
= (int) SWIG_AsInt(obj1
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15134 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15136 Py_INCREF(Py_None
); resultobj
= Py_None
;
15143 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
;
15145 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15147 PyObject
* obj0
= 0 ;
15148 char *kwnames
[] = {
15149 (char *) "self", NULL
15152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15155 result
= (int) ((arg1
)->m_wheelDelta
);
15157 resultobj
= SWIG_FromInt((int)result
);
15164 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15165 PyObject
*resultobj
;
15166 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15168 PyObject
* obj0
= 0 ;
15169 PyObject
* obj1
= 0 ;
15170 char *kwnames
[] = {
15171 (char *) "self",(char *) "m_linesPerAction", NULL
15174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15177 arg2
= (int) SWIG_AsInt(obj1
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15179 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15181 Py_INCREF(Py_None
); resultobj
= Py_None
;
15188 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
;
15190 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15192 PyObject
* obj0
= 0 ;
15193 char *kwnames
[] = {
15194 (char *) "self", NULL
15197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15200 result
= (int) ((arg1
)->m_linesPerAction
);
15202 resultobj
= SWIG_FromInt((int)result
);
15209 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15212 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15214 return Py_BuildValue((char *)"");
15216 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 int arg1
= (int) 0 ;
15219 int arg2
= (int) 0 ;
15220 wxSetCursorEvent
*result
;
15221 PyObject
* obj0
= 0 ;
15222 PyObject
* obj1
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "x",(char *) "y", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15229 arg1
= (int) SWIG_AsInt(obj0
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15233 arg2
= (int) SWIG_AsInt(obj1
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15250 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
;
15252 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "self", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 resultobj
= SWIG_FromInt((int)result
);
15276 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
;
15278 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15280 PyObject
* obj0
= 0 ;
15281 char *kwnames
[] = {
15282 (char *) "self", NULL
15285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 resultobj
= SWIG_FromInt((int)result
);
15302 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15305 wxCursor
*arg2
= 0 ;
15306 PyObject
* obj0
= 0 ;
15307 PyObject
* obj1
= 0 ;
15308 char *kwnames
[] = {
15309 (char *) "self",(char *) "cursor", NULL
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15318 if (arg2
== NULL
) {
15319 PyErr_SetString(PyExc_TypeError
,"null reference");
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15329 Py_INCREF(Py_None
); resultobj
= Py_None
;
15336 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15352 result
= (wxCursor
*) &_result_ref
;
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15359 wxCursor
* resultptr
= new wxCursor(*result
);
15360 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15368 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15369 PyObject
*resultobj
;
15370 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15372 PyObject
* obj0
= 0 ;
15373 char *kwnames
[] = {
15374 (char *) "self", NULL
15377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15382 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15396 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15399 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15401 return Py_BuildValue((char *)"");
15403 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15406 wxKeyEvent
*result
;
15407 PyObject
* obj0
= 0 ;
15408 char *kwnames
[] = {
15409 (char *) "keyType", NULL
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15414 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15431 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15459 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
;
15461 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15463 PyObject
* obj0
= 0 ;
15464 char *kwnames
[] = {
15465 (char *) "self", NULL
15468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15487 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
;
15489 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15491 PyObject
* obj0
= 0 ;
15492 char *kwnames
[] = {
15493 (char *) "self", NULL
15496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15503 wxPyEndAllowThreads(__tstate
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15515 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
;
15517 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15519 PyObject
* obj0
= 0 ;
15520 char *kwnames
[] = {
15521 (char *) "self", NULL
15524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15543 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
;
15545 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15547 PyObject
* obj0
= 0 ;
15548 char *kwnames
[] = {
15549 (char *) "self", NULL
15552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15571 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15575 PyObject
* obj0
= 0 ;
15576 char *kwnames
[] = {
15577 (char *) "self", NULL
15580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15590 resultobj
= SWIG_FromInt((int)result
);
15597 static PyObject
*_wrap_KeyEvent_GetUniChar(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_GetUniChar",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_GetUniChar(arg1
);
15613 wxPyEndAllowThreads(__tstate
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15616 resultobj
= SWIG_FromInt((int)result
);
15623 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15624 PyObject
*resultobj
;
15625 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15626 unsigned int result
;
15627 PyObject
* obj0
= 0 ;
15628 char *kwnames
[] = {
15629 (char *) "self", NULL
15632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",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
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15649 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(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_GetRawKeyFlags",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
)->GetRawKeyFlags();
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15675 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15679 PyObject
* obj0
= 0 ;
15680 char *kwnames
[] = {
15681 (char *) "self", NULL
15684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",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
= (arg1
)->GetPosition();
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15695 wxPoint
* resultptr
;
15696 resultptr
= new wxPoint((wxPoint
&) result
);
15697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15705 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15706 PyObject
*resultobj
;
15707 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15708 long *arg2
= (long *) 0 ;
15709 long *arg3
= (long *) 0 ;
15712 PyObject
* obj0
= 0 ;
15713 char *kwnames
[] = {
15714 (char *) "self", NULL
15719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15724 (arg1
)->GetPosition(arg2
,arg3
);
15726 wxPyEndAllowThreads(__tstate
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15729 Py_INCREF(Py_None
); resultobj
= Py_None
;
15731 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15732 resultobj
= t_output_helper(resultobj
,o
);
15735 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15736 resultobj
= t_output_helper(resultobj
,o
);
15744 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15745 PyObject
*resultobj
;
15746 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15748 PyObject
* obj0
= 0 ;
15749 char *kwnames
[] = {
15750 (char *) "self", NULL
15753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= SWIG_FromInt((int)result
);
15770 static PyObject
*_wrap_KeyEvent_GetY(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_GetY",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
)->GetY();
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= SWIG_FromInt((int)result
);
15796 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15797 PyObject
*resultobj
;
15798 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15800 PyObject
* obj0
= 0 ;
15801 PyObject
* obj1
= 0 ;
15802 char *kwnames
[] = {
15803 (char *) "self",(char *) "m_x", NULL
15806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15809 arg2
= (int) SWIG_AsInt(obj1
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15811 if (arg1
) (arg1
)->m_x
= arg2
;
15813 Py_INCREF(Py_None
); resultobj
= Py_None
;
15820 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15821 PyObject
*resultobj
;
15822 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15824 PyObject
* obj0
= 0 ;
15825 char *kwnames
[] = {
15826 (char *) "self", NULL
15829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15832 result
= (int) ((arg1
)->m_x
);
15834 resultobj
= SWIG_FromInt((int)result
);
15841 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
;
15843 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15845 PyObject
* obj0
= 0 ;
15846 PyObject
* obj1
= 0 ;
15847 char *kwnames
[] = {
15848 (char *) "self",(char *) "m_y", NULL
15851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15854 arg2
= (int) SWIG_AsInt(obj1
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15856 if (arg1
) (arg1
)->m_y
= arg2
;
15858 Py_INCREF(Py_None
); resultobj
= Py_None
;
15865 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15869 PyObject
* obj0
= 0 ;
15870 char *kwnames
[] = {
15871 (char *) "self", NULL
15874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15877 result
= (int) ((arg1
)->m_y
);
15879 resultobj
= SWIG_FromInt((int)result
);
15886 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15887 PyObject
*resultobj
;
15888 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15890 PyObject
* obj0
= 0 ;
15891 PyObject
* obj1
= 0 ;
15892 char *kwnames
[] = {
15893 (char *) "self",(char *) "m_keyCode", NULL
15896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15899 arg2
= (long) SWIG_AsLong(obj1
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15901 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15903 Py_INCREF(Py_None
); resultobj
= Py_None
;
15910 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15911 PyObject
*resultobj
;
15912 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15914 PyObject
* obj0
= 0 ;
15915 char *kwnames
[] = {
15916 (char *) "self", NULL
15919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15922 result
= (long) ((arg1
)->m_keyCode
);
15924 resultobj
= SWIG_FromLong((long)result
);
15931 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15932 PyObject
*resultobj
;
15933 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15935 PyObject
* obj0
= 0 ;
15936 PyObject
* obj1
= 0 ;
15937 char *kwnames
[] = {
15938 (char *) "self",(char *) "m_controlDown", NULL
15941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15944 arg2
= (bool) SWIG_AsBool(obj1
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15946 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15948 Py_INCREF(Py_None
); resultobj
= Py_None
;
15955 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
;
15957 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15959 PyObject
* obj0
= 0 ;
15960 char *kwnames
[] = {
15961 (char *) "self", NULL
15964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15967 result
= (bool) ((arg1
)->m_controlDown
);
15970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15978 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15982 PyObject
* obj0
= 0 ;
15983 PyObject
* obj1
= 0 ;
15984 char *kwnames
[] = {
15985 (char *) "self",(char *) "m_shiftDown", NULL
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15991 arg2
= (bool) SWIG_AsBool(obj1
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15993 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15995 Py_INCREF(Py_None
); resultobj
= Py_None
;
16002 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
;
16004 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16006 PyObject
* obj0
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16014 result
= (bool) ((arg1
)->m_shiftDown
);
16017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16025 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
;
16027 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16029 PyObject
* obj0
= 0 ;
16030 PyObject
* obj1
= 0 ;
16031 char *kwnames
[] = {
16032 (char *) "self",(char *) "m_altDown", NULL
16035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16038 arg2
= (bool) SWIG_AsBool(obj1
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16040 if (arg1
) (arg1
)->m_altDown
= arg2
;
16042 Py_INCREF(Py_None
); resultobj
= Py_None
;
16049 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16053 PyObject
* obj0
= 0 ;
16054 char *kwnames
[] = {
16055 (char *) "self", NULL
16058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16061 result
= (bool) ((arg1
)->m_altDown
);
16064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16072 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16073 PyObject
*resultobj
;
16074 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16076 PyObject
* obj0
= 0 ;
16077 PyObject
* obj1
= 0 ;
16078 char *kwnames
[] = {
16079 (char *) "self",(char *) "m_metaDown", NULL
16082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16085 arg2
= (bool) SWIG_AsBool(obj1
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16087 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16089 Py_INCREF(Py_None
); resultobj
= Py_None
;
16096 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16097 PyObject
*resultobj
;
16098 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16100 PyObject
* obj0
= 0 ;
16101 char *kwnames
[] = {
16102 (char *) "self", NULL
16105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16108 result
= (bool) ((arg1
)->m_metaDown
);
16111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16119 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16120 PyObject
*resultobj
;
16121 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16123 PyObject
* obj0
= 0 ;
16124 PyObject
* obj1
= 0 ;
16125 char *kwnames
[] = {
16126 (char *) "self",(char *) "m_scanCode", NULL
16129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16132 arg2
= (bool) SWIG_AsBool(obj1
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16134 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16136 Py_INCREF(Py_None
); resultobj
= Py_None
;
16143 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
;
16145 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16147 PyObject
* obj0
= 0 ;
16148 char *kwnames
[] = {
16149 (char *) "self", NULL
16152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16155 result
= (bool) ((arg1
)->m_scanCode
);
16158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16166 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16167 PyObject
*resultobj
;
16168 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16169 unsigned int arg2
;
16170 PyObject
* obj0
= 0 ;
16171 PyObject
* obj1
= 0 ;
16172 char *kwnames
[] = {
16173 (char *) "self",(char *) "m_rawCode", NULL
16176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16179 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16181 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16183 Py_INCREF(Py_None
); resultobj
= Py_None
;
16190 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
;
16192 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16193 unsigned int result
;
16194 PyObject
* obj0
= 0 ;
16195 char *kwnames
[] = {
16196 (char *) "self", NULL
16199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16202 result
= (unsigned int) ((arg1
)->m_rawCode
);
16204 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16211 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16212 PyObject
*resultobj
;
16213 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16214 unsigned int arg2
;
16215 PyObject
* obj0
= 0 ;
16216 PyObject
* obj1
= 0 ;
16217 char *kwnames
[] = {
16218 (char *) "self",(char *) "m_rawFlags", NULL
16221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16224 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16226 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16228 Py_INCREF(Py_None
); resultobj
= Py_None
;
16235 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16236 PyObject
*resultobj
;
16237 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16238 unsigned int result
;
16239 PyObject
* obj0
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "self", NULL
16244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16247 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16249 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16256 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16259 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16261 return Py_BuildValue((char *)"");
16263 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
;
16265 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16266 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16267 int arg2
= (int) 0 ;
16268 wxSizeEvent
*result
;
16270 PyObject
* obj0
= 0 ;
16271 PyObject
* obj1
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "sz",(char *) "winid", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16280 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16284 arg2
= (int) SWIG_AsInt(obj1
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16301 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
;
16303 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16305 PyObject
* obj0
= 0 ;
16306 char *kwnames
[] = {
16307 (char *) "self", NULL
16310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16321 wxSize
* resultptr
;
16322 resultptr
= new wxSize((wxSize
&) result
);
16323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16331 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16335 PyObject
* obj0
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16351 wxRect
* resultptr
;
16352 resultptr
= new wxRect((wxRect
&) result
);
16353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16361 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
;
16363 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16366 PyObject
* obj0
= 0 ;
16367 PyObject
* obj1
= 0 ;
16368 char *kwnames
[] = {
16369 (char *) "self",(char *) "rect", NULL
16372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16375 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16376 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 (arg1
)->SetRect(arg2
);
16382 wxPyEndAllowThreads(__tstate
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16385 Py_INCREF(Py_None
); resultobj
= Py_None
;
16392 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16393 PyObject
*resultobj
;
16394 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16397 PyObject
* obj0
= 0 ;
16398 PyObject
* obj1
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "self",(char *) "size", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16406 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16407 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 wxSizeEvent_SetSize(arg1
,arg2
);
16413 wxPyEndAllowThreads(__tstate
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16416 Py_INCREF(Py_None
); resultobj
= Py_None
;
16423 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16424 PyObject
*resultobj
;
16425 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16426 wxSize
*arg2
= (wxSize
*) 0 ;
16427 PyObject
* obj0
= 0 ;
16428 PyObject
* obj1
= 0 ;
16429 char *kwnames
[] = {
16430 (char *) "self",(char *) "m_size", NULL
16433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16438 if (arg1
) (arg1
)->m_size
= *arg2
;
16440 Py_INCREF(Py_None
); resultobj
= Py_None
;
16447 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16448 PyObject
*resultobj
;
16449 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16451 PyObject
* obj0
= 0 ;
16452 char *kwnames
[] = {
16453 (char *) "self", NULL
16456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16459 result
= (wxSize
*)& ((arg1
)->m_size
);
16461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16468 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
;
16470 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16471 wxRect
*arg2
= (wxRect
*) 0 ;
16472 PyObject
* obj0
= 0 ;
16473 PyObject
* obj1
= 0 ;
16474 char *kwnames
[] = {
16475 (char *) "self",(char *) "m_rect", NULL
16478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16483 if (arg1
) (arg1
)->m_rect
= *arg2
;
16485 Py_INCREF(Py_None
); resultobj
= Py_None
;
16492 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16496 PyObject
* obj0
= 0 ;
16497 char *kwnames
[] = {
16498 (char *) "self", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16504 result
= (wxRect
*)& ((arg1
)->m_rect
);
16506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16513 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16516 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16518 return Py_BuildValue((char *)"");
16520 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16523 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16524 int arg2
= (int) 0 ;
16525 wxMoveEvent
*result
;
16527 PyObject
* obj0
= 0 ;
16528 PyObject
* obj1
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "pos",(char *) "winid", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16537 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16541 arg2
= (int) SWIG_AsInt(obj1
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16546 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16548 wxPyEndAllowThreads(__tstate
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16558 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
;
16560 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16562 PyObject
* obj0
= 0 ;
16563 char *kwnames
[] = {
16564 (char *) "self", NULL
16567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16572 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16574 wxPyEndAllowThreads(__tstate
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16578 wxPoint
* resultptr
;
16579 resultptr
= new wxPoint((wxPoint
&) result
);
16580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16588 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
;
16590 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16592 PyObject
* obj0
= 0 ;
16593 char *kwnames
[] = {
16594 (char *) "self", NULL
16597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16608 wxRect
* resultptr
;
16609 resultptr
= new wxRect((wxRect
&) result
);
16610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16618 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
;
16620 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16623 PyObject
* obj0
= 0 ;
16624 PyObject
* obj1
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "self",(char *) "rect", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16632 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16633 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 (arg1
)->SetRect(arg2
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16642 Py_INCREF(Py_None
); resultobj
= Py_None
;
16649 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16650 PyObject
*resultobj
;
16651 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 char *kwnames
[] = {
16657 (char *) "self",(char *) "pos", NULL
16660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16663 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16664 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16668 wxMoveEvent_SetPosition(arg1
,arg2
);
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16673 Py_INCREF(Py_None
); resultobj
= Py_None
;
16680 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
;
16682 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16683 wxPoint
*arg2
= (wxPoint
*) 0 ;
16684 PyObject
* obj0
= 0 ;
16685 PyObject
* obj1
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "self",(char *) "m_pos", NULL
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16695 if (arg1
) (arg1
)->m_pos
= *arg2
;
16697 Py_INCREF(Py_None
); resultobj
= Py_None
;
16704 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
;
16706 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16708 PyObject
* obj0
= 0 ;
16709 char *kwnames
[] = {
16710 (char *) "self", NULL
16713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16716 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16725 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
;
16727 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16728 wxRect
*arg2
= (wxRect
*) 0 ;
16729 PyObject
* obj0
= 0 ;
16730 PyObject
* obj1
= 0 ;
16731 char *kwnames
[] = {
16732 (char *) "self",(char *) "m_rect", NULL
16735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16740 if (arg1
) (arg1
)->m_rect
= *arg2
;
16742 Py_INCREF(Py_None
); resultobj
= Py_None
;
16749 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16753 PyObject
* obj0
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "self", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16761 result
= (wxRect
*)& ((arg1
)->m_rect
);
16763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16770 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16773 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16775 return Py_BuildValue((char *)"");
16777 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
;
16779 int arg1
= (int) 0 ;
16780 wxPaintEvent
*result
;
16781 PyObject
* obj0
= 0 ;
16782 char *kwnames
[] = {
16783 (char *) "Id", NULL
16786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16788 arg1
= (int) SWIG_AsInt(obj0
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16805 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16808 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16810 return Py_BuildValue((char *)"");
16812 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16814 int arg1
= (int) 0 ;
16815 wxNcPaintEvent
*result
;
16816 PyObject
* obj0
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "winid", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16823 arg1
= (int) SWIG_AsInt(obj0
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16840 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16843 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16845 return Py_BuildValue((char *)"");
16847 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16848 PyObject
*resultobj
;
16849 int arg1
= (int) 0 ;
16850 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16851 wxEraseEvent
*result
;
16852 PyObject
* obj0
= 0 ;
16853 PyObject
* obj1
= 0 ;
16854 char *kwnames
[] = {
16855 (char *) "Id",(char *) "dc", NULL
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16860 arg1
= (int) SWIG_AsInt(obj0
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16881 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16882 PyObject
*resultobj
;
16883 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16885 PyObject
* obj0
= 0 ;
16886 char *kwnames
[] = {
16887 (char *) "self", NULL
16890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16901 resultobj
= wxPyMake_wxObject(result
);
16909 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16912 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16914 return Py_BuildValue((char *)"");
16916 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
;
16918 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16919 int arg2
= (int) 0 ;
16920 wxFocusEvent
*result
;
16921 PyObject
* obj0
= 0 ;
16922 PyObject
* obj1
= 0 ;
16923 char *kwnames
[] = {
16924 (char *) "type",(char *) "winid", NULL
16927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16929 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16933 arg2
= (int) SWIG_AsInt(obj1
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16950 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
;
16952 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16954 PyObject
* obj0
= 0 ;
16955 char *kwnames
[] = {
16956 (char *) "self", NULL
16959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16970 resultobj
= wxPyMake_wxObject(result
);
16978 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
;
16980 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16981 wxWindow
*arg2
= (wxWindow
*) 0 ;
16982 PyObject
* obj0
= 0 ;
16983 PyObject
* obj1
= 0 ;
16984 char *kwnames
[] = {
16985 (char *) "self",(char *) "win", NULL
16988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16995 (arg1
)->SetWindow(arg2
);
16997 wxPyEndAllowThreads(__tstate
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17000 Py_INCREF(Py_None
); resultobj
= Py_None
;
17007 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17010 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17012 return Py_BuildValue((char *)"");
17014 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxWindow
*arg1
= (wxWindow
*) NULL
;
17017 wxChildFocusEvent
*result
;
17018 PyObject
* obj0
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "win", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17042 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17046 PyObject
* obj0
= 0 ;
17047 char *kwnames
[] = {
17048 (char *) "self", NULL
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17056 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17062 resultobj
= wxPyMake_wxObject(result
);
17070 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17073 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17075 return Py_BuildValue((char *)"");
17077 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
;
17079 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17080 bool arg2
= (bool) True
;
17081 int arg3
= (int) 0 ;
17082 wxActivateEvent
*result
;
17083 PyObject
* obj0
= 0 ;
17084 PyObject
* obj1
= 0 ;
17085 PyObject
* obj2
= 0 ;
17086 char *kwnames
[] = {
17087 (char *) "type",(char *) "active",(char *) "Id", NULL
17090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17092 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17096 arg2
= (bool) SWIG_AsBool(obj1
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17100 arg3
= (int) SWIG_AsInt(obj2
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17117 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17121 PyObject
* obj0
= 0 ;
17122 char *kwnames
[] = {
17123 (char *) "self", NULL
17126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17133 wxPyEndAllowThreads(__tstate
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17145 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17148 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17150 return Py_BuildValue((char *)"");
17152 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
;
17154 int arg1
= (int) 0 ;
17155 wxInitDialogEvent
*result
;
17156 PyObject
* obj0
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "Id", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17163 arg1
= (int) SWIG_AsInt(obj0
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17180 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17183 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17185 return Py_BuildValue((char *)"");
17187 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17190 int arg2
= (int) 0 ;
17191 wxMenu
*arg3
= (wxMenu
*) NULL
;
17192 wxMenuEvent
*result
;
17193 PyObject
* obj0
= 0 ;
17194 PyObject
* obj1
= 0 ;
17195 PyObject
* obj2
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "type",(char *) "winid",(char *) "menu", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17202 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17206 arg2
= (int) SWIG_AsInt(obj1
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17210 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17227 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
;
17229 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17231 PyObject
* obj0
= 0 ;
17232 char *kwnames
[] = {
17233 (char *) "self", NULL
17236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17241 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17243 wxPyEndAllowThreads(__tstate
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17246 resultobj
= SWIG_FromInt((int)result
);
17253 static PyObject
*_wrap_MenuEvent_IsPopup(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_IsPopup",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
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17281 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
;
17283 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17285 PyObject
* obj0
= 0 ;
17286 char *kwnames
[] = {
17287 (char *) "self", NULL
17290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17301 resultobj
= wxPyMake_wxObject(result
);
17309 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17312 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17314 return Py_BuildValue((char *)"");
17316 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
;
17318 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17319 int arg2
= (int) 0 ;
17320 wxCloseEvent
*result
;
17321 PyObject
* obj0
= 0 ;
17322 PyObject
* obj1
= 0 ;
17323 char *kwnames
[] = {
17324 (char *) "type",(char *) "winid", NULL
17327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17329 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17333 arg2
= (int) SWIG_AsInt(obj1
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17350 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17351 PyObject
*resultobj
;
17352 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17354 PyObject
* obj0
= 0 ;
17355 PyObject
* obj1
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "self",(char *) "logOff", NULL
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17363 arg2
= (bool) SWIG_AsBool(obj1
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 (arg1
)->SetLoggingOff(arg2
);
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17372 Py_INCREF(Py_None
); resultobj
= Py_None
;
17379 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
;
17381 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17383 PyObject
* obj0
= 0 ;
17384 char *kwnames
[] = {
17385 (char *) "self", NULL
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17407 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17408 PyObject
*resultobj
;
17409 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17410 bool arg2
= (bool) True
;
17411 PyObject
* obj0
= 0 ;
17412 PyObject
* obj1
= 0 ;
17413 char *kwnames
[] = {
17414 (char *) "self",(char *) "veto", NULL
17417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17421 arg2
= (bool) SWIG_AsBool(obj1
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 (arg1
)->Veto(arg2
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 Py_INCREF(Py_None
); resultobj
= Py_None
;
17438 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
;
17440 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17442 PyObject
* obj0
= 0 ;
17443 PyObject
* obj1
= 0 ;
17444 char *kwnames
[] = {
17445 (char *) "self",(char *) "canVeto", NULL
17448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17451 arg2
= (bool) SWIG_AsBool(obj1
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17455 (arg1
)->SetCanVeto(arg2
);
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17460 Py_INCREF(Py_None
); resultobj
= Py_None
;
17467 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17468 PyObject
*resultobj
;
17469 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17471 PyObject
* obj0
= 0 ;
17472 char *kwnames
[] = {
17473 (char *) "self", NULL
17476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17481 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17495 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17499 PyObject
* obj0
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "self", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17509 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17523 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17526 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17528 return Py_BuildValue((char *)"");
17530 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
;
17532 int arg1
= (int) 0 ;
17533 bool arg2
= (bool) False
;
17534 wxShowEvent
*result
;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "winid",(char *) "show", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17543 arg1
= (int) SWIG_AsInt(obj0
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17547 arg2
= (bool) SWIG_AsBool(obj1
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17552 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17564 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17566 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 PyObject
* obj1
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "self",(char *) "show", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17577 arg2
= (bool) SWIG_AsBool(obj1
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 (arg1
)->SetShow(arg2
);
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 Py_INCREF(Py_None
); resultobj
= Py_None
;
17593 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
;
17595 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17597 PyObject
* obj0
= 0 ;
17598 char *kwnames
[] = {
17599 (char *) "self", NULL
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17621 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17624 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17626 return Py_BuildValue((char *)"");
17628 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
;
17630 int arg1
= (int) 0 ;
17631 bool arg2
= (bool) True
;
17632 wxIconizeEvent
*result
;
17633 PyObject
* obj0
= 0 ;
17634 PyObject
* obj1
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "id",(char *) "iconized", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17641 arg1
= (int) SWIG_AsInt(obj0
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17645 arg2
= (bool) SWIG_AsBool(obj1
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17662 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
;
17664 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17666 PyObject
* obj0
= 0 ;
17667 char *kwnames
[] = {
17668 (char *) "self", NULL
17671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 result
= (bool)(arg1
)->Iconized();
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17690 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17693 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17695 return Py_BuildValue((char *)"");
17697 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17698 PyObject
*resultobj
;
17699 int arg1
= (int) 0 ;
17700 wxMaximizeEvent
*result
;
17701 PyObject
* obj0
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "id", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17708 arg1
= (int) SWIG_AsInt(obj0
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17715 wxPyEndAllowThreads(__tstate
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17725 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17728 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17730 return Py_BuildValue((char *)"");
17732 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
;
17734 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17736 PyObject
* obj0
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "self", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 result
= (arg1
)->GetPosition();
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17752 wxPoint
* resultptr
;
17753 resultptr
= new wxPoint((wxPoint
&) result
);
17754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17762 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17766 PyObject
* obj0
= 0 ;
17767 char *kwnames
[] = {
17768 (char *) "self", NULL
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 result
= (int)(arg1
)->GetNumberOfFiles();
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17781 resultobj
= SWIG_FromInt((int)result
);
17788 static PyObject
*_wrap_DropFilesEvent_GetFiles(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_GetFiles",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
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 resultobj
= result
;
17814 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17817 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17819 return Py_BuildValue((char *)"");
17821 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17822 PyObject
*resultobj
;
17823 int arg1
= (int) 0 ;
17824 wxUpdateUIEvent
*result
;
17825 PyObject
* obj0
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "commandId", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17832 arg1
= (int) SWIG_AsInt(obj0
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17837 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17849 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
;
17851 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17853 PyObject
* obj0
= 0 ;
17854 char *kwnames
[] = {
17855 (char *) "self", NULL
17858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17877 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17881 PyObject
* obj0
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17905 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
;
17907 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17909 PyObject
* obj0
= 0 ;
17910 char *kwnames
[] = {
17911 (char *) "self", NULL
17914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17937 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17941 PyObject
* obj0
= 0 ;
17942 char *kwnames
[] = {
17943 (char *) "self", NULL
17946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17965 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17969 PyObject
* obj0
= 0 ;
17970 char *kwnames
[] = {
17971 (char *) "self", NULL
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17993 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
;
17995 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17997 PyObject
* obj0
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "self", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18009 wxPyEndAllowThreads(__tstate
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18021 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18025 PyObject
* obj0
= 0 ;
18026 PyObject
* obj1
= 0 ;
18027 char *kwnames
[] = {
18028 (char *) "self",(char *) "check", NULL
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18034 arg2
= (bool) SWIG_AsBool(obj1
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 (arg1
)->Check(arg2
);
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 Py_INCREF(Py_None
); resultobj
= Py_None
;
18050 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
;
18052 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18054 PyObject
* obj0
= 0 ;
18055 PyObject
* obj1
= 0 ;
18056 char *kwnames
[] = {
18057 (char *) "self",(char *) "enable", NULL
18060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18063 arg2
= (bool) SWIG_AsBool(obj1
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 (arg1
)->Enable(arg2
);
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 Py_INCREF(Py_None
); resultobj
= Py_None
;
18079 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
;
18081 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18082 wxString
*arg2
= 0 ;
18083 bool temp2
= False
;
18084 PyObject
* obj0
= 0 ;
18085 PyObject
* obj1
= 0 ;
18086 char *kwnames
[] = {
18087 (char *) "self",(char *) "text", NULL
18090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18094 arg2
= wxString_in_helper(obj1
);
18095 if (arg2
== NULL
) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 (arg1
)->SetText((wxString
const &)*arg2
);
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 Py_INCREF(Py_None
); resultobj
= Py_None
;
18120 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
;
18123 PyObject
* obj0
= 0 ;
18124 char *kwnames
[] = {
18125 (char *) "updateInterval", NULL
18128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18129 arg1
= (long) SWIG_AsLong(obj0
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 Py_INCREF(Py_None
); resultobj
= Py_None
;
18145 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18148 char *kwnames
[] = {
18152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18157 wxPyEndAllowThreads(__tstate
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18160 resultobj
= SWIG_FromLong((long)result
);
18167 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
;
18169 wxWindow
*arg1
= (wxWindow
*) 0 ;
18171 PyObject
* obj0
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "win", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18195 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 char *kwnames
[] = {
18201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 wxUpdateUIEvent::ResetUpdateTime();
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 Py_INCREF(Py_None
); resultobj
= Py_None
;
18216 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18219 PyObject
* obj0
= 0 ;
18220 char *kwnames
[] = {
18221 (char *) "mode", NULL
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18225 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18231 wxPyEndAllowThreads(__tstate
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18234 Py_INCREF(Py_None
); resultobj
= Py_None
;
18241 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18242 PyObject
*resultobj
;
18244 char *kwnames
[] = {
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 result
= (int)wxUpdateUIEvent::GetMode();
18253 wxPyEndAllowThreads(__tstate
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 resultobj
= SWIG_FromInt((int)result
);
18263 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18266 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18268 return Py_BuildValue((char *)"");
18270 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
;
18272 wxSysColourChangedEvent
*result
;
18273 char *kwnames
[] = {
18277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18282 wxPyEndAllowThreads(__tstate
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18292 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18295 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18297 return Py_BuildValue((char *)"");
18299 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18300 PyObject
*resultobj
;
18301 int arg1
= (int) 0 ;
18302 wxWindow
*arg2
= (wxWindow
*) NULL
;
18303 wxMouseCaptureChangedEvent
*result
;
18304 PyObject
* obj0
= 0 ;
18305 PyObject
* obj1
= 0 ;
18306 char *kwnames
[] = {
18307 (char *) "winid",(char *) "gainedCapture", NULL
18310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18312 arg1
= (int) SWIG_AsInt(obj0
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18333 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18334 PyObject
*resultobj
;
18335 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18337 PyObject
* obj0
= 0 ;
18338 char *kwnames
[] = {
18339 (char *) "self", NULL
18342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18353 resultobj
= wxPyMake_wxObject(result
);
18361 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18364 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18366 return Py_BuildValue((char *)"");
18368 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18369 PyObject
*resultobj
;
18370 wxDisplayChangedEvent
*result
;
18371 char *kwnames
[] = {
18375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18390 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18393 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18395 return Py_BuildValue((char *)"");
18397 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 int arg1
= (int) 0 ;
18400 wxPaletteChangedEvent
*result
;
18401 PyObject
* obj0
= 0 ;
18402 char *kwnames
[] = {
18403 (char *) "id", NULL
18406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18408 arg1
= (int) SWIG_AsInt(obj0
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18425 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18426 PyObject
*resultobj
;
18427 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18428 wxWindow
*arg2
= (wxWindow
*) 0 ;
18429 PyObject
* obj0
= 0 ;
18430 PyObject
* obj1
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "self",(char *) "win", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 (arg1
)->SetChangedWindow(arg2
);
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18447 Py_INCREF(Py_None
); resultobj
= Py_None
;
18454 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18474 resultobj
= wxPyMake_wxObject(result
);
18482 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18485 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18487 return Py_BuildValue((char *)"");
18489 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
;
18491 int arg1
= (int) 0 ;
18492 wxQueryNewPaletteEvent
*result
;
18493 PyObject
* obj0
= 0 ;
18494 char *kwnames
[] = {
18495 (char *) "winid", NULL
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18500 arg1
= (int) SWIG_AsInt(obj0
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18517 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18521 PyObject
* obj0
= 0 ;
18522 PyObject
* obj1
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self",(char *) "realized", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18530 arg2
= (bool) SWIG_AsBool(obj1
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 (arg1
)->SetPaletteRealized(arg2
);
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 Py_INCREF(Py_None
); resultobj
= Py_None
;
18546 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
;
18548 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 char *kwnames
[] = {
18552 (char *) "self", NULL
18555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18574 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18577 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18579 return Py_BuildValue((char *)"");
18581 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18582 PyObject
*resultobj
;
18583 wxNavigationKeyEvent
*result
;
18584 char *kwnames
[] = {
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18603 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
;
18605 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18607 PyObject
* obj0
= 0 ;
18608 char *kwnames
[] = {
18609 (char *) "self", NULL
18612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18631 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18632 PyObject
*resultobj
;
18633 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18635 PyObject
* obj0
= 0 ;
18636 PyObject
* obj1
= 0 ;
18637 char *kwnames
[] = {
18638 (char *) "self",(char *) "bForward", NULL
18641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18644 arg2
= (bool) SWIG_AsBool(obj1
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 (arg1
)->SetDirection(arg2
);
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 Py_INCREF(Py_None
); resultobj
= Py_None
;
18660 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18688 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18692 PyObject
* obj0
= 0 ;
18693 PyObject
* obj1
= 0 ;
18694 char *kwnames
[] = {
18695 (char *) "self",(char *) "bIs", NULL
18698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18701 arg2
= (bool) SWIG_AsBool(obj1
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 (arg1
)->SetWindowChange(arg2
);
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18710 Py_INCREF(Py_None
); resultobj
= Py_None
;
18717 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
;
18719 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18721 PyObject
* obj0
= 0 ;
18722 char *kwnames
[] = {
18723 (char *) "self", NULL
18726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18731 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18733 wxPyEndAllowThreads(__tstate
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18737 resultobj
= wxPyMake_wxObject(result
);
18745 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
;
18747 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18748 wxWindow
*arg2
= (wxWindow
*) 0 ;
18749 PyObject
* obj0
= 0 ;
18750 PyObject
* obj1
= 0 ;
18751 char *kwnames
[] = {
18752 (char *) "self",(char *) "win", NULL
18755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 (arg1
)->SetCurrentFocus(arg2
);
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 Py_INCREF(Py_None
); resultobj
= Py_None
;
18774 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18777 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18779 return Py_BuildValue((char *)"");
18781 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18782 PyObject
*resultobj
;
18783 wxWindow
*arg1
= (wxWindow
*) NULL
;
18784 wxWindowCreateEvent
*result
;
18785 PyObject
* obj0
= 0 ;
18786 char *kwnames
[] = {
18787 (char *) "win", NULL
18790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18797 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18799 wxPyEndAllowThreads(__tstate
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18809 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18810 PyObject
*resultobj
;
18811 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18813 PyObject
* obj0
= 0 ;
18814 char *kwnames
[] = {
18815 (char *) "self", NULL
18818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18829 resultobj
= wxPyMake_wxObject(result
);
18837 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18840 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18842 return Py_BuildValue((char *)"");
18844 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 wxWindow
*arg1
= (wxWindow
*) NULL
;
18847 wxWindowDestroyEvent
*result
;
18848 PyObject
* obj0
= 0 ;
18849 char *kwnames
[] = {
18850 (char *) "win", NULL
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18872 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
;
18874 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18876 PyObject
* obj0
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "self", NULL
18881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18886 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18888 wxPyEndAllowThreads(__tstate
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18892 resultobj
= wxPyMake_wxObject(result
);
18900 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18903 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18905 return Py_BuildValue((char *)"");
18907 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18908 PyObject
*resultobj
;
18909 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18910 int arg2
= (int) 0 ;
18911 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18912 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18913 wxContextMenuEvent
*result
;
18915 PyObject
* obj0
= 0 ;
18916 PyObject
* obj1
= 0 ;
18917 PyObject
* obj2
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "type",(char *) "winid",(char *) "pt", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18924 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18928 arg2
= (int) SWIG_AsInt(obj1
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18934 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18951 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18955 PyObject
* obj0
= 0 ;
18956 char *kwnames
[] = {
18957 (char *) "self", NULL
18960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18967 result
= (wxPoint
*) &_result_ref
;
18970 wxPyEndAllowThreads(__tstate
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18980 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
;
18982 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18983 wxPoint
*arg2
= 0 ;
18985 PyObject
* obj0
= 0 ;
18986 PyObject
* obj1
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "self",(char *) "pos", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18996 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19000 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19005 Py_INCREF(Py_None
); resultobj
= Py_None
;
19012 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19015 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19017 return Py_BuildValue((char *)"");
19019 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxIdleEvent
*result
;
19022 char *kwnames
[] = {
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 result
= (wxIdleEvent
*)new wxIdleEvent();
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19041 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
;
19043 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19044 bool arg2
= (bool) True
;
19045 PyObject
* obj0
= 0 ;
19046 PyObject
* obj1
= 0 ;
19047 char *kwnames
[] = {
19048 (char *) "self",(char *) "needMore", NULL
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19055 arg2
= (bool) SWIG_AsBool(obj1
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 (arg1
)->RequestMore(arg2
);
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 Py_INCREF(Py_None
); resultobj
= Py_None
;
19072 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 char *kwnames
[] = {
19078 (char *) "self", NULL
19081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19086 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19088 wxPyEndAllowThreads(__tstate
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19100 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19101 PyObject
*resultobj
;
19103 PyObject
* obj0
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "mode", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19109 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19110 if (PyErr_Occurred()) SWIG_fail
;
19112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 Py_INCREF(Py_None
); resultobj
= Py_None
;
19125 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
;
19128 char *kwnames
[] = {
19132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 result
= (int)wxIdleEvent::GetMode();
19137 wxPyEndAllowThreads(__tstate
);
19138 if (PyErr_Occurred()) SWIG_fail
;
19140 resultobj
= SWIG_FromInt((int)result
);
19147 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19148 PyObject
*resultobj
;
19149 wxWindow
*arg1
= (wxWindow
*) 0 ;
19151 PyObject
* obj0
= 0 ;
19152 char *kwnames
[] = {
19153 (char *) "win", NULL
19156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19161 result
= (bool)wxIdleEvent::CanSend(arg1
);
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19175 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19178 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19180 return Py_BuildValue((char *)"");
19182 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
;
19184 int arg1
= (int) 0 ;
19185 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19187 PyObject
* obj0
= 0 ;
19188 PyObject
* obj1
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "winid",(char *) "commandType", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19195 arg1
= (int) SWIG_AsInt(obj0
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19199 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19216 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
;
19218 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19219 PyObject
* obj0
= 0 ;
19220 char *kwnames
[] = {
19221 (char *) "self", NULL
19224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 Py_INCREF(Py_None
); resultobj
= Py_None
;
19241 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
;
19243 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19244 PyObject
*arg2
= (PyObject
*) 0 ;
19245 PyObject
* obj0
= 0 ;
19246 PyObject
* obj1
= 0 ;
19247 char *kwnames
[] = {
19248 (char *) "self",(char *) "self", NULL
19251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19257 (arg1
)->SetSelf(arg2
);
19259 wxPyEndAllowThreads(__tstate
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 Py_INCREF(Py_None
); resultobj
= Py_None
;
19269 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
;
19271 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19273 PyObject
* obj0
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19283 result
= (PyObject
*)(arg1
)->GetSelf();
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 resultobj
= result
;
19295 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19298 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19300 return Py_BuildValue((char *)"");
19302 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19305 int arg2
= (int) 0 ;
19306 wxPyCommandEvent
*result
;
19307 PyObject
* obj0
= 0 ;
19308 PyObject
* obj1
= 0 ;
19309 char *kwnames
[] = {
19310 (char *) "commandType",(char *) "id", NULL
19313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19315 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19316 if (PyErr_Occurred()) SWIG_fail
;
19319 arg2
= (int) SWIG_AsInt(obj1
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19336 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
;
19338 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19339 PyObject
* obj0
= 0 ;
19340 char *kwnames
[] = {
19341 (char *) "self", NULL
19344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19354 Py_INCREF(Py_None
); resultobj
= Py_None
;
19361 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
;
19363 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19364 PyObject
*arg2
= (PyObject
*) 0 ;
19365 PyObject
* obj0
= 0 ;
19366 PyObject
* obj1
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "self",(char *) "self", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 (arg1
)->SetSelf(arg2
);
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19382 Py_INCREF(Py_None
); resultobj
= Py_None
;
19389 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
;
19391 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19393 PyObject
* obj0
= 0 ;
19394 char *kwnames
[] = {
19395 (char *) "self", NULL
19398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19403 result
= (PyObject
*)(arg1
)->GetSelf();
19405 wxPyEndAllowThreads(__tstate
);
19406 if (PyErr_Occurred()) SWIG_fail
;
19408 resultobj
= result
;
19415 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19418 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19420 return Py_BuildValue((char *)"");
19422 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19423 PyObject
*resultobj
;
19425 char *kwnames
[] = {
19429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 result
= (wxPyApp
*)new_wxPyApp();
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19438 resultobj
= wxPyMake_wxObject(result
);
19446 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19449 PyObject
* obj0
= 0 ;
19450 char *kwnames
[] = {
19451 (char *) "self", NULL
19454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 wxPyEndAllowThreads(__tstate
);
19462 if (PyErr_Occurred()) SWIG_fail
;
19464 Py_INCREF(Py_None
); resultobj
= Py_None
;
19471 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
;
19473 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19474 PyObject
*arg2
= (PyObject
*) 0 ;
19475 PyObject
*arg3
= (PyObject
*) 0 ;
19476 PyObject
* obj0
= 0 ;
19477 PyObject
* obj1
= 0 ;
19478 PyObject
* obj2
= 0 ;
19479 char *kwnames
[] = {
19480 (char *) "self",(char *) "self",(char *) "_class", NULL
19483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19490 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19495 Py_INCREF(Py_None
); resultobj
= Py_None
;
19502 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19503 PyObject
*resultobj
;
19504 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19506 PyObject
* obj0
= 0 ;
19507 char *kwnames
[] = {
19508 (char *) "self", NULL
19511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19518 wxPyEndAllowThreads(__tstate
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19523 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19525 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19534 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19535 PyObject
*resultobj
;
19536 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19537 wxString
*arg2
= 0 ;
19538 bool temp2
= False
;
19539 PyObject
* obj0
= 0 ;
19540 PyObject
* obj1
= 0 ;
19541 char *kwnames
[] = {
19542 (char *) "self",(char *) "name", NULL
19545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19549 arg2
= wxString_in_helper(obj1
);
19550 if (arg2
== NULL
) SWIG_fail
;
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 (arg1
)->SetAppName((wxString
const &)*arg2
);
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 Py_INCREF(Py_None
); resultobj
= Py_None
;
19575 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
;
19577 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19579 PyObject
* obj0
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "self", NULL
19584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19589 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19607 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19608 PyObject
*resultobj
;
19609 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19610 wxString
*arg2
= 0 ;
19611 bool temp2
= False
;
19612 PyObject
* obj0
= 0 ;
19613 PyObject
* obj1
= 0 ;
19614 char *kwnames
[] = {
19615 (char *) "self",(char *) "name", NULL
19618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19622 arg2
= wxString_in_helper(obj1
);
19623 if (arg2
== NULL
) SWIG_fail
;
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 (arg1
)->SetClassName((wxString
const &)*arg2
);
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19633 Py_INCREF(Py_None
); resultobj
= Py_None
;
19648 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19652 PyObject
* obj0
= 0 ;
19653 char *kwnames
[] = {
19654 (char *) "self", NULL
19657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19664 result
= (wxString
*) &_result_ref
;
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19674 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19683 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19684 PyObject
*resultobj
;
19685 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19686 wxString
*arg2
= 0 ;
19687 bool temp2
= False
;
19688 PyObject
* obj0
= 0 ;
19689 PyObject
* obj1
= 0 ;
19690 char *kwnames
[] = {
19691 (char *) "self",(char *) "name", NULL
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19698 arg2
= wxString_in_helper(obj1
);
19699 if (arg2
== NULL
) SWIG_fail
;
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19709 Py_INCREF(Py_None
); resultobj
= Py_None
;
19724 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19725 PyObject
*resultobj
;
19726 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19727 wxAppTraits
*result
;
19728 PyObject
* obj0
= 0 ;
19729 char *kwnames
[] = {
19730 (char *) "self", NULL
19733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19738 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19740 wxPyEndAllowThreads(__tstate
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19750 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
;
19752 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19753 PyObject
* obj0
= 0 ;
19754 char *kwnames
[] = {
19755 (char *) "self", NULL
19758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 (arg1
)->ProcessPendingEvents();
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19768 Py_INCREF(Py_None
); resultobj
= Py_None
;
19775 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
;
19777 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19778 bool arg2
= (bool) False
;
19780 PyObject
* obj0
= 0 ;
19781 PyObject
* obj1
= 0 ;
19782 char *kwnames
[] = {
19783 (char *) "self",(char *) "onlyIfNeeded", NULL
19786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19790 arg2
= (bool) SWIG_AsBool(obj1
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 result
= (bool)(arg1
)->Yield(arg2
);
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19809 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19810 PyObject
*resultobj
;
19811 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19812 PyObject
* obj0
= 0 ;
19813 char *kwnames
[] = {
19814 (char *) "self", NULL
19817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 (arg1
)->WakeUpIdle();
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19827 Py_INCREF(Py_None
); resultobj
= Py_None
;
19834 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
;
19836 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19838 PyObject
* obj0
= 0 ;
19839 char *kwnames
[] = {
19840 (char *) "self", NULL
19843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 result
= (int)(arg1
)->MainLoop();
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= SWIG_FromInt((int)result
);
19860 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
;
19862 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19863 PyObject
* obj0
= 0 ;
19864 char *kwnames
[] = {
19865 (char *) "self", NULL
19868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19878 Py_INCREF(Py_None
); resultobj
= Py_None
;
19885 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
;
19887 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19888 PyObject
* obj0
= 0 ;
19889 char *kwnames
[] = {
19890 (char *) "self", NULL
19893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 (arg1
)->ExitMainLoop();
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19903 Py_INCREF(Py_None
); resultobj
= Py_None
;
19910 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19911 PyObject
*resultobj
;
19912 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19914 PyObject
* obj0
= 0 ;
19915 char *kwnames
[] = {
19916 (char *) "self", NULL
19919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19924 result
= (bool)(arg1
)->Pending();
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19938 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19939 PyObject
*resultobj
;
19940 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19942 PyObject
* obj0
= 0 ;
19943 char *kwnames
[] = {
19944 (char *) "self", NULL
19947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 result
= (bool)(arg1
)->Dispatch();
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19966 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
;
19968 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19970 PyObject
* obj0
= 0 ;
19971 char *kwnames
[] = {
19972 (char *) "self", NULL
19975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 result
= (bool)(arg1
)->ProcessIdle();
19982 wxPyEndAllowThreads(__tstate
);
19983 if (PyErr_Occurred()) SWIG_fail
;
19986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19994 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19995 PyObject
*resultobj
;
19996 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19997 wxWindow
*arg2
= (wxWindow
*) 0 ;
19998 wxIdleEvent
*arg3
= 0 ;
20000 PyObject
* obj0
= 0 ;
20001 PyObject
* obj1
= 0 ;
20002 PyObject
* obj2
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self",(char *) "win",(char *) "event", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20012 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20015 if (arg3
== NULL
) {
20016 PyErr_SetString(PyExc_TypeError
,"null reference");
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20023 wxPyEndAllowThreads(__tstate
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20035 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
;
20037 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20039 PyObject
* obj0
= 0 ;
20040 char *kwnames
[] = {
20041 (char *) "self", NULL
20044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20063 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
;
20065 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20066 wxWindow
*arg2
= (wxWindow
*) 0 ;
20067 PyObject
* obj0
= 0 ;
20068 PyObject
* obj1
= 0 ;
20069 char *kwnames
[] = {
20070 (char *) "self",(char *) "win", NULL
20073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 (arg1
)->SetTopWindow(arg2
);
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20085 Py_INCREF(Py_None
); resultobj
= Py_None
;
20092 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20096 PyObject
* obj0
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "self", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20106 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20108 wxPyEndAllowThreads(__tstate
);
20109 if (PyErr_Occurred()) SWIG_fail
;
20112 resultobj
= wxPyMake_wxObject(result
);
20120 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
;
20122 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20124 PyObject
* obj0
= 0 ;
20125 PyObject
* obj1
= 0 ;
20126 char *kwnames
[] = {
20127 (char *) "self",(char *) "flag", NULL
20130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20133 arg2
= (bool) SWIG_AsBool(obj1
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20137 (arg1
)->SetExitOnFrameDelete(arg2
);
20139 wxPyEndAllowThreads(__tstate
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20142 Py_INCREF(Py_None
); resultobj
= Py_None
;
20149 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20150 PyObject
*resultobj
;
20151 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20153 PyObject
* obj0
= 0 ;
20154 char *kwnames
[] = {
20155 (char *) "self", NULL
20158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20165 wxPyEndAllowThreads(__tstate
);
20166 if (PyErr_Occurred()) SWIG_fail
;
20169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20177 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20178 PyObject
*resultobj
;
20179 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20181 PyObject
* obj0
= 0 ;
20182 PyObject
* obj1
= 0 ;
20183 char *kwnames
[] = {
20184 (char *) "self",(char *) "flag", NULL
20187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20190 arg2
= (bool) SWIG_AsBool(obj1
);
20191 if (PyErr_Occurred()) SWIG_fail
;
20193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 (arg1
)->SetUseBestVisual(arg2
);
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 Py_INCREF(Py_None
); resultobj
= Py_None
;
20206 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
;
20208 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20234 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
;
20236 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20238 PyObject
* obj0
= 0 ;
20239 PyObject
* obj1
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "self",(char *) "mode", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20247 arg2
= (int) SWIG_AsInt(obj1
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20251 (arg1
)->SetPrintMode(arg2
);
20253 wxPyEndAllowThreads(__tstate
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20256 Py_INCREF(Py_None
); resultobj
= Py_None
;
20263 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20264 PyObject
*resultobj
;
20265 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20267 PyObject
* obj0
= 0 ;
20268 char *kwnames
[] = {
20269 (char *) "self", NULL
20272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20282 resultobj
= SWIG_FromInt((int)result
);
20289 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20291 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 PyObject
* obj1
= 0 ;
20295 char *kwnames
[] = {
20296 (char *) "self",(char *) "mode", NULL
20299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20302 arg2
= (int) SWIG_AsInt(obj1
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 (arg1
)->SetAssertMode(arg2
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20311 Py_INCREF(Py_None
); resultobj
= Py_None
;
20318 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
;
20320 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20322 PyObject
* obj0
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 result
= (int)(arg1
)->GetAssertMode();
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= SWIG_FromInt((int)result
);
20344 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20347 char *kwnames
[] = {
20351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20354 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20368 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20369 PyObject
*resultobj
;
20371 char *kwnames
[] = {
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= SWIG_FromLong((long)result
);
20390 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
;
20393 char *kwnames
[] = {
20397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20402 wxPyEndAllowThreads(__tstate
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= SWIG_FromLong((long)result
);
20412 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20413 PyObject
*resultobj
;
20415 char *kwnames
[] = {
20419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 result
= (long)wxPyApp::GetMacExitMenuItemId();
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20427 resultobj
= SWIG_FromLong((long)result
);
20434 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
;
20437 char *kwnames
[] = {
20441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 result
= wxPyApp::GetMacHelpMenuTitleName();
20446 wxPyEndAllowThreads(__tstate
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20462 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20463 PyObject
*resultobj
;
20465 PyObject
* obj0
= 0 ;
20466 char *kwnames
[] = {
20467 (char *) "val", NULL
20470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20471 arg1
= (bool) SWIG_AsBool(obj0
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20480 Py_INCREF(Py_None
); resultobj
= Py_None
;
20487 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
;
20490 PyObject
* obj0
= 0 ;
20491 char *kwnames
[] = {
20492 (char *) "val", NULL
20495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20496 arg1
= (long) SWIG_AsLong(obj0
);
20497 if (PyErr_Occurred()) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 wxPyApp::SetMacAboutMenuItemId(arg1
);
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20505 Py_INCREF(Py_None
); resultobj
= Py_None
;
20512 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
;
20515 PyObject
* obj0
= 0 ;
20516 char *kwnames
[] = {
20517 (char *) "val", NULL
20520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20521 arg1
= (long) SWIG_AsLong(obj0
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20530 Py_INCREF(Py_None
); resultobj
= Py_None
;
20537 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20538 PyObject
*resultobj
;
20540 PyObject
* obj0
= 0 ;
20541 char *kwnames
[] = {
20542 (char *) "val", NULL
20545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20546 arg1
= (long) SWIG_AsLong(obj0
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20550 wxPyApp::SetMacExitMenuItemId(arg1
);
20552 wxPyEndAllowThreads(__tstate
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20555 Py_INCREF(Py_None
); resultobj
= Py_None
;
20562 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20563 PyObject
*resultobj
;
20564 wxString
*arg1
= 0 ;
20565 bool temp1
= False
;
20566 PyObject
* obj0
= 0 ;
20567 char *kwnames
[] = {
20568 (char *) "val", NULL
20571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20573 arg1
= wxString_in_helper(obj0
);
20574 if (arg1
== NULL
) SWIG_fail
;
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20579 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20584 Py_INCREF(Py_None
); resultobj
= Py_None
;
20599 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20600 PyObject
*resultobj
;
20601 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20602 PyObject
* obj0
= 0 ;
20603 char *kwnames
[] = {
20604 (char *) "self", NULL
20607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 (arg1
)->_BootstrapApp();
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20617 Py_INCREF(Py_None
); resultobj
= Py_None
;
20624 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
;
20627 char *kwnames
[] = {
20631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20634 result
= (int)PyApp_GetComCtl32Version();
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20639 resultobj
= SWIG_FromInt((int)result
);
20646 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20649 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20651 return Py_BuildValue((char *)"");
20653 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20654 PyObject
*resultobj
;
20655 char *kwnames
[] = {
20659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 wxPyEndAllowThreads(__tstate
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20667 Py_INCREF(Py_None
); resultobj
= Py_None
;
20674 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20675 PyObject
*resultobj
;
20677 char *kwnames
[] = {
20681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20684 result
= (bool)wxYield();
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20698 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
;
20701 char *kwnames
[] = {
20705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20708 result
= (bool)wxYieldIfNeeded();
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20722 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20723 PyObject
*resultobj
;
20724 wxWindow
*arg1
= (wxWindow
*) NULL
;
20725 bool arg2
= (bool) False
;
20727 PyObject
* obj0
= 0 ;
20728 PyObject
* obj1
= 0 ;
20729 char *kwnames
[] = {
20730 (char *) "win",(char *) "onlyIfNeeded", NULL
20733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20739 arg2
= (bool) SWIG_AsBool(obj1
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20744 result
= (bool)wxSafeYield(arg1
,arg2
);
20746 wxPyEndAllowThreads(__tstate
);
20747 if (PyErr_Occurred()) SWIG_fail
;
20750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20758 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
;
20760 char *kwnames
[] = {
20764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20772 Py_INCREF(Py_None
); resultobj
= Py_None
;
20779 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
;
20781 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20782 wxEvent
*arg2
= 0 ;
20783 PyObject
* obj0
= 0 ;
20784 PyObject
* obj1
= 0 ;
20785 char *kwnames
[] = {
20786 (char *) "dest",(char *) "event", NULL
20789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20795 if (arg2
== NULL
) {
20796 PyErr_SetString(PyExc_TypeError
,"null reference");
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 wxPostEvent(arg1
,*arg2
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 Py_INCREF(Py_None
); resultobj
= Py_None
;
20813 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 char *kwnames
[] = {
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 Py_INCREF(Py_None
); resultobj
= Py_None
;
20834 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
;
20837 char *kwnames
[] = {
20841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20844 result
= (wxPyApp
*)wxGetApp();
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20850 resultobj
= wxPyMake_wxObject(result
);
20858 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20859 PyObject
*resultobj
;
20860 int arg1
= (int) 0 ;
20861 int arg2
= (int) 0 ;
20862 int arg3
= (int) 0 ;
20863 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20864 wxAcceleratorEntry
*result
;
20865 PyObject
* obj0
= 0 ;
20866 PyObject
* obj1
= 0 ;
20867 PyObject
* obj2
= 0 ;
20868 PyObject
* obj3
= 0 ;
20869 char *kwnames
[] = {
20870 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20875 arg1
= (int) SWIG_AsInt(obj0
);
20876 if (PyErr_Occurred()) SWIG_fail
;
20879 arg2
= (int) SWIG_AsInt(obj1
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20883 arg3
= (int) SWIG_AsInt(obj2
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20887 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenuItem
,
20888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20892 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20894 wxPyEndAllowThreads(__tstate
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20904 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20905 PyObject
*resultobj
;
20906 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20907 PyObject
* obj0
= 0 ;
20908 char *kwnames
[] = {
20909 (char *) "self", NULL
20912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20922 Py_INCREF(Py_None
); resultobj
= Py_None
;
20929 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20930 PyObject
*resultobj
;
20931 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20935 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20936 PyObject
* obj0
= 0 ;
20937 PyObject
* obj1
= 0 ;
20938 PyObject
* obj2
= 0 ;
20939 PyObject
* obj3
= 0 ;
20940 PyObject
* obj4
= 0 ;
20941 char *kwnames
[] = {
20942 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20948 arg2
= (int) SWIG_AsInt(obj1
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20950 arg3
= (int) SWIG_AsInt(obj2
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20952 arg4
= (int) SWIG_AsInt(obj3
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20955 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenuItem
,
20956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20965 Py_INCREF(Py_None
); resultobj
= Py_None
;
20972 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
;
20974 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20975 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20976 PyObject
* obj0
= 0 ;
20977 PyObject
* obj1
= 0 ;
20978 char *kwnames
[] = {
20979 (char *) "self",(char *) "item", NULL
20982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
20986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20989 (arg1
)->SetMenuItem(arg2
);
20991 wxPyEndAllowThreads(__tstate
);
20992 if (PyErr_Occurred()) SWIG_fail
;
20994 Py_INCREF(Py_None
); resultobj
= Py_None
;
21001 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21002 PyObject
*resultobj
;
21003 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21004 wxMenuItem
*result
;
21005 PyObject
* obj0
= 0 ;
21006 char *kwnames
[] = {
21007 (char *) "self", NULL
21010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
21011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21021 resultobj
= wxPyMake_wxObject(result
);
21029 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
;
21031 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21033 PyObject
* obj0
= 0 ;
21034 char *kwnames
[] = {
21035 (char *) "self", NULL
21038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 result
= (int)(arg1
)->GetFlags();
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= SWIG_FromInt((int)result
);
21055 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21056 PyObject
*resultobj
;
21057 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21059 PyObject
* obj0
= 0 ;
21060 char *kwnames
[] = {
21061 (char *) "self", NULL
21064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 result
= (int)(arg1
)->GetKeyCode();
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= SWIG_FromInt((int)result
);
21081 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21085 PyObject
* obj0
= 0 ;
21086 char *kwnames
[] = {
21087 (char *) "self", NULL
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 result
= (int)(arg1
)->GetCommand();
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= SWIG_FromInt((int)result
);
21107 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
21109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21110 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21112 return Py_BuildValue((char *)"");
21114 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21115 PyObject
*resultobj
;
21117 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21118 wxAcceleratorTable
*result
;
21119 PyObject
* obj0
= 0 ;
21120 char *kwnames
[] = {
21124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21126 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21127 if (arg2
) arg1
= PyList_Size(obj0
);
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21134 wxPyEndAllowThreads(__tstate
);
21135 if (PyErr_Occurred()) SWIG_fail
;
21137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21150 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21151 PyObject
*resultobj
;
21152 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21153 PyObject
* obj0
= 0 ;
21154 char *kwnames
[] = {
21155 (char *) "self", NULL
21158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 wxPyEndAllowThreads(__tstate
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21168 Py_INCREF(Py_None
); resultobj
= Py_None
;
21175 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
;
21177 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21179 PyObject
* obj0
= 0 ;
21180 char *kwnames
[] = {
21181 (char *) "self", NULL
21184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21203 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21206 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21208 return Py_BuildValue((char *)"");
21210 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21211 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21216 static PyObject
*_wrap_NullAcceleratorTable_get() {
21219 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21224 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21226 wxString
*arg1
= 0 ;
21227 wxAcceleratorEntry
*result
;
21228 bool temp1
= False
;
21229 PyObject
* obj0
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "label", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21236 arg1
= wxString_in_helper(obj0
);
21237 if (arg1
== NULL
) SWIG_fail
;
21241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21242 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21244 wxPyEndAllowThreads(__tstate
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21262 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21263 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21268 static PyObject
*_wrap_PanelNameStr_get() {
21273 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21275 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21282 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxVisualAttributes
*result
;
21285 char *kwnames
[] = {
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21292 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21294 wxPyEndAllowThreads(__tstate
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21304 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21305 PyObject
*resultobj
;
21306 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21307 PyObject
* obj0
= 0 ;
21308 char *kwnames
[] = {
21309 (char *) "self", NULL
21312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21317 delete_wxVisualAttributes(arg1
);
21319 wxPyEndAllowThreads(__tstate
);
21320 if (PyErr_Occurred()) SWIG_fail
;
21322 Py_INCREF(Py_None
); resultobj
= Py_None
;
21329 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21330 PyObject
*resultobj
;
21331 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21332 wxFont
*arg2
= (wxFont
*) 0 ;
21333 PyObject
* obj0
= 0 ;
21334 PyObject
* obj1
= 0 ;
21335 char *kwnames
[] = {
21336 (char *) "self",(char *) "font", NULL
21339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21344 if (arg1
) (arg1
)->font
= *arg2
;
21346 Py_INCREF(Py_None
); resultobj
= Py_None
;
21353 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21355 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21357 PyObject
* obj0
= 0 ;
21358 char *kwnames
[] = {
21359 (char *) "self", NULL
21362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21365 result
= (wxFont
*)& ((arg1
)->font
);
21367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21374 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
;
21376 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21377 wxColour
*arg2
= (wxColour
*) 0 ;
21378 PyObject
* obj0
= 0 ;
21379 PyObject
* obj1
= 0 ;
21380 char *kwnames
[] = {
21381 (char *) "self",(char *) "colFg", NULL
21384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21389 if (arg1
) (arg1
)->colFg
= *arg2
;
21391 Py_INCREF(Py_None
); resultobj
= Py_None
;
21398 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
;
21400 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21402 PyObject
* obj0
= 0 ;
21403 char *kwnames
[] = {
21404 (char *) "self", NULL
21407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21410 result
= (wxColour
*)& ((arg1
)->colFg
);
21412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21419 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
;
21421 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21422 wxColour
*arg2
= (wxColour
*) 0 ;
21423 PyObject
* obj0
= 0 ;
21424 PyObject
* obj1
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self",(char *) "colBg", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21434 if (arg1
) (arg1
)->colBg
= *arg2
;
21436 Py_INCREF(Py_None
); resultobj
= Py_None
;
21443 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21444 PyObject
*resultobj
;
21445 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21447 PyObject
* obj0
= 0 ;
21448 char *kwnames
[] = {
21449 (char *) "self", NULL
21452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21455 result
= (wxColour
*)& ((arg1
)->colBg
);
21457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21464 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21467 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21469 return Py_BuildValue((char *)"");
21471 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21472 PyObject
*resultobj
;
21473 wxWindow
*arg1
= (wxWindow
*) 0 ;
21474 int arg2
= (int) (int)-1 ;
21475 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21476 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21477 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21478 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21479 long arg5
= (long) 0 ;
21480 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21481 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21485 bool temp6
= False
;
21486 PyObject
* obj0
= 0 ;
21487 PyObject
* obj1
= 0 ;
21488 PyObject
* obj2
= 0 ;
21489 PyObject
* obj3
= 0 ;
21490 PyObject
* obj4
= 0 ;
21491 PyObject
* obj5
= 0 ;
21492 char *kwnames
[] = {
21493 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21500 arg2
= (int const) SWIG_AsInt(obj1
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21506 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21512 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21516 arg5
= (long) SWIG_AsLong(obj4
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21521 arg6
= wxString_in_helper(obj5
);
21522 if (arg6
== NULL
) SWIG_fail
;
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21528 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21534 resultobj
= wxPyMake_wxObject(result
);
21550 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
;
21553 char *kwnames
[] = {
21557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21560 result
= (wxWindow
*)new wxWindow();
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21566 resultobj
= wxPyMake_wxObject(result
);
21574 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21575 PyObject
*resultobj
;
21576 wxWindow
*arg1
= (wxWindow
*) 0 ;
21577 wxWindow
*arg2
= (wxWindow
*) 0 ;
21578 int arg3
= (int) (int)-1 ;
21579 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21580 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21581 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21582 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21583 long arg6
= (long) 0 ;
21584 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21585 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21589 bool temp7
= False
;
21590 PyObject
* obj0
= 0 ;
21591 PyObject
* obj1
= 0 ;
21592 PyObject
* obj2
= 0 ;
21593 PyObject
* obj3
= 0 ;
21594 PyObject
* obj4
= 0 ;
21595 PyObject
* obj5
= 0 ;
21596 PyObject
* obj6
= 0 ;
21597 char *kwnames
[] = {
21598 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21607 arg3
= (int const) SWIG_AsInt(obj2
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21613 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21619 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21623 arg6
= (long) SWIG_AsLong(obj5
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21628 arg7
= wxString_in_helper(obj6
);
21629 if (arg7
== NULL
) SWIG_fail
;
21634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21635 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21637 wxPyEndAllowThreads(__tstate
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21657 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
;
21659 wxWindow
*arg1
= (wxWindow
*) 0 ;
21660 bool arg2
= (bool) False
;
21662 PyObject
* obj0
= 0 ;
21663 PyObject
* obj1
= 0 ;
21664 char *kwnames
[] = {
21665 (char *) "self",(char *) "force", NULL
21668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21672 arg2
= (bool) SWIG_AsBool(obj1
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21677 result
= (bool)(arg1
)->Close(arg2
);
21679 wxPyEndAllowThreads(__tstate
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21691 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
;
21693 wxWindow
*arg1
= (wxWindow
*) 0 ;
21695 PyObject
* obj0
= 0 ;
21696 char *kwnames
[] = {
21697 (char *) "self", NULL
21700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21705 result
= (bool)(arg1
)->Destroy();
21707 wxPyEndAllowThreads(__tstate
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21719 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21720 PyObject
*resultobj
;
21721 wxWindow
*arg1
= (wxWindow
*) 0 ;
21723 PyObject
* obj0
= 0 ;
21724 char *kwnames
[] = {
21725 (char *) "self", NULL
21728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 result
= (bool)(arg1
)->DestroyChildren();
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21747 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
;
21749 wxWindow
*arg1
= (wxWindow
*) 0 ;
21751 PyObject
* obj0
= 0 ;
21752 char *kwnames
[] = {
21753 (char *) "self", NULL
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21761 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21763 wxPyEndAllowThreads(__tstate
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21775 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21777 wxWindow
*arg1
= (wxWindow
*) 0 ;
21778 wxString
*arg2
= 0 ;
21779 bool temp2
= False
;
21780 PyObject
* obj0
= 0 ;
21781 PyObject
* obj1
= 0 ;
21782 char *kwnames
[] = {
21783 (char *) "self",(char *) "title", NULL
21786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21790 arg2
= wxString_in_helper(obj1
);
21791 if (arg2
== NULL
) SWIG_fail
;
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 (arg1
)->SetTitle((wxString
const &)*arg2
);
21798 wxPyEndAllowThreads(__tstate
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21801 Py_INCREF(Py_None
); resultobj
= Py_None
;
21816 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21817 PyObject
*resultobj
;
21818 wxWindow
*arg1
= (wxWindow
*) 0 ;
21820 PyObject
* obj0
= 0 ;
21821 char *kwnames
[] = {
21822 (char *) "self", NULL
21825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 result
= ((wxWindow
const *)arg1
)->GetTitle();
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21848 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21849 PyObject
*resultobj
;
21850 wxWindow
*arg1
= (wxWindow
*) 0 ;
21851 wxString
*arg2
= 0 ;
21852 bool temp2
= False
;
21853 PyObject
* obj0
= 0 ;
21854 PyObject
* obj1
= 0 ;
21855 char *kwnames
[] = {
21856 (char *) "self",(char *) "label", NULL
21859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21863 arg2
= wxString_in_helper(obj1
);
21864 if (arg2
== NULL
) SWIG_fail
;
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 (arg1
)->SetLabel((wxString
const &)*arg2
);
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21874 Py_INCREF(Py_None
); resultobj
= Py_None
;
21889 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
;
21891 wxWindow
*arg1
= (wxWindow
*) 0 ;
21893 PyObject
* obj0
= 0 ;
21894 char *kwnames
[] = {
21895 (char *) "self", NULL
21898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21903 result
= ((wxWindow
const *)arg1
)->GetLabel();
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21921 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
;
21923 wxWindow
*arg1
= (wxWindow
*) 0 ;
21924 wxString
*arg2
= 0 ;
21925 bool temp2
= False
;
21926 PyObject
* obj0
= 0 ;
21927 PyObject
* obj1
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self",(char *) "name", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21936 arg2
= wxString_in_helper(obj1
);
21937 if (arg2
== NULL
) SWIG_fail
;
21941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21942 (arg1
)->SetName((wxString
const &)*arg2
);
21944 wxPyEndAllowThreads(__tstate
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21947 Py_INCREF(Py_None
); resultobj
= Py_None
;
21962 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21963 PyObject
*resultobj
;
21964 wxWindow
*arg1
= (wxWindow
*) 0 ;
21966 PyObject
* obj0
= 0 ;
21967 char *kwnames
[] = {
21968 (char *) "self", NULL
21971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21976 result
= ((wxWindow
const *)arg1
)->GetName();
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21994 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
;
21996 wxWindow
*arg1
= (wxWindow
*) 0 ;
21998 PyObject
* obj0
= 0 ;
21999 PyObject
* obj1
= 0 ;
22000 char *kwnames
[] = {
22001 (char *) "self",(char *) "variant", NULL
22004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22007 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22016 Py_INCREF(Py_None
); resultobj
= Py_None
;
22023 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
;
22025 wxWindow
*arg1
= (wxWindow
*) 0 ;
22027 PyObject
* obj0
= 0 ;
22028 char *kwnames
[] = {
22029 (char *) "self", NULL
22032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 resultobj
= SWIG_FromInt((int)result
);
22049 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22050 PyObject
*resultobj
;
22051 wxWindow
*arg1
= (wxWindow
*) 0 ;
22053 PyObject
* obj0
= 0 ;
22054 PyObject
* obj1
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self",(char *) "winid", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22062 arg2
= (int) SWIG_AsInt(obj1
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 (arg1
)->SetId(arg2
);
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22071 Py_INCREF(Py_None
); resultobj
= Py_None
;
22078 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
;
22080 wxWindow
*arg1
= (wxWindow
*) 0 ;
22082 PyObject
* obj0
= 0 ;
22083 char *kwnames
[] = {
22084 (char *) "self", NULL
22087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 result
= (int)((wxWindow
const *)arg1
)->GetId();
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22097 resultobj
= SWIG_FromInt((int)result
);
22104 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22105 PyObject
*resultobj
;
22107 char *kwnames
[] = {
22111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 result
= (int)wxWindow::NewControlId();
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 resultobj
= SWIG_FromInt((int)result
);
22126 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
;
22130 PyObject
* obj0
= 0 ;
22131 char *kwnames
[] = {
22132 (char *) "winid", NULL
22135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22136 arg1
= (int) SWIG_AsInt(obj0
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22140 result
= (int)wxWindow::NextControlId(arg1
);
22142 wxPyEndAllowThreads(__tstate
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22145 resultobj
= SWIG_FromInt((int)result
);
22152 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22153 PyObject
*resultobj
;
22156 PyObject
* obj0
= 0 ;
22157 char *kwnames
[] = {
22158 (char *) "winid", NULL
22161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22162 arg1
= (int) SWIG_AsInt(obj0
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 result
= (int)wxWindow::PrevControlId(arg1
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 resultobj
= SWIG_FromInt((int)result
);
22178 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxWindow
*arg1
= (wxWindow
*) 0 ;
22183 PyObject
* obj0
= 0 ;
22184 PyObject
* obj1
= 0 ;
22185 char *kwnames
[] = {
22186 (char *) "self",(char *) "size", NULL
22189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22194 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 (arg1
)->SetSize((wxSize
const &)*arg2
);
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22203 Py_INCREF(Py_None
); resultobj
= Py_None
;
22210 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
;
22212 wxWindow
*arg1
= (wxWindow
*) 0 ;
22217 int arg6
= (int) wxSIZE_AUTO
;
22218 PyObject
* obj0
= 0 ;
22219 PyObject
* obj1
= 0 ;
22220 PyObject
* obj2
= 0 ;
22221 PyObject
* obj3
= 0 ;
22222 PyObject
* obj4
= 0 ;
22223 PyObject
* obj5
= 0 ;
22224 char *kwnames
[] = {
22225 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22231 arg2
= (int) SWIG_AsInt(obj1
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22233 arg3
= (int) SWIG_AsInt(obj2
);
22234 if (PyErr_Occurred()) SWIG_fail
;
22235 arg4
= (int) SWIG_AsInt(obj3
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22237 arg5
= (int) SWIG_AsInt(obj4
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22240 arg6
= (int) SWIG_AsInt(obj5
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 Py_INCREF(Py_None
); resultobj
= Py_None
;
22257 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxWindow
*arg1
= (wxWindow
*) 0 ;
22261 int arg3
= (int) wxSIZE_AUTO
;
22263 PyObject
* obj0
= 0 ;
22264 PyObject
* obj1
= 0 ;
22265 PyObject
* obj2
= 0 ;
22266 char *kwnames
[] = {
22267 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22275 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22278 arg3
= (int) SWIG_AsInt(obj2
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22288 Py_INCREF(Py_None
); resultobj
= Py_None
;
22295 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxWindow
*arg1
= (wxWindow
*) 0 ;
22300 PyObject
* obj0
= 0 ;
22301 PyObject
* obj1
= 0 ;
22302 PyObject
* obj2
= 0 ;
22303 char *kwnames
[] = {
22304 (char *) "self",(char *) "width",(char *) "height", NULL
22307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22310 arg2
= (int) SWIG_AsInt(obj1
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22312 arg3
= (int) SWIG_AsInt(obj2
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 (arg1
)->SetSize(arg2
,arg3
);
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22321 Py_INCREF(Py_None
); resultobj
= Py_None
;
22328 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
;
22330 wxWindow
*arg1
= (wxWindow
*) 0 ;
22331 wxPoint
*arg2
= 0 ;
22332 int arg3
= (int) wxSIZE_USE_EXISTING
;
22334 PyObject
* obj0
= 0 ;
22335 PyObject
* obj1
= 0 ;
22336 PyObject
* obj2
= 0 ;
22337 char *kwnames
[] = {
22338 (char *) "self",(char *) "pt",(char *) "flags", NULL
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22346 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22349 arg3
= (int) SWIG_AsInt(obj2
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22359 Py_INCREF(Py_None
); resultobj
= Py_None
;
22366 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22367 PyObject
*resultobj
;
22368 wxWindow
*arg1
= (wxWindow
*) 0 ;
22371 int arg4
= (int) wxSIZE_USE_EXISTING
;
22372 PyObject
* obj0
= 0 ;
22373 PyObject
* obj1
= 0 ;
22374 PyObject
* obj2
= 0 ;
22375 PyObject
* obj3
= 0 ;
22376 char *kwnames
[] = {
22377 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22383 arg2
= (int) SWIG_AsInt(obj1
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22385 arg3
= (int) SWIG_AsInt(obj2
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22388 arg4
= (int) SWIG_AsInt(obj3
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 (arg1
)->Move(arg2
,arg3
,arg4
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 Py_INCREF(Py_None
); resultobj
= Py_None
;
22405 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
;
22407 wxWindow
*arg1
= (wxWindow
*) 0 ;
22408 PyObject
* obj0
= 0 ;
22409 char *kwnames
[] = {
22410 (char *) "self", NULL
22413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22423 Py_INCREF(Py_None
); resultobj
= Py_None
;
22430 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22431 PyObject
*resultobj
;
22432 wxWindow
*arg1
= (wxWindow
*) 0 ;
22433 PyObject
* obj0
= 0 ;
22434 char *kwnames
[] = {
22435 (char *) "self", NULL
22438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 Py_INCREF(Py_None
); resultobj
= Py_None
;
22455 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22456 PyObject
*resultobj
;
22457 wxWindow
*arg1
= (wxWindow
*) 0 ;
22460 PyObject
* obj0
= 0 ;
22461 PyObject
* obj1
= 0 ;
22462 char *kwnames
[] = {
22463 (char *) "self",(char *) "size", NULL
22466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22471 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 Py_INCREF(Py_None
); resultobj
= Py_None
;
22487 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxWindow
*arg1
= (wxWindow
*) 0 ;
22492 PyObject
* obj0
= 0 ;
22493 PyObject
* obj1
= 0 ;
22494 PyObject
* obj2
= 0 ;
22495 char *kwnames
[] = {
22496 (char *) "self",(char *) "width",(char *) "height", NULL
22499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22502 arg2
= (int) SWIG_AsInt(obj1
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22504 arg3
= (int) SWIG_AsInt(obj2
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 (arg1
)->SetClientSize(arg2
,arg3
);
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 Py_INCREF(Py_None
); resultobj
= Py_None
;
22520 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22521 PyObject
*resultobj
;
22522 wxWindow
*arg1
= (wxWindow
*) 0 ;
22525 PyObject
* obj0
= 0 ;
22526 PyObject
* obj1
= 0 ;
22527 char *kwnames
[] = {
22528 (char *) "self",(char *) "rect", NULL
22531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22536 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 Py_INCREF(Py_None
); resultobj
= Py_None
;
22552 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
;
22554 wxWindow
*arg1
= (wxWindow
*) 0 ;
22556 PyObject
* obj0
= 0 ;
22557 char *kwnames
[] = {
22558 (char *) "self", NULL
22561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22566 result
= (arg1
)->GetPosition();
22568 wxPyEndAllowThreads(__tstate
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22572 wxPoint
* resultptr
;
22573 resultptr
= new wxPoint((wxPoint
&) result
);
22574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22582 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22583 PyObject
*resultobj
;
22584 wxWindow
*arg1
= (wxWindow
*) 0 ;
22585 int *arg2
= (int *) 0 ;
22586 int *arg3
= (int *) 0 ;
22589 PyObject
* obj0
= 0 ;
22590 char *kwnames
[] = {
22591 (char *) "self", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 (arg1
)->GetPosition(arg2
,arg3
);
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 Py_INCREF(Py_None
); resultobj
= Py_None
;
22608 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22609 resultobj
= t_output_helper(resultobj
,o
);
22612 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22613 resultobj
= t_output_helper(resultobj
,o
);
22621 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
;
22623 wxWindow
*arg1
= (wxWindow
*) 0 ;
22625 PyObject
* obj0
= 0 ;
22626 char *kwnames
[] = {
22627 (char *) "self", NULL
22630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 result
= ((wxWindow
const *)arg1
)->GetSize();
22637 wxPyEndAllowThreads(__tstate
);
22638 if (PyErr_Occurred()) SWIG_fail
;
22641 wxSize
* resultptr
;
22642 resultptr
= new wxSize((wxSize
&) result
);
22643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22651 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22652 PyObject
*resultobj
;
22653 wxWindow
*arg1
= (wxWindow
*) 0 ;
22654 int *arg2
= (int *) 0 ;
22655 int *arg3
= (int *) 0 ;
22658 PyObject
* obj0
= 0 ;
22659 char *kwnames
[] = {
22660 (char *) "self", NULL
22665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 Py_INCREF(Py_None
); resultobj
= Py_None
;
22677 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22678 resultobj
= t_output_helper(resultobj
,o
);
22681 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22682 resultobj
= t_output_helper(resultobj
,o
);
22690 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22691 PyObject
*resultobj
;
22692 wxWindow
*arg1
= (wxWindow
*) 0 ;
22694 PyObject
* obj0
= 0 ;
22695 char *kwnames
[] = {
22696 (char *) "self", NULL
22699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 result
= ((wxWindow
const *)arg1
)->GetRect();
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22710 wxRect
* resultptr
;
22711 resultptr
= new wxRect((wxRect
&) result
);
22712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22720 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
;
22722 wxWindow
*arg1
= (wxWindow
*) 0 ;
22724 PyObject
* obj0
= 0 ;
22725 char *kwnames
[] = {
22726 (char *) "self", NULL
22729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22734 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22736 wxPyEndAllowThreads(__tstate
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22740 wxSize
* resultptr
;
22741 resultptr
= new wxSize((wxSize
&) result
);
22742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22750 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
;
22752 wxWindow
*arg1
= (wxWindow
*) 0 ;
22753 int *arg2
= (int *) 0 ;
22754 int *arg3
= (int *) 0 ;
22757 PyObject
* obj0
= 0 ;
22758 char *kwnames
[] = {
22759 (char *) "self", NULL
22764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22769 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22774 Py_INCREF(Py_None
); resultobj
= Py_None
;
22776 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22777 resultobj
= t_output_helper(resultobj
,o
);
22780 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22781 resultobj
= t_output_helper(resultobj
,o
);
22789 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22790 PyObject
*resultobj
;
22791 wxWindow
*arg1
= (wxWindow
*) 0 ;
22793 PyObject
* obj0
= 0 ;
22794 char *kwnames
[] = {
22795 (char *) "self", NULL
22798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22803 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22805 wxPyEndAllowThreads(__tstate
);
22806 if (PyErr_Occurred()) SWIG_fail
;
22809 wxPoint
* resultptr
;
22810 resultptr
= new wxPoint((wxPoint
&) result
);
22811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22819 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22820 PyObject
*resultobj
;
22821 wxWindow
*arg1
= (wxWindow
*) 0 ;
22823 PyObject
* obj0
= 0 ;
22824 char *kwnames
[] = {
22825 (char *) "self", NULL
22828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22839 wxRect
* resultptr
;
22840 resultptr
= new wxRect((wxRect
&) result
);
22841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22849 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
;
22851 wxWindow
*arg1
= (wxWindow
*) 0 ;
22853 PyObject
* obj0
= 0 ;
22854 char *kwnames
[] = {
22855 (char *) "self", NULL
22858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22863 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22869 wxSize
* resultptr
;
22870 resultptr
= new wxSize((wxSize
&) result
);
22871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22879 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22880 PyObject
*resultobj
;
22881 wxWindow
*arg1
= (wxWindow
*) 0 ;
22882 int *arg2
= (int *) 0 ;
22883 int *arg3
= (int *) 0 ;
22886 PyObject
* obj0
= 0 ;
22887 char *kwnames
[] = {
22888 (char *) "self", NULL
22893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22903 Py_INCREF(Py_None
); resultobj
= Py_None
;
22905 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22906 resultobj
= t_output_helper(resultobj
,o
);
22909 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22910 resultobj
= t_output_helper(resultobj
,o
);
22918 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22919 PyObject
*resultobj
;
22920 wxWindow
*arg1
= (wxWindow
*) 0 ;
22922 PyObject
* obj0
= 0 ;
22923 char *kwnames
[] = {
22924 (char *) "self", NULL
22927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22934 wxPyEndAllowThreads(__tstate
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22938 wxSize
* resultptr
;
22939 resultptr
= new wxSize((wxSize
&) result
);
22940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22948 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22950 wxWindow
*arg1
= (wxWindow
*) 0 ;
22951 int arg2
= (int) wxBOTH
;
22952 PyObject
* obj0
= 0 ;
22953 PyObject
* obj1
= 0 ;
22954 char *kwnames
[] = {
22955 (char *) "self",(char *) "direction", NULL
22958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22962 arg2
= (int) SWIG_AsInt(obj1
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 (arg1
)->Center(arg2
);
22969 wxPyEndAllowThreads(__tstate
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22972 Py_INCREF(Py_None
); resultobj
= Py_None
;
22979 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22980 PyObject
*resultobj
;
22981 wxWindow
*arg1
= (wxWindow
*) 0 ;
22982 int arg2
= (int) wxBOTH
;
22983 PyObject
* obj0
= 0 ;
22984 PyObject
* obj1
= 0 ;
22985 char *kwnames
[] = {
22986 (char *) "self",(char *) "dir", NULL
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22993 arg2
= (int) SWIG_AsInt(obj1
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 (arg1
)->CenterOnScreen(arg2
);
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 Py_INCREF(Py_None
); resultobj
= Py_None
;
23010 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
;
23012 wxWindow
*arg1
= (wxWindow
*) 0 ;
23013 int arg2
= (int) wxBOTH
;
23014 PyObject
* obj0
= 0 ;
23015 PyObject
* obj1
= 0 ;
23016 char *kwnames
[] = {
23017 (char *) "self",(char *) "dir", NULL
23020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23024 arg2
= (int) SWIG_AsInt(obj1
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 (arg1
)->CenterOnParent(arg2
);
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23034 Py_INCREF(Py_None
); resultobj
= Py_None
;
23041 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23042 PyObject
*resultobj
;
23043 wxWindow
*arg1
= (wxWindow
*) 0 ;
23044 PyObject
* obj0
= 0 ;
23045 char *kwnames
[] = {
23046 (char *) "self", NULL
23049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23059 Py_INCREF(Py_None
); resultobj
= Py_None
;
23066 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23067 PyObject
*resultobj
;
23068 wxWindow
*arg1
= (wxWindow
*) 0 ;
23069 PyObject
* obj0
= 0 ;
23070 char *kwnames
[] = {
23071 (char *) "self", NULL
23074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 (arg1
)->FitInside();
23081 wxPyEndAllowThreads(__tstate
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23084 Py_INCREF(Py_None
); resultobj
= Py_None
;
23091 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23092 PyObject
*resultobj
;
23093 wxWindow
*arg1
= (wxWindow
*) 0 ;
23096 int arg4
= (int) -1 ;
23097 int arg5
= (int) -1 ;
23098 int arg6
= (int) -1 ;
23099 int arg7
= (int) -1 ;
23100 PyObject
* obj0
= 0 ;
23101 PyObject
* obj1
= 0 ;
23102 PyObject
* obj2
= 0 ;
23103 PyObject
* obj3
= 0 ;
23104 PyObject
* obj4
= 0 ;
23105 PyObject
* obj5
= 0 ;
23106 PyObject
* obj6
= 0 ;
23108 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23111 arg2
= (int) SWIG_AsInt(obj1
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23113 arg3
= (int) SWIG_AsInt(obj2
);
23114 if (PyErr_Occurred()) SWIG_fail
;
23116 arg4
= (int) SWIG_AsInt(obj3
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23120 arg5
= (int) SWIG_AsInt(obj4
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23124 arg6
= (int) SWIG_AsInt(obj5
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23128 arg7
= (int) SWIG_AsInt(obj6
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23133 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23138 Py_INCREF(Py_None
); resultobj
= Py_None
;
23145 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23146 PyObject
*resultobj
;
23147 wxWindow
*arg1
= (wxWindow
*) 0 ;
23149 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23150 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23151 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23152 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23156 PyObject
* obj0
= 0 ;
23157 PyObject
* obj1
= 0 ;
23158 PyObject
* obj2
= 0 ;
23159 PyObject
* obj3
= 0 ;
23161 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23166 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23171 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23177 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23182 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23184 wxPyEndAllowThreads(__tstate
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23187 Py_INCREF(Py_None
); resultobj
= Py_None
;
23194 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23199 argc
= PyObject_Length(args
);
23200 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23201 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23203 if ((argc
>= 2) && (argc
<= 4)) {
23207 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23216 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23220 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23223 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23227 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23230 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23233 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23239 if ((argc
>= 3) && (argc
<= 7)) {
23243 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23251 _v
= SWIG_CheckInt(argv
[1]);
23253 _v
= SWIG_CheckInt(argv
[2]);
23256 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23258 _v
= SWIG_CheckInt(argv
[3]);
23261 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23263 _v
= SWIG_CheckInt(argv
[4]);
23266 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23268 _v
= SWIG_CheckInt(argv
[5]);
23271 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23273 _v
= SWIG_CheckInt(argv
[6]);
23275 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23285 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23290 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23291 PyObject
*resultobj
;
23292 wxWindow
*arg1
= (wxWindow
*) 0 ;
23295 int arg4
= (int) -1 ;
23296 int arg5
= (int) -1 ;
23297 PyObject
* obj0
= 0 ;
23298 PyObject
* obj1
= 0 ;
23299 PyObject
* obj2
= 0 ;
23300 PyObject
* obj3
= 0 ;
23301 PyObject
* obj4
= 0 ;
23303 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23306 arg2
= (int) SWIG_AsInt(obj1
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23308 arg3
= (int) SWIG_AsInt(obj2
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23311 arg4
= (int) SWIG_AsInt(obj3
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23315 arg5
= (int) SWIG_AsInt(obj4
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 Py_INCREF(Py_None
); resultobj
= Py_None
;
23332 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23333 PyObject
*resultobj
;
23334 wxWindow
*arg1
= (wxWindow
*) 0 ;
23336 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23337 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23340 PyObject
* obj0
= 0 ;
23341 PyObject
* obj1
= 0 ;
23342 PyObject
* obj2
= 0 ;
23344 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23349 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23354 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23359 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23364 Py_INCREF(Py_None
); resultobj
= Py_None
;
23371 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23376 argc
= PyObject_Length(args
);
23377 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23378 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23380 if ((argc
>= 2) && (argc
<= 3)) {
23384 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23393 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23397 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23400 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23403 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23408 if ((argc
>= 3) && (argc
<= 5)) {
23412 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23420 _v
= SWIG_CheckInt(argv
[1]);
23422 _v
= SWIG_CheckInt(argv
[2]);
23425 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23427 _v
= SWIG_CheckInt(argv
[3]);
23430 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23432 _v
= SWIG_CheckInt(argv
[4]);
23434 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23442 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23447 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
;
23449 wxWindow
*arg1
= (wxWindow
*) 0 ;
23451 PyObject
* obj0
= 0 ;
23452 char *kwnames
[] = {
23453 (char *) "self", NULL
23456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23461 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23463 wxPyEndAllowThreads(__tstate
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23466 resultobj
= SWIG_FromInt((int)result
);
23473 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23474 PyObject
*resultobj
;
23475 wxWindow
*arg1
= (wxWindow
*) 0 ;
23477 PyObject
* obj0
= 0 ;
23478 char *kwnames
[] = {
23479 (char *) "self", NULL
23482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23492 resultobj
= SWIG_FromInt((int)result
);
23499 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23500 PyObject
*resultobj
;
23501 wxWindow
*arg1
= (wxWindow
*) 0 ;
23503 PyObject
* obj0
= 0 ;
23504 char *kwnames
[] = {
23505 (char *) "self", NULL
23508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23513 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 resultobj
= SWIG_FromInt((int)result
);
23525 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23526 PyObject
*resultobj
;
23527 wxWindow
*arg1
= (wxWindow
*) 0 ;
23529 PyObject
* obj0
= 0 ;
23530 char *kwnames
[] = {
23531 (char *) "self", NULL
23534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23539 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23541 wxPyEndAllowThreads(__tstate
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23544 resultobj
= SWIG_FromInt((int)result
);
23551 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23552 PyObject
*resultobj
;
23553 wxWindow
*arg1
= (wxWindow
*) 0 ;
23555 PyObject
* obj0
= 0 ;
23556 char *kwnames
[] = {
23557 (char *) "self", NULL
23560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23571 wxSize
* resultptr
;
23572 resultptr
= new wxSize((wxSize
&) result
);
23573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23581 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23582 PyObject
*resultobj
;
23583 wxWindow
*arg1
= (wxWindow
*) 0 ;
23585 PyObject
* obj0
= 0 ;
23586 char *kwnames
[] = {
23587 (char *) "self", NULL
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23601 wxSize
* resultptr
;
23602 resultptr
= new wxSize((wxSize
&) result
);
23603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23611 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23612 PyObject
*resultobj
;
23613 wxWindow
*arg1
= (wxWindow
*) 0 ;
23616 PyObject
* obj0
= 0 ;
23617 PyObject
* obj1
= 0 ;
23618 char *kwnames
[] = {
23619 (char *) "self",(char *) "size", NULL
23622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23627 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23631 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23633 wxPyEndAllowThreads(__tstate
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23636 Py_INCREF(Py_None
); resultobj
= Py_None
;
23643 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23645 wxWindow
*arg1
= (wxWindow
*) 0 ;
23648 PyObject
* obj0
= 0 ;
23649 PyObject
* obj1
= 0 ;
23650 PyObject
* obj2
= 0 ;
23651 char *kwnames
[] = {
23652 (char *) "self",(char *) "w",(char *) "h", NULL
23655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23658 arg2
= (int) SWIG_AsInt(obj1
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23660 arg3
= (int) SWIG_AsInt(obj2
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 (arg1
)->SetVirtualSize(arg2
,arg3
);
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23669 Py_INCREF(Py_None
); resultobj
= Py_None
;
23676 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23677 PyObject
*resultobj
;
23678 wxWindow
*arg1
= (wxWindow
*) 0 ;
23680 PyObject
* obj0
= 0 ;
23681 char *kwnames
[] = {
23682 (char *) "self", NULL
23685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23696 wxSize
* resultptr
;
23697 resultptr
= new wxSize((wxSize
&) result
);
23698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23706 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23707 PyObject
*resultobj
;
23708 wxWindow
*arg1
= (wxWindow
*) 0 ;
23709 int *arg2
= (int *) 0 ;
23710 int *arg3
= (int *) 0 ;
23713 PyObject
* obj0
= 0 ;
23714 char *kwnames
[] = {
23715 (char *) "self", NULL
23720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23725 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 Py_INCREF(Py_None
); resultobj
= Py_None
;
23732 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23733 resultobj
= t_output_helper(resultobj
,o
);
23736 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23737 resultobj
= t_output_helper(resultobj
,o
);
23745 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
;
23747 wxWindow
*arg1
= (wxWindow
*) 0 ;
23749 PyObject
* obj0
= 0 ;
23750 char *kwnames
[] = {
23751 (char *) "self", NULL
23754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23765 wxSize
* resultptr
;
23766 resultptr
= new wxSize((wxSize
&) result
);
23767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23775 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxWindow
*arg1
= (wxWindow
*) 0 ;
23778 bool arg2
= (bool) True
;
23780 PyObject
* obj0
= 0 ;
23781 PyObject
* obj1
= 0 ;
23782 char *kwnames
[] = {
23783 (char *) "self",(char *) "show", NULL
23786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23790 arg2
= (bool) SWIG_AsBool(obj1
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 result
= (bool)(arg1
)->Show(arg2
);
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23809 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
;
23811 wxWindow
*arg1
= (wxWindow
*) 0 ;
23813 PyObject
* obj0
= 0 ;
23814 char *kwnames
[] = {
23815 (char *) "self", NULL
23818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23823 result
= (bool)(arg1
)->Hide();
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23837 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
;
23839 wxWindow
*arg1
= (wxWindow
*) 0 ;
23840 bool arg2
= (bool) True
;
23842 PyObject
* obj0
= 0 ;
23843 PyObject
* obj1
= 0 ;
23844 char *kwnames
[] = {
23845 (char *) "self",(char *) "enable", NULL
23848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23852 arg2
= (bool) SWIG_AsBool(obj1
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23857 result
= (bool)(arg1
)->Enable(arg2
);
23859 wxPyEndAllowThreads(__tstate
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23871 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23872 PyObject
*resultobj
;
23873 wxWindow
*arg1
= (wxWindow
*) 0 ;
23875 PyObject
* obj0
= 0 ;
23876 char *kwnames
[] = {
23877 (char *) "self", NULL
23880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 result
= (bool)(arg1
)->Disable();
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23899 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23900 PyObject
*resultobj
;
23901 wxWindow
*arg1
= (wxWindow
*) 0 ;
23903 PyObject
* obj0
= 0 ;
23904 char *kwnames
[] = {
23905 (char *) "self", NULL
23908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23927 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23928 PyObject
*resultobj
;
23929 wxWindow
*arg1
= (wxWindow
*) 0 ;
23931 PyObject
* obj0
= 0 ;
23932 char *kwnames
[] = {
23933 (char *) "self", NULL
23936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23941 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23955 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23956 PyObject
*resultobj
;
23957 wxWindow
*arg1
= (wxWindow
*) 0 ;
23959 PyObject
* obj0
= 0 ;
23960 PyObject
* obj1
= 0 ;
23961 char *kwnames
[] = {
23962 (char *) "self",(char *) "style", NULL
23965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23968 arg2
= (long) SWIG_AsLong(obj1
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23972 (arg1
)->SetWindowStyleFlag(arg2
);
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23977 Py_INCREF(Py_None
); resultobj
= Py_None
;
23984 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
;
23986 wxWindow
*arg1
= (wxWindow
*) 0 ;
23988 PyObject
* obj0
= 0 ;
23989 char *kwnames
[] = {
23990 (char *) "self", NULL
23993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23998 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24003 resultobj
= SWIG_FromLong((long)result
);
24010 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
;
24012 wxWindow
*arg1
= (wxWindow
*) 0 ;
24015 PyObject
* obj0
= 0 ;
24016 PyObject
* obj1
= 0 ;
24017 char *kwnames
[] = {
24018 (char *) "self",(char *) "flag", NULL
24021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24024 arg2
= (int) SWIG_AsInt(obj1
);
24025 if (PyErr_Occurred()) SWIG_fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24042 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24043 PyObject
*resultobj
;
24044 wxWindow
*arg1
= (wxWindow
*) 0 ;
24046 PyObject
* obj0
= 0 ;
24047 char *kwnames
[] = {
24048 (char *) "self", NULL
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24070 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
;
24072 wxWindow
*arg1
= (wxWindow
*) 0 ;
24074 PyObject
* obj0
= 0 ;
24075 PyObject
* obj1
= 0 ;
24076 char *kwnames
[] = {
24077 (char *) "self",(char *) "exStyle", NULL
24080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24083 arg2
= (long) SWIG_AsLong(obj1
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24087 (arg1
)->SetExtraStyle(arg2
);
24089 wxPyEndAllowThreads(__tstate
);
24090 if (PyErr_Occurred()) SWIG_fail
;
24092 Py_INCREF(Py_None
); resultobj
= Py_None
;
24099 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
;
24101 wxWindow
*arg1
= (wxWindow
*) 0 ;
24103 PyObject
* obj0
= 0 ;
24104 char *kwnames
[] = {
24105 (char *) "self", NULL
24108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24115 wxPyEndAllowThreads(__tstate
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24118 resultobj
= SWIG_FromLong((long)result
);
24125 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
;
24127 wxWindow
*arg1
= (wxWindow
*) 0 ;
24128 bool arg2
= (bool) True
;
24129 PyObject
* obj0
= 0 ;
24130 PyObject
* obj1
= 0 ;
24131 char *kwnames
[] = {
24132 (char *) "self",(char *) "modal", NULL
24135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24139 arg2
= (bool) SWIG_AsBool(obj1
);
24140 if (PyErr_Occurred()) SWIG_fail
;
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24144 (arg1
)->MakeModal(arg2
);
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 Py_INCREF(Py_None
); resultobj
= Py_None
;
24156 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
;
24158 wxWindow
*arg1
= (wxWindow
*) 0 ;
24160 PyObject
* obj0
= 0 ;
24161 PyObject
* obj1
= 0 ;
24162 char *kwnames
[] = {
24163 (char *) "self",(char *) "enableTheme", NULL
24166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24169 arg2
= (bool) SWIG_AsBool(obj1
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24173 (arg1
)->SetThemeEnabled(arg2
);
24175 wxPyEndAllowThreads(__tstate
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24178 Py_INCREF(Py_None
); resultobj
= Py_None
;
24185 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
;
24187 wxWindow
*arg1
= (wxWindow
*) 0 ;
24189 PyObject
* obj0
= 0 ;
24190 char *kwnames
[] = {
24191 (char *) "self", NULL
24194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24199 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24213 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24214 PyObject
*resultobj
;
24215 wxWindow
*arg1
= (wxWindow
*) 0 ;
24216 PyObject
* obj0
= 0 ;
24217 char *kwnames
[] = {
24218 (char *) "self", NULL
24221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 (arg1
)->SetFocus();
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 Py_INCREF(Py_None
); resultobj
= Py_None
;
24238 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
;
24240 wxWindow
*arg1
= (wxWindow
*) 0 ;
24241 PyObject
* obj0
= 0 ;
24242 char *kwnames
[] = {
24243 (char *) "self", NULL
24246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 (arg1
)->SetFocusFromKbd();
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 Py_INCREF(Py_None
); resultobj
= Py_None
;
24263 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
;
24266 char *kwnames
[] = {
24270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 result
= (wxWindow
*)wxWindow::FindFocus();
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24279 resultobj
= wxPyMake_wxObject(result
);
24287 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24288 PyObject
*resultobj
;
24289 wxWindow
*arg1
= (wxWindow
*) 0 ;
24291 PyObject
* obj0
= 0 ;
24292 char *kwnames
[] = {
24293 (char *) "self", NULL
24296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24303 wxPyEndAllowThreads(__tstate
);
24304 if (PyErr_Occurred()) SWIG_fail
;
24307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24315 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
;
24317 wxWindow
*arg1
= (wxWindow
*) 0 ;
24319 PyObject
* obj0
= 0 ;
24320 char *kwnames
[] = {
24321 (char *) "self", NULL
24324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24343 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
;
24345 wxWindow
*arg1
= (wxWindow
*) 0 ;
24347 PyObject
* obj0
= 0 ;
24348 char *kwnames
[] = {
24349 (char *) "self", NULL
24352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24357 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24359 wxPyEndAllowThreads(__tstate
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= wxPyMake_wxObject(result
);
24371 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
;
24373 wxWindow
*arg1
= (wxWindow
*) 0 ;
24374 wxWindow
*arg2
= (wxWindow
*) 0 ;
24376 PyObject
* obj0
= 0 ;
24377 PyObject
* obj1
= 0 ;
24378 char *kwnames
[] = {
24379 (char *) "self",(char *) "child", NULL
24382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24389 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24391 wxPyEndAllowThreads(__tstate
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24395 resultobj
= wxPyMake_wxObject(result
);
24403 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
;
24405 wxWindow
*arg1
= (wxWindow
*) 0 ;
24406 wxWindow
*arg2
= (wxWindow
*) 0 ;
24407 PyObject
* obj0
= 0 ;
24408 PyObject
* obj1
= 0 ;
24409 char *kwnames
[] = {
24410 (char *) "self",(char *) "win", NULL
24413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 (arg1
)->SetTmpDefaultItem(arg2
);
24422 wxPyEndAllowThreads(__tstate
);
24423 if (PyErr_Occurred()) SWIG_fail
;
24425 Py_INCREF(Py_None
); resultobj
= Py_None
;
24432 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24433 PyObject
*resultobj
;
24434 wxWindow
*arg1
= (wxWindow
*) 0 ;
24436 PyObject
* obj0
= 0 ;
24437 char *kwnames
[] = {
24438 (char *) "self", NULL
24441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24446 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24448 wxPyEndAllowThreads(__tstate
);
24449 if (PyErr_Occurred()) SWIG_fail
;
24451 resultobj
= result
;
24458 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24459 PyObject
*resultobj
;
24460 wxWindow
*arg1
= (wxWindow
*) 0 ;
24462 PyObject
* obj0
= 0 ;
24463 char *kwnames
[] = {
24464 (char *) "self", NULL
24467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= wxPyMake_wxObject(result
);
24486 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
;
24488 wxWindow
*arg1
= (wxWindow
*) 0 ;
24490 PyObject
* obj0
= 0 ;
24491 char *kwnames
[] = {
24492 (char *) "self", NULL
24495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24502 wxPyEndAllowThreads(__tstate
);
24503 if (PyErr_Occurred()) SWIG_fail
;
24506 resultobj
= wxPyMake_wxObject(result
);
24514 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
;
24516 wxWindow
*arg1
= (wxWindow
*) 0 ;
24518 PyObject
* obj0
= 0 ;
24519 char *kwnames
[] = {
24520 (char *) "self", NULL
24523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24542 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24543 PyObject
*resultobj
;
24544 wxWindow
*arg1
= (wxWindow
*) 0 ;
24545 wxWindow
*arg2
= (wxWindow
*) 0 ;
24547 PyObject
* obj0
= 0 ;
24548 PyObject
* obj1
= 0 ;
24549 char *kwnames
[] = {
24550 (char *) "self",(char *) "newParent", NULL
24553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24560 result
= (bool)(arg1
)->Reparent(arg2
);
24562 wxPyEndAllowThreads(__tstate
);
24563 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24574 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24575 PyObject
*resultobj
;
24576 wxWindow
*arg1
= (wxWindow
*) 0 ;
24577 wxWindow
*arg2
= (wxWindow
*) 0 ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 char *kwnames
[] = {
24581 (char *) "self",(char *) "child", NULL
24584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 (arg1
)->AddChild(arg2
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24596 Py_INCREF(Py_None
); resultobj
= Py_None
;
24603 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
;
24605 wxWindow
*arg1
= (wxWindow
*) 0 ;
24606 wxWindow
*arg2
= (wxWindow
*) 0 ;
24607 PyObject
* obj0
= 0 ;
24608 PyObject
* obj1
= 0 ;
24609 char *kwnames
[] = {
24610 (char *) "self",(char *) "child", NULL
24613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 (arg1
)->RemoveChild(arg2
);
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24625 Py_INCREF(Py_None
); resultobj
= Py_None
;
24632 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24633 PyObject
*resultobj
;
24634 wxWindow
*arg1
= (wxWindow
*) 0 ;
24637 PyObject
* obj0
= 0 ;
24638 PyObject
* obj1
= 0 ;
24639 char *kwnames
[] = {
24640 (char *) "self",(char *) "winid", NULL
24643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24646 arg2
= (long) SWIG_AsLong(obj1
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24650 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24652 wxPyEndAllowThreads(__tstate
);
24653 if (PyErr_Occurred()) SWIG_fail
;
24656 resultobj
= wxPyMake_wxObject(result
);
24664 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24665 PyObject
*resultobj
;
24666 wxWindow
*arg1
= (wxWindow
*) 0 ;
24667 wxString
*arg2
= 0 ;
24669 bool temp2
= False
;
24670 PyObject
* obj0
= 0 ;
24671 PyObject
* obj1
= 0 ;
24672 char *kwnames
[] = {
24673 (char *) "self",(char *) "name", NULL
24676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24680 arg2
= wxString_in_helper(obj1
);
24681 if (arg2
== NULL
) SWIG_fail
;
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24692 resultobj
= wxPyMake_wxObject(result
);
24708 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24710 wxWindow
*arg1
= (wxWindow
*) 0 ;
24711 wxEvtHandler
*result
;
24712 PyObject
* obj0
= 0 ;
24713 char *kwnames
[] = {
24714 (char *) "self", NULL
24717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24724 wxPyEndAllowThreads(__tstate
);
24725 if (PyErr_Occurred()) SWIG_fail
;
24728 resultobj
= wxPyMake_wxObject(result
);
24736 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
;
24738 wxWindow
*arg1
= (wxWindow
*) 0 ;
24739 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24740 PyObject
* obj0
= 0 ;
24741 PyObject
* obj1
= 0 ;
24742 char *kwnames
[] = {
24743 (char *) "self",(char *) "handler", NULL
24746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 (arg1
)->SetEventHandler(arg2
);
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24758 Py_INCREF(Py_None
); resultobj
= Py_None
;
24765 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24766 PyObject
*resultobj
;
24767 wxWindow
*arg1
= (wxWindow
*) 0 ;
24768 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24769 PyObject
* obj0
= 0 ;
24770 PyObject
* obj1
= 0 ;
24771 char *kwnames
[] = {
24772 (char *) "self",(char *) "handler", NULL
24775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24782 (arg1
)->PushEventHandler(arg2
);
24784 wxPyEndAllowThreads(__tstate
);
24785 if (PyErr_Occurred()) SWIG_fail
;
24787 Py_INCREF(Py_None
); resultobj
= Py_None
;
24794 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24795 PyObject
*resultobj
;
24796 wxWindow
*arg1
= (wxWindow
*) 0 ;
24797 bool arg2
= (bool) False
;
24798 wxEvtHandler
*result
;
24799 PyObject
* obj0
= 0 ;
24800 PyObject
* obj1
= 0 ;
24801 char *kwnames
[] = {
24802 (char *) "self",(char *) "deleteHandler", NULL
24805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24809 arg2
= (bool) SWIG_AsBool(obj1
);
24810 if (PyErr_Occurred()) SWIG_fail
;
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24816 wxPyEndAllowThreads(__tstate
);
24817 if (PyErr_Occurred()) SWIG_fail
;
24820 resultobj
= wxPyMake_wxObject(result
);
24828 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24829 PyObject
*resultobj
;
24830 wxWindow
*arg1
= (wxWindow
*) 0 ;
24831 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24833 PyObject
* obj0
= 0 ;
24834 PyObject
* obj1
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self",(char *) "handler", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24860 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24861 PyObject
*resultobj
;
24862 wxWindow
*arg1
= (wxWindow
*) 0 ;
24863 wxValidator
*arg2
= 0 ;
24864 PyObject
* obj0
= 0 ;
24865 PyObject
* obj1
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self",(char *) "validator", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24874 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24876 if (arg2
== NULL
) {
24877 PyErr_SetString(PyExc_TypeError
,"null reference");
24881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24882 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24887 Py_INCREF(Py_None
); resultobj
= Py_None
;
24894 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
;
24896 wxWindow
*arg1
= (wxWindow
*) 0 ;
24897 wxValidator
*result
;
24898 PyObject
* obj0
= 0 ;
24899 char *kwnames
[] = {
24900 (char *) "self", NULL
24903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 result
= (wxValidator
*)(arg1
)->GetValidator();
24910 wxPyEndAllowThreads(__tstate
);
24911 if (PyErr_Occurred()) SWIG_fail
;
24914 resultobj
= wxPyMake_wxObject(result
);
24922 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24923 PyObject
*resultobj
;
24924 wxWindow
*arg1
= (wxWindow
*) 0 ;
24926 PyObject
* obj0
= 0 ;
24927 char *kwnames
[] = {
24928 (char *) "self", NULL
24931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 result
= (bool)(arg1
)->Validate();
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24950 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24951 PyObject
*resultobj
;
24952 wxWindow
*arg1
= (wxWindow
*) 0 ;
24954 PyObject
* obj0
= 0 ;
24955 char *kwnames
[] = {
24956 (char *) "self", NULL
24959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 result
= (bool)(arg1
)->TransferDataToWindow();
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24978 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24979 PyObject
*resultobj
;
24980 wxWindow
*arg1
= (wxWindow
*) 0 ;
24982 PyObject
* obj0
= 0 ;
24983 char *kwnames
[] = {
24984 (char *) "self", NULL
24987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 result
= (bool)(arg1
)->TransferDataFromWindow();
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25006 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25007 PyObject
*resultobj
;
25008 wxWindow
*arg1
= (wxWindow
*) 0 ;
25009 PyObject
* obj0
= 0 ;
25010 char *kwnames
[] = {
25011 (char *) "self", NULL
25014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25019 (arg1
)->InitDialog();
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25024 Py_INCREF(Py_None
); resultobj
= Py_None
;
25031 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25032 PyObject
*resultobj
;
25033 wxWindow
*arg1
= (wxWindow
*) 0 ;
25034 wxAcceleratorTable
*arg2
= 0 ;
25035 PyObject
* obj0
= 0 ;
25036 PyObject
* obj1
= 0 ;
25037 char *kwnames
[] = {
25038 (char *) "self",(char *) "accel", NULL
25041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25047 if (arg2
== NULL
) {
25048 PyErr_SetString(PyExc_TypeError
,"null reference");
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25055 wxPyEndAllowThreads(__tstate
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25058 Py_INCREF(Py_None
); resultobj
= Py_None
;
25065 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
;
25067 wxWindow
*arg1
= (wxWindow
*) 0 ;
25068 wxAcceleratorTable
*result
;
25069 PyObject
* obj0
= 0 ;
25070 char *kwnames
[] = {
25071 (char *) "self", NULL
25074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25091 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25092 PyObject
*resultobj
;
25093 wxWindow
*arg1
= (wxWindow
*) 0 ;
25098 PyObject
* obj0
= 0 ;
25099 PyObject
* obj1
= 0 ;
25100 PyObject
* obj2
= 0 ;
25101 PyObject
* obj3
= 0 ;
25102 char *kwnames
[] = {
25103 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25109 arg2
= (int) SWIG_AsInt(obj1
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25111 arg3
= (int) SWIG_AsInt(obj2
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25113 arg4
= (int) SWIG_AsInt(obj3
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25131 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25132 PyObject
*resultobj
;
25133 wxWindow
*arg1
= (wxWindow
*) 0 ;
25136 PyObject
* obj0
= 0 ;
25137 PyObject
* obj1
= 0 ;
25138 char *kwnames
[] = {
25139 (char *) "self",(char *) "hotkeyId", NULL
25142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25145 arg2
= (int) SWIG_AsInt(obj1
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25149 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25163 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25165 wxWindow
*arg1
= (wxWindow
*) 0 ;
25166 wxPoint
*arg2
= 0 ;
25169 PyObject
* obj0
= 0 ;
25170 PyObject
* obj1
= 0 ;
25171 char *kwnames
[] = {
25172 (char *) "self",(char *) "pt", NULL
25175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25190 wxPoint
* resultptr
;
25191 resultptr
= new wxPoint((wxPoint
&) result
);
25192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25200 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25201 PyObject
*resultobj
;
25202 wxWindow
*arg1
= (wxWindow
*) 0 ;
25206 PyObject
* obj0
= 0 ;
25207 PyObject
* obj1
= 0 ;
25208 char *kwnames
[] = {
25209 (char *) "self",(char *) "sz", NULL
25212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25217 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25227 wxSize
* resultptr
;
25228 resultptr
= new wxSize((wxSize
&) result
);
25229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25237 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
;
25239 wxWindow
*arg1
= (wxWindow
*) 0 ;
25240 wxPoint
*arg2
= 0 ;
25243 PyObject
* obj0
= 0 ;
25244 PyObject
* obj1
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "self",(char *) "pt", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25254 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25264 wxPoint
* resultptr
;
25265 resultptr
= new wxPoint((wxPoint
&) result
);
25266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25274 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25275 PyObject
*resultobj
;
25276 wxWindow
*arg1
= (wxWindow
*) 0 ;
25280 PyObject
* obj0
= 0 ;
25281 PyObject
* obj1
= 0 ;
25282 char *kwnames
[] = {
25283 (char *) "self",(char *) "sz", NULL
25286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25291 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25295 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25297 wxPyEndAllowThreads(__tstate
);
25298 if (PyErr_Occurred()) SWIG_fail
;
25301 wxSize
* resultptr
;
25302 resultptr
= new wxSize((wxSize
&) result
);
25303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25311 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
;
25313 wxWindow
*arg1
= (wxWindow
*) 0 ;
25314 wxPoint
*arg2
= 0 ;
25317 PyObject
* obj0
= 0 ;
25318 PyObject
* obj1
= 0 ;
25319 char *kwnames
[] = {
25320 (char *) "self",(char *) "pt", NULL
25323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25328 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25334 wxPyEndAllowThreads(__tstate
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25338 wxPoint
* resultptr
;
25339 resultptr
= new wxPoint((wxPoint
&) result
);
25340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25348 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25349 PyObject
*resultobj
;
25350 wxWindow
*arg1
= (wxWindow
*) 0 ;
25354 PyObject
* obj0
= 0 ;
25355 PyObject
* obj1
= 0 ;
25356 char *kwnames
[] = {
25357 (char *) "self",(char *) "sz", NULL
25360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25365 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25369 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25371 wxPyEndAllowThreads(__tstate
);
25372 if (PyErr_Occurred()) SWIG_fail
;
25375 wxSize
* resultptr
;
25376 resultptr
= new wxSize((wxSize
&) result
);
25377 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25385 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25386 PyObject
*resultobj
;
25387 wxWindow
*arg1
= (wxWindow
*) 0 ;
25390 PyObject
* obj0
= 0 ;
25391 PyObject
* obj1
= 0 ;
25392 PyObject
* obj2
= 0 ;
25393 char *kwnames
[] = {
25394 (char *) "self",(char *) "x",(char *) "y", NULL
25397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25400 arg2
= (int) SWIG_AsInt(obj1
);
25401 if (PyErr_Occurred()) SWIG_fail
;
25402 arg3
= (int) SWIG_AsInt(obj2
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 (arg1
)->WarpPointer(arg2
,arg3
);
25408 wxPyEndAllowThreads(__tstate
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25411 Py_INCREF(Py_None
); resultobj
= Py_None
;
25418 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25419 PyObject
*resultobj
;
25420 wxWindow
*arg1
= (wxWindow
*) 0 ;
25421 PyObject
* obj0
= 0 ;
25422 char *kwnames
[] = {
25423 (char *) "self", NULL
25426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25431 (arg1
)->CaptureMouse();
25433 wxPyEndAllowThreads(__tstate
);
25434 if (PyErr_Occurred()) SWIG_fail
;
25436 Py_INCREF(Py_None
); resultobj
= Py_None
;
25443 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25444 PyObject
*resultobj
;
25445 wxWindow
*arg1
= (wxWindow
*) 0 ;
25446 PyObject
* obj0
= 0 ;
25447 char *kwnames
[] = {
25448 (char *) "self", NULL
25451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 (arg1
)->ReleaseMouse();
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 Py_INCREF(Py_None
); resultobj
= Py_None
;
25468 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
;
25471 char *kwnames
[] = {
25475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 result
= (wxWindow
*)wxWindow::GetCapture();
25480 wxPyEndAllowThreads(__tstate
);
25481 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= wxPyMake_wxObject(result
);
25492 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25493 PyObject
*resultobj
;
25494 wxWindow
*arg1
= (wxWindow
*) 0 ;
25496 PyObject
* obj0
= 0 ;
25497 char *kwnames
[] = {
25498 (char *) "self", NULL
25501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25520 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
;
25522 wxWindow
*arg1
= (wxWindow
*) 0 ;
25523 bool arg2
= (bool) True
;
25524 wxRect
*arg3
= (wxRect
*) NULL
;
25525 PyObject
* obj0
= 0 ;
25526 PyObject
* obj1
= 0 ;
25527 PyObject
* obj2
= 0 ;
25528 char *kwnames
[] = {
25529 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25536 arg2
= (bool) SWIG_AsBool(obj1
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25540 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25547 wxPyEndAllowThreads(__tstate
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25550 Py_INCREF(Py_None
); resultobj
= Py_None
;
25557 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25558 PyObject
*resultobj
;
25559 wxWindow
*arg1
= (wxWindow
*) 0 ;
25562 PyObject
* obj0
= 0 ;
25563 PyObject
* obj1
= 0 ;
25564 char *kwnames
[] = {
25565 (char *) "self",(char *) "rect", NULL
25568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25573 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 Py_INCREF(Py_None
); resultobj
= Py_None
;
25589 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25590 PyObject
*resultobj
;
25591 wxWindow
*arg1
= (wxWindow
*) 0 ;
25592 PyObject
* obj0
= 0 ;
25593 char *kwnames
[] = {
25594 (char *) "self", NULL
25597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 Py_INCREF(Py_None
); resultobj
= Py_None
;
25614 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
;
25616 wxWindow
*arg1
= (wxWindow
*) 0 ;
25617 PyObject
* obj0
= 0 ;
25618 char *kwnames
[] = {
25619 (char *) "self", NULL
25622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25627 (arg1
)->ClearBackground();
25629 wxPyEndAllowThreads(__tstate
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25632 Py_INCREF(Py_None
); resultobj
= Py_None
;
25639 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25640 PyObject
*resultobj
;
25641 wxWindow
*arg1
= (wxWindow
*) 0 ;
25642 PyObject
* obj0
= 0 ;
25643 char *kwnames
[] = {
25644 (char *) "self", NULL
25647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 Py_INCREF(Py_None
); resultobj
= Py_None
;
25664 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25665 PyObject
*resultobj
;
25666 wxWindow
*arg1
= (wxWindow
*) 0 ;
25667 PyObject
* obj0
= 0 ;
25668 char *kwnames
[] = {
25669 (char *) "self", NULL
25672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 wxPyEndAllowThreads(__tstate
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25682 Py_INCREF(Py_None
); resultobj
= Py_None
;
25689 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25690 PyObject
*resultobj
;
25691 wxWindow
*arg1
= (wxWindow
*) 0 ;
25693 PyObject
* obj0
= 0 ;
25694 PyObject
* obj1
= 0 ;
25695 char *kwnames
[] = {
25696 (char *) "self",(char *) "dc", NULL
25699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25705 if (arg2
== NULL
) {
25706 PyErr_SetString(PyExc_TypeError
,"null reference");
25710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25711 (arg1
)->PrepareDC(*arg2
);
25713 wxPyEndAllowThreads(__tstate
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25716 Py_INCREF(Py_None
); resultobj
= Py_None
;
25723 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25724 PyObject
*resultobj
;
25725 wxWindow
*arg1
= (wxWindow
*) 0 ;
25727 PyObject
* obj0
= 0 ;
25728 char *kwnames
[] = {
25729 (char *) "self", NULL
25732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25739 result
= (wxRegion
*) &_result_ref
;
25742 wxPyEndAllowThreads(__tstate
);
25743 if (PyErr_Occurred()) SWIG_fail
;
25745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25752 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
;
25754 wxWindow
*arg1
= (wxWindow
*) 0 ;
25756 PyObject
* obj0
= 0 ;
25757 char *kwnames
[] = {
25758 (char *) "self", NULL
25761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25772 wxRect
* resultptr
;
25773 resultptr
= new wxRect((wxRect
&) result
);
25774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25782 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25783 PyObject
*resultobj
;
25784 wxWindow
*arg1
= (wxWindow
*) 0 ;
25787 int arg4
= (int) 1 ;
25788 int arg5
= (int) 1 ;
25790 PyObject
* obj0
= 0 ;
25791 PyObject
* obj1
= 0 ;
25792 PyObject
* obj2
= 0 ;
25793 PyObject
* obj3
= 0 ;
25794 PyObject
* obj4
= 0 ;
25795 char *kwnames
[] = {
25796 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25802 arg2
= (int) SWIG_AsInt(obj1
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25804 arg3
= (int) SWIG_AsInt(obj2
);
25805 if (PyErr_Occurred()) SWIG_fail
;
25807 arg4
= (int) SWIG_AsInt(obj3
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25811 arg5
= (int) SWIG_AsInt(obj4
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25830 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25831 PyObject
*resultobj
;
25832 wxWindow
*arg1
= (wxWindow
*) 0 ;
25833 wxPoint
*arg2
= 0 ;
25836 PyObject
* obj0
= 0 ;
25837 PyObject
* obj1
= 0 ;
25838 char *kwnames
[] = {
25839 (char *) "self",(char *) "pt", NULL
25842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25847 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25853 wxPyEndAllowThreads(__tstate
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25865 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25866 PyObject
*resultobj
;
25867 wxWindow
*arg1
= (wxWindow
*) 0 ;
25871 PyObject
* obj0
= 0 ;
25872 PyObject
* obj1
= 0 ;
25873 char *kwnames
[] = {
25874 (char *) "self",(char *) "rect", NULL
25877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25882 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25888 wxPyEndAllowThreads(__tstate
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25900 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25901 PyObject
*resultobj
;
25902 wxWindow
*arg1
= (wxWindow
*) 0 ;
25903 wxVisualAttributes result
;
25904 PyObject
* obj0
= 0 ;
25905 char *kwnames
[] = {
25906 (char *) "self", NULL
25909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25920 wxVisualAttributes
* resultptr
;
25921 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25930 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25931 PyObject
*resultobj
;
25932 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25933 wxVisualAttributes result
;
25934 PyObject
* obj0
= 0 ;
25935 char *kwnames
[] = {
25936 (char *) "variant", NULL
25939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25941 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25942 if (PyErr_Occurred()) SWIG_fail
;
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25952 wxVisualAttributes
* resultptr
;
25953 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25962 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25963 PyObject
*resultobj
;
25964 wxWindow
*arg1
= (wxWindow
*) 0 ;
25965 wxColour
*arg2
= 0 ;
25968 PyObject
* obj0
= 0 ;
25969 PyObject
* obj1
= 0 ;
25970 char *kwnames
[] = {
25971 (char *) "self",(char *) "colour", NULL
25974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25979 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25983 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25997 static PyObject
*_wrap_Window_SetDefaultBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25998 PyObject
*resultobj
;
25999 wxWindow
*arg1
= (wxWindow
*) 0 ;
26000 wxColour
*arg2
= 0 ;
26002 PyObject
* obj0
= 0 ;
26003 PyObject
* obj1
= 0 ;
26004 char *kwnames
[] = {
26005 (char *) "self",(char *) "colour", NULL
26008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26013 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 (arg1
)->SetDefaultBackgroundColour((wxColour
const &)*arg2
);
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26022 Py_INCREF(Py_None
); resultobj
= Py_None
;
26029 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26030 PyObject
*resultobj
;
26031 wxWindow
*arg1
= (wxWindow
*) 0 ;
26032 wxColour
*arg2
= 0 ;
26035 PyObject
* obj0
= 0 ;
26036 PyObject
* obj1
= 0 ;
26037 char *kwnames
[] = {
26038 (char *) "self",(char *) "colour", NULL
26041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26046 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26050 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26052 wxPyEndAllowThreads(__tstate
);
26053 if (PyErr_Occurred()) SWIG_fail
;
26056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26064 static PyObject
*_wrap_Window_SetDefaultForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26065 PyObject
*resultobj
;
26066 wxWindow
*arg1
= (wxWindow
*) 0 ;
26067 wxColour
*arg2
= 0 ;
26069 PyObject
* obj0
= 0 ;
26070 PyObject
* obj1
= 0 ;
26071 char *kwnames
[] = {
26072 (char *) "self",(char *) "colour", NULL
26075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26080 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26084 (arg1
)->SetDefaultForegroundColour((wxColour
const &)*arg2
);
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26089 Py_INCREF(Py_None
); resultobj
= Py_None
;
26096 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
;
26098 wxWindow
*arg1
= (wxWindow
*) 0 ;
26100 PyObject
* obj0
= 0 ;
26101 char *kwnames
[] = {
26102 (char *) "self", NULL
26105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26110 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26112 wxPyEndAllowThreads(__tstate
);
26113 if (PyErr_Occurred()) SWIG_fail
;
26116 wxColour
* resultptr
;
26117 resultptr
= new wxColour((wxColour
&) result
);
26118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26126 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26127 PyObject
*resultobj
;
26128 wxWindow
*arg1
= (wxWindow
*) 0 ;
26130 PyObject
* obj0
= 0 ;
26131 char *kwnames
[] = {
26132 (char *) "self", NULL
26135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26140 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26142 wxPyEndAllowThreads(__tstate
);
26143 if (PyErr_Occurred()) SWIG_fail
;
26146 wxColour
* resultptr
;
26147 resultptr
= new wxColour((wxColour
&) result
);
26148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26156 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26157 PyObject
*resultobj
;
26158 wxWindow
*arg1
= (wxWindow
*) 0 ;
26159 wxCursor
*arg2
= 0 ;
26161 PyObject
* obj0
= 0 ;
26162 PyObject
* obj1
= 0 ;
26163 char *kwnames
[] = {
26164 (char *) "self",(char *) "cursor", NULL
26167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26171 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26173 if (arg2
== NULL
) {
26174 PyErr_SetString(PyExc_TypeError
,"null reference");
26178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26179 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26193 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26194 PyObject
*resultobj
;
26195 wxWindow
*arg1
= (wxWindow
*) 0 ;
26197 PyObject
* obj0
= 0 ;
26198 char *kwnames
[] = {
26199 (char *) "self", NULL
26202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26209 result
= (wxCursor
*) &_result_ref
;
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26216 wxCursor
* resultptr
= new wxCursor(*result
);
26217 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26225 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26226 PyObject
*resultobj
;
26227 wxWindow
*arg1
= (wxWindow
*) 0 ;
26230 PyObject
* obj0
= 0 ;
26231 PyObject
* obj1
= 0 ;
26232 char *kwnames
[] = {
26233 (char *) "self",(char *) "font", NULL
26236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26242 if (arg2
== NULL
) {
26243 PyErr_SetString(PyExc_TypeError
,"null reference");
26247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26262 static PyObject
*_wrap_Window_SetDefaultFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26263 PyObject
*resultobj
;
26264 wxWindow
*arg1
= (wxWindow
*) 0 ;
26266 PyObject
* obj0
= 0 ;
26267 PyObject
* obj1
= 0 ;
26268 char *kwnames
[] = {
26269 (char *) "self",(char *) "font", NULL
26272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26278 if (arg2
== NULL
) {
26279 PyErr_SetString(PyExc_TypeError
,"null reference");
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 (arg1
)->SetDefaultFont((wxFont
const &)*arg2
);
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 Py_INCREF(Py_None
); resultobj
= Py_None
;
26296 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26297 PyObject
*resultobj
;
26298 wxWindow
*arg1
= (wxWindow
*) 0 ;
26300 PyObject
* obj0
= 0 ;
26301 char *kwnames
[] = {
26302 (char *) "self", NULL
26305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26311 wxFont
&_result_ref
= (arg1
)->GetFont();
26312 result
= (wxFont
*) &_result_ref
;
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26319 wxFont
* resultptr
= new wxFont(*result
);
26320 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26328 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26329 PyObject
*resultobj
;
26330 wxWindow
*arg1
= (wxWindow
*) 0 ;
26331 wxCaret
*arg2
= (wxCaret
*) 0 ;
26332 PyObject
* obj0
= 0 ;
26333 PyObject
* obj1
= 0 ;
26334 char *kwnames
[] = {
26335 (char *) "self",(char *) "caret", NULL
26338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 (arg1
)->SetCaret(arg2
);
26347 wxPyEndAllowThreads(__tstate
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26350 Py_INCREF(Py_None
); resultobj
= Py_None
;
26357 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
;
26359 wxWindow
*arg1
= (wxWindow
*) 0 ;
26361 PyObject
* obj0
= 0 ;
26362 char *kwnames
[] = {
26363 (char *) "self", NULL
26366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26371 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26373 wxPyEndAllowThreads(__tstate
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26383 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26384 PyObject
*resultobj
;
26385 wxWindow
*arg1
= (wxWindow
*) 0 ;
26387 PyObject
* obj0
= 0 ;
26388 char *kwnames
[] = {
26389 (char *) "self", NULL
26392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26402 resultobj
= SWIG_FromInt((int)result
);
26409 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26410 PyObject
*resultobj
;
26411 wxWindow
*arg1
= (wxWindow
*) 0 ;
26413 PyObject
* obj0
= 0 ;
26414 char *kwnames
[] = {
26415 (char *) "self", NULL
26418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26423 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26425 wxPyEndAllowThreads(__tstate
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26428 resultobj
= SWIG_FromInt((int)result
);
26435 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26436 PyObject
*resultobj
;
26437 wxWindow
*arg1
= (wxWindow
*) 0 ;
26438 wxString
*arg2
= 0 ;
26439 int *arg3
= (int *) 0 ;
26440 int *arg4
= (int *) 0 ;
26441 bool temp2
= False
;
26444 PyObject
* obj0
= 0 ;
26445 PyObject
* obj1
= 0 ;
26446 char *kwnames
[] = {
26447 (char *) "self",(char *) "string", NULL
26452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26456 arg2
= wxString_in_helper(obj1
);
26457 if (arg2
== NULL
) SWIG_fail
;
26461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26462 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26464 wxPyEndAllowThreads(__tstate
);
26465 if (PyErr_Occurred()) SWIG_fail
;
26467 Py_INCREF(Py_None
); resultobj
= Py_None
;
26469 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26470 resultobj
= t_output_helper(resultobj
,o
);
26473 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26474 resultobj
= t_output_helper(resultobj
,o
);
26490 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26491 PyObject
*resultobj
;
26492 wxWindow
*arg1
= (wxWindow
*) 0 ;
26493 wxString
*arg2
= 0 ;
26494 int *arg3
= (int *) 0 ;
26495 int *arg4
= (int *) 0 ;
26496 int *arg5
= (int *) 0 ;
26497 int *arg6
= (int *) 0 ;
26498 wxFont
*arg7
= (wxFont
*) NULL
;
26499 bool temp2
= False
;
26504 PyObject
* obj0
= 0 ;
26505 PyObject
* obj1
= 0 ;
26506 PyObject
* obj2
= 0 ;
26507 char *kwnames
[] = {
26508 (char *) "self",(char *) "string",(char *) "font", NULL
26515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26519 arg2
= wxString_in_helper(obj1
);
26520 if (arg2
== NULL
) SWIG_fail
;
26524 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
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
);
26544 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26545 resultobj
= t_output_helper(resultobj
,o
);
26548 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26549 resultobj
= t_output_helper(resultobj
,o
);
26565 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
;
26567 wxWindow
*arg1
= (wxWindow
*) 0 ;
26568 int *arg2
= (int *) 0 ;
26569 int *arg3
= (int *) 0 ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 PyObject
* obj2
= 0 ;
26575 char *kwnames
[] = {
26576 (char *) "self",(char *) "x",(char *) "y", NULL
26579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26583 temp2
= PyInt_AsLong(obj1
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26588 temp3
= PyInt_AsLong(obj2
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26594 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26596 wxPyEndAllowThreads(__tstate
);
26597 if (PyErr_Occurred()) SWIG_fail
;
26599 Py_INCREF(Py_None
); resultobj
= Py_None
;
26601 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26602 resultobj
= t_output_helper(resultobj
,o
);
26605 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26606 resultobj
= t_output_helper(resultobj
,o
);
26614 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26615 PyObject
*resultobj
;
26616 wxWindow
*arg1
= (wxWindow
*) 0 ;
26617 int *arg2
= (int *) 0 ;
26618 int *arg3
= (int *) 0 ;
26621 PyObject
* obj0
= 0 ;
26622 PyObject
* obj1
= 0 ;
26623 PyObject
* obj2
= 0 ;
26624 char *kwnames
[] = {
26625 (char *) "self",(char *) "x",(char *) "y", NULL
26628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26632 temp2
= PyInt_AsLong(obj1
);
26633 if (PyErr_Occurred()) SWIG_fail
;
26637 temp3
= PyInt_AsLong(obj2
);
26638 if (PyErr_Occurred()) SWIG_fail
;
26642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26643 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26645 wxPyEndAllowThreads(__tstate
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26648 Py_INCREF(Py_None
); resultobj
= Py_None
;
26650 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26651 resultobj
= t_output_helper(resultobj
,o
);
26654 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26655 resultobj
= t_output_helper(resultobj
,o
);
26663 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26664 PyObject
*resultobj
;
26665 wxWindow
*arg1
= (wxWindow
*) 0 ;
26666 wxPoint
*arg2
= 0 ;
26669 PyObject
* obj0
= 0 ;
26670 PyObject
* obj1
= 0 ;
26671 char *kwnames
[] = {
26672 (char *) "self",(char *) "pt", NULL
26675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26680 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26684 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26690 wxPoint
* resultptr
;
26691 resultptr
= new wxPoint((wxPoint
&) result
);
26692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26700 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26701 PyObject
*resultobj
;
26702 wxWindow
*arg1
= (wxWindow
*) 0 ;
26703 wxPoint
*arg2
= 0 ;
26706 PyObject
* obj0
= 0 ;
26707 PyObject
* obj1
= 0 ;
26708 char *kwnames
[] = {
26709 (char *) "self",(char *) "pt", NULL
26712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26717 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26721 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26727 wxPoint
* resultptr
;
26728 resultptr
= new wxPoint((wxPoint
&) result
);
26729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26737 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
;
26739 wxWindow
*arg1
= (wxWindow
*) 0 ;
26743 PyObject
* obj0
= 0 ;
26744 PyObject
* obj1
= 0 ;
26745 PyObject
* obj2
= 0 ;
26746 char *kwnames
[] = {
26747 (char *) "self",(char *) "x",(char *) "y", NULL
26750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26753 arg2
= (int) SWIG_AsInt(obj1
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26755 arg3
= (int) SWIG_AsInt(obj2
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26759 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26761 wxPyEndAllowThreads(__tstate
);
26762 if (PyErr_Occurred()) SWIG_fail
;
26764 resultobj
= SWIG_FromInt((int)result
);
26771 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26772 PyObject
*resultobj
;
26773 wxWindow
*arg1
= (wxWindow
*) 0 ;
26774 wxPoint
*arg2
= 0 ;
26777 PyObject
* obj0
= 0 ;
26778 PyObject
* obj1
= 0 ;
26779 char *kwnames
[] = {
26780 (char *) "self",(char *) "pt", NULL
26783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26788 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26797 resultobj
= SWIG_FromInt((int)result
);
26804 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26805 PyObject
*resultobj
;
26806 wxWindow
*arg1
= (wxWindow
*) 0 ;
26809 PyObject
* obj0
= 0 ;
26810 PyObject
* obj1
= 0 ;
26812 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26815 arg2
= (long) SWIG_AsLong(obj1
);
26816 if (PyErr_Occurred()) SWIG_fail
;
26818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26821 wxPyEndAllowThreads(__tstate
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26824 resultobj
= SWIG_FromInt((int)result
);
26831 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26832 PyObject
*resultobj
;
26833 wxWindow
*arg1
= (wxWindow
*) 0 ;
26835 PyObject
* obj0
= 0 ;
26837 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26842 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26844 wxPyEndAllowThreads(__tstate
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26847 resultobj
= SWIG_FromInt((int)result
);
26854 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26859 argc
= PyObject_Length(args
);
26860 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26861 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26867 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26875 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26882 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26890 _v
= SWIG_CheckLong(argv
[1]);
26892 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26897 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26902 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
;
26904 wxWindow
*arg1
= (wxWindow
*) 0 ;
26905 long arg2
= (long) wxUPDATE_UI_NONE
;
26906 PyObject
* obj0
= 0 ;
26907 PyObject
* obj1
= 0 ;
26908 char *kwnames
[] = {
26909 (char *) "self",(char *) "flags", NULL
26912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26916 arg2
= (long) SWIG_AsLong(obj1
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 (arg1
)->UpdateWindowUI(arg2
);
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26926 Py_INCREF(Py_None
); resultobj
= Py_None
;
26933 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
;
26935 wxWindow
*arg1
= (wxWindow
*) 0 ;
26936 wxMenu
*arg2
= (wxMenu
*) 0 ;
26940 PyObject
* obj0
= 0 ;
26941 PyObject
* obj1
= 0 ;
26942 PyObject
* obj2
= 0 ;
26943 PyObject
* obj3
= 0 ;
26944 char *kwnames
[] = {
26945 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26953 arg3
= (int) SWIG_AsInt(obj2
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26955 arg4
= (int) SWIG_AsInt(obj3
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26959 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26973 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26974 PyObject
*resultobj
;
26975 wxWindow
*arg1
= (wxWindow
*) 0 ;
26976 wxMenu
*arg2
= (wxMenu
*) 0 ;
26977 wxPoint
*arg3
= 0 ;
26980 PyObject
* obj0
= 0 ;
26981 PyObject
* obj1
= 0 ;
26982 PyObject
* obj2
= 0 ;
26983 char *kwnames
[] = {
26984 (char *) "self",(char *) "menu",(char *) "pos", NULL
26987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26994 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26998 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27000 wxPyEndAllowThreads(__tstate
);
27001 if (PyErr_Occurred()) SWIG_fail
;
27004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27012 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27013 PyObject
*resultobj
;
27014 wxWindow
*arg1
= (wxWindow
*) 0 ;
27016 PyObject
* obj0
= 0 ;
27017 char *kwnames
[] = {
27018 (char *) "self", NULL
27021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27026 result
= (long)wxWindow_GetHandle(arg1
);
27028 wxPyEndAllowThreads(__tstate
);
27029 if (PyErr_Occurred()) SWIG_fail
;
27031 resultobj
= SWIG_FromLong((long)result
);
27038 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27039 PyObject
*resultobj
;
27040 wxWindow
*arg1
= (wxWindow
*) 0 ;
27043 PyObject
* obj0
= 0 ;
27044 PyObject
* obj1
= 0 ;
27045 char *kwnames
[] = {
27046 (char *) "self",(char *) "orient", NULL
27049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27052 arg2
= (int) SWIG_AsInt(obj1
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27058 wxPyEndAllowThreads(__tstate
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27070 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27071 PyObject
*resultobj
;
27072 wxWindow
*arg1
= (wxWindow
*) 0 ;
27077 bool arg6
= (bool) True
;
27078 PyObject
* obj0
= 0 ;
27079 PyObject
* obj1
= 0 ;
27080 PyObject
* obj2
= 0 ;
27081 PyObject
* obj3
= 0 ;
27082 PyObject
* obj4
= 0 ;
27083 PyObject
* obj5
= 0 ;
27084 char *kwnames
[] = {
27085 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
27088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27091 arg2
= (int) SWIG_AsInt(obj1
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27093 arg3
= (int) SWIG_AsInt(obj2
);
27094 if (PyErr_Occurred()) SWIG_fail
;
27095 arg4
= (int) SWIG_AsInt(obj3
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27097 arg5
= (int) SWIG_AsInt(obj4
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27100 arg6
= (bool) SWIG_AsBool(obj5
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27105 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27107 wxPyEndAllowThreads(__tstate
);
27108 if (PyErr_Occurred()) SWIG_fail
;
27110 Py_INCREF(Py_None
); resultobj
= Py_None
;
27117 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27118 PyObject
*resultobj
;
27119 wxWindow
*arg1
= (wxWindow
*) 0 ;
27122 bool arg4
= (bool) True
;
27123 PyObject
* obj0
= 0 ;
27124 PyObject
* obj1
= 0 ;
27125 PyObject
* obj2
= 0 ;
27126 PyObject
* obj3
= 0 ;
27127 char *kwnames
[] = {
27128 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27134 arg2
= (int) SWIG_AsInt(obj1
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27136 arg3
= (int) SWIG_AsInt(obj2
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27139 arg4
= (bool) SWIG_AsBool(obj3
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27144 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27146 wxPyEndAllowThreads(__tstate
);
27147 if (PyErr_Occurred()) SWIG_fail
;
27149 Py_INCREF(Py_None
); resultobj
= Py_None
;
27156 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27157 PyObject
*resultobj
;
27158 wxWindow
*arg1
= (wxWindow
*) 0 ;
27161 PyObject
* obj0
= 0 ;
27162 PyObject
* obj1
= 0 ;
27163 char *kwnames
[] = {
27164 (char *) "self",(char *) "orientation", NULL
27167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27170 arg2
= (int) SWIG_AsInt(obj1
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27174 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 resultobj
= SWIG_FromInt((int)result
);
27186 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27187 PyObject
*resultobj
;
27188 wxWindow
*arg1
= (wxWindow
*) 0 ;
27191 PyObject
* obj0
= 0 ;
27192 PyObject
* obj1
= 0 ;
27193 char *kwnames
[] = {
27194 (char *) "self",(char *) "orientation", NULL
27197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27200 arg2
= (int) SWIG_AsInt(obj1
);
27201 if (PyErr_Occurred()) SWIG_fail
;
27203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27204 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27209 resultobj
= SWIG_FromInt((int)result
);
27216 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27217 PyObject
*resultobj
;
27218 wxWindow
*arg1
= (wxWindow
*) 0 ;
27221 PyObject
* obj0
= 0 ;
27222 PyObject
* obj1
= 0 ;
27223 char *kwnames
[] = {
27224 (char *) "self",(char *) "orientation", NULL
27227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27230 arg2
= (int) SWIG_AsInt(obj1
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27236 wxPyEndAllowThreads(__tstate
);
27237 if (PyErr_Occurred()) SWIG_fail
;
27239 resultobj
= SWIG_FromInt((int)result
);
27246 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27247 PyObject
*resultobj
;
27248 wxWindow
*arg1
= (wxWindow
*) 0 ;
27251 wxRect
*arg4
= (wxRect
*) NULL
;
27252 PyObject
* obj0
= 0 ;
27253 PyObject
* obj1
= 0 ;
27254 PyObject
* obj2
= 0 ;
27255 PyObject
* obj3
= 0 ;
27256 char *kwnames
[] = {
27257 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27263 arg2
= (int) SWIG_AsInt(obj1
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27265 arg3
= (int) SWIG_AsInt(obj2
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27273 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27275 wxPyEndAllowThreads(__tstate
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27278 Py_INCREF(Py_None
); resultobj
= Py_None
;
27285 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27286 PyObject
*resultobj
;
27287 wxWindow
*arg1
= (wxWindow
*) 0 ;
27290 PyObject
* obj0
= 0 ;
27291 PyObject
* obj1
= 0 ;
27292 char *kwnames
[] = {
27293 (char *) "self",(char *) "lines", NULL
27296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27299 arg2
= (int) SWIG_AsInt(obj1
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27303 result
= (bool)(arg1
)->ScrollLines(arg2
);
27305 wxPyEndAllowThreads(__tstate
);
27306 if (PyErr_Occurred()) SWIG_fail
;
27309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27317 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27318 PyObject
*resultobj
;
27319 wxWindow
*arg1
= (wxWindow
*) 0 ;
27322 PyObject
* obj0
= 0 ;
27323 PyObject
* obj1
= 0 ;
27324 char *kwnames
[] = {
27325 (char *) "self",(char *) "pages", NULL
27328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27331 arg2
= (int) SWIG_AsInt(obj1
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 result
= (bool)(arg1
)->ScrollPages(arg2
);
27337 wxPyEndAllowThreads(__tstate
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27349 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27350 PyObject
*resultobj
;
27351 wxWindow
*arg1
= (wxWindow
*) 0 ;
27353 PyObject
* obj0
= 0 ;
27354 char *kwnames
[] = {
27355 (char *) "self", NULL
27358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27363 result
= (bool)(arg1
)->LineUp();
27365 wxPyEndAllowThreads(__tstate
);
27366 if (PyErr_Occurred()) SWIG_fail
;
27369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27377 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27378 PyObject
*resultobj
;
27379 wxWindow
*arg1
= (wxWindow
*) 0 ;
27381 PyObject
* obj0
= 0 ;
27382 char *kwnames
[] = {
27383 (char *) "self", NULL
27386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27391 result
= (bool)(arg1
)->LineDown();
27393 wxPyEndAllowThreads(__tstate
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27405 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27406 PyObject
*resultobj
;
27407 wxWindow
*arg1
= (wxWindow
*) 0 ;
27409 PyObject
* obj0
= 0 ;
27410 char *kwnames
[] = {
27411 (char *) "self", NULL
27414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27419 result
= (bool)(arg1
)->PageUp();
27421 wxPyEndAllowThreads(__tstate
);
27422 if (PyErr_Occurred()) SWIG_fail
;
27425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27433 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27434 PyObject
*resultobj
;
27435 wxWindow
*arg1
= (wxWindow
*) 0 ;
27437 PyObject
* obj0
= 0 ;
27438 char *kwnames
[] = {
27439 (char *) "self", NULL
27442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27447 result
= (bool)(arg1
)->PageDown();
27449 wxPyEndAllowThreads(__tstate
);
27450 if (PyErr_Occurred()) SWIG_fail
;
27453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27461 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27462 PyObject
*resultobj
;
27463 wxWindow
*arg1
= (wxWindow
*) 0 ;
27464 wxString
*arg2
= 0 ;
27465 bool temp2
= False
;
27466 PyObject
* obj0
= 0 ;
27467 PyObject
* obj1
= 0 ;
27468 char *kwnames
[] = {
27469 (char *) "self",(char *) "text", NULL
27472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27476 arg2
= wxString_in_helper(obj1
);
27477 if (arg2
== NULL
) SWIG_fail
;
27481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27482 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27484 wxPyEndAllowThreads(__tstate
);
27485 if (PyErr_Occurred()) SWIG_fail
;
27487 Py_INCREF(Py_None
); resultobj
= Py_None
;
27502 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27503 PyObject
*resultobj
;
27504 wxWindow
*arg1
= (wxWindow
*) 0 ;
27505 wxString
*arg2
= 0 ;
27506 bool temp2
= False
;
27507 PyObject
* obj0
= 0 ;
27508 PyObject
* obj1
= 0 ;
27509 char *kwnames
[] = {
27510 (char *) "self",(char *) "text", NULL
27513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27517 arg2
= wxString_in_helper(obj1
);
27518 if (arg2
== NULL
) SWIG_fail
;
27522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27523 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27525 wxPyEndAllowThreads(__tstate
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27528 Py_INCREF(Py_None
); resultobj
= Py_None
;
27543 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27544 PyObject
*resultobj
;
27545 wxWindow
*arg1
= (wxWindow
*) 0 ;
27547 PyObject
* obj0
= 0 ;
27548 char *kwnames
[] = {
27549 (char *) "self", NULL
27552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27557 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27559 wxPyEndAllowThreads(__tstate
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27575 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27576 PyObject
*resultobj
;
27577 wxWindow
*arg1
= (wxWindow
*) 0 ;
27578 wxString
*arg2
= 0 ;
27579 bool temp2
= False
;
27580 PyObject
* obj0
= 0 ;
27581 PyObject
* obj1
= 0 ;
27582 char *kwnames
[] = {
27583 (char *) "self",(char *) "tip", NULL
27586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27590 arg2
= wxString_in_helper(obj1
);
27591 if (arg2
== NULL
) SWIG_fail
;
27595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27596 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27598 wxPyEndAllowThreads(__tstate
);
27599 if (PyErr_Occurred()) SWIG_fail
;
27601 Py_INCREF(Py_None
); resultobj
= Py_None
;
27616 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27617 PyObject
*resultobj
;
27618 wxWindow
*arg1
= (wxWindow
*) 0 ;
27619 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27620 PyObject
* obj0
= 0 ;
27621 PyObject
* obj1
= 0 ;
27622 char *kwnames
[] = {
27623 (char *) "self",(char *) "tip", NULL
27626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 (arg1
)->SetToolTip(arg2
);
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27638 Py_INCREF(Py_None
); resultobj
= Py_None
;
27645 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27646 PyObject
*resultobj
;
27647 wxWindow
*arg1
= (wxWindow
*) 0 ;
27649 PyObject
* obj0
= 0 ;
27650 char *kwnames
[] = {
27651 (char *) "self", NULL
27654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27659 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27661 wxPyEndAllowThreads(__tstate
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27665 resultobj
= wxPyMake_wxObject(result
);
27673 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27674 PyObject
*resultobj
;
27675 wxWindow
*arg1
= (wxWindow
*) 0 ;
27676 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27677 PyObject
* obj0
= 0 ;
27678 PyObject
* obj1
= 0 ;
27679 char *kwnames
[] = {
27680 (char *) "self",(char *) "dropTarget", NULL
27683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27687 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27690 (arg1
)->SetDropTarget(arg2
);
27692 wxPyEndAllowThreads(__tstate
);
27693 if (PyErr_Occurred()) SWIG_fail
;
27695 Py_INCREF(Py_None
); resultobj
= Py_None
;
27702 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27703 PyObject
*resultobj
;
27704 wxWindow
*arg1
= (wxWindow
*) 0 ;
27705 wxPyDropTarget
*result
;
27706 PyObject
* obj0
= 0 ;
27707 char *kwnames
[] = {
27708 (char *) "self", NULL
27711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27716 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27718 wxPyEndAllowThreads(__tstate
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27728 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27729 PyObject
*resultobj
;
27730 wxWindow
*arg1
= (wxWindow
*) 0 ;
27731 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27732 PyObject
* obj0
= 0 ;
27733 PyObject
* obj1
= 0 ;
27734 char *kwnames
[] = {
27735 (char *) "self",(char *) "constraints", NULL
27738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27745 (arg1
)->SetConstraints(arg2
);
27747 wxPyEndAllowThreads(__tstate
);
27748 if (PyErr_Occurred()) SWIG_fail
;
27750 Py_INCREF(Py_None
); resultobj
= Py_None
;
27757 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27758 PyObject
*resultobj
;
27759 wxWindow
*arg1
= (wxWindow
*) 0 ;
27760 wxLayoutConstraints
*result
;
27761 PyObject
* obj0
= 0 ;
27762 char *kwnames
[] = {
27763 (char *) "self", NULL
27766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27771 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27773 wxPyEndAllowThreads(__tstate
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27783 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27784 PyObject
*resultobj
;
27785 wxWindow
*arg1
= (wxWindow
*) 0 ;
27787 PyObject
* obj0
= 0 ;
27788 PyObject
* obj1
= 0 ;
27789 char *kwnames
[] = {
27790 (char *) "self",(char *) "autoLayout", NULL
27793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27796 arg2
= (bool) SWIG_AsBool(obj1
);
27797 if (PyErr_Occurred()) SWIG_fail
;
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27800 (arg1
)->SetAutoLayout(arg2
);
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27805 Py_INCREF(Py_None
); resultobj
= Py_None
;
27812 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27813 PyObject
*resultobj
;
27814 wxWindow
*arg1
= (wxWindow
*) 0 ;
27816 PyObject
* obj0
= 0 ;
27817 char *kwnames
[] = {
27818 (char *) "self", NULL
27821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27828 wxPyEndAllowThreads(__tstate
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27840 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27841 PyObject
*resultobj
;
27842 wxWindow
*arg1
= (wxWindow
*) 0 ;
27844 PyObject
* obj0
= 0 ;
27845 char *kwnames
[] = {
27846 (char *) "self", NULL
27849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27854 result
= (bool)(arg1
)->Layout();
27856 wxPyEndAllowThreads(__tstate
);
27857 if (PyErr_Occurred()) SWIG_fail
;
27860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27868 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
;
27870 wxWindow
*arg1
= (wxWindow
*) 0 ;
27871 wxSizer
*arg2
= (wxSizer
*) 0 ;
27872 bool arg3
= (bool) True
;
27873 PyObject
* obj0
= 0 ;
27874 PyObject
* obj1
= 0 ;
27875 PyObject
* obj2
= 0 ;
27876 char *kwnames
[] = {
27877 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27886 arg3
= (bool) SWIG_AsBool(obj2
);
27887 if (PyErr_Occurred()) SWIG_fail
;
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 (arg1
)->SetSizer(arg2
,arg3
);
27893 wxPyEndAllowThreads(__tstate
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27896 Py_INCREF(Py_None
); resultobj
= Py_None
;
27903 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27904 PyObject
*resultobj
;
27905 wxWindow
*arg1
= (wxWindow
*) 0 ;
27906 wxSizer
*arg2
= (wxSizer
*) 0 ;
27907 bool arg3
= (bool) True
;
27908 PyObject
* obj0
= 0 ;
27909 PyObject
* obj1
= 0 ;
27910 PyObject
* obj2
= 0 ;
27911 char *kwnames
[] = {
27912 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27921 arg3
= (bool) SWIG_AsBool(obj2
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27926 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27928 wxPyEndAllowThreads(__tstate
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27931 Py_INCREF(Py_None
); resultobj
= Py_None
;
27938 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27939 PyObject
*resultobj
;
27940 wxWindow
*arg1
= (wxWindow
*) 0 ;
27942 PyObject
* obj0
= 0 ;
27943 char *kwnames
[] = {
27944 (char *) "self", NULL
27947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27952 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27954 wxPyEndAllowThreads(__tstate
);
27955 if (PyErr_Occurred()) SWIG_fail
;
27958 resultobj
= wxPyMake_wxSizer(result
);
27966 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27967 PyObject
*resultobj
;
27968 wxWindow
*arg1
= (wxWindow
*) 0 ;
27969 wxSizer
*arg2
= (wxSizer
*) 0 ;
27970 PyObject
* obj0
= 0 ;
27971 PyObject
* obj1
= 0 ;
27972 char *kwnames
[] = {
27973 (char *) "self",(char *) "sizer", NULL
27976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
27977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27983 (arg1
)->SetContainingSizer(arg2
);
27985 wxPyEndAllowThreads(__tstate
);
27986 if (PyErr_Occurred()) SWIG_fail
;
27988 Py_INCREF(Py_None
); resultobj
= Py_None
;
27995 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27996 PyObject
*resultobj
;
27997 wxWindow
*arg1
= (wxWindow
*) 0 ;
27999 PyObject
* obj0
= 0 ;
28000 char *kwnames
[] = {
28001 (char *) "self", NULL
28004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28009 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28011 wxPyEndAllowThreads(__tstate
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28015 resultobj
= wxPyMake_wxSizer(result
);
28023 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
28025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28026 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28028 return Py_BuildValue((char *)"");
28030 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28031 PyObject
*resultobj
;
28033 wxWindow
*arg2
= (wxWindow
*) NULL
;
28035 PyObject
* obj0
= 0 ;
28036 PyObject
* obj1
= 0 ;
28037 char *kwnames
[] = {
28038 (char *) "id",(char *) "parent", NULL
28041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28042 arg1
= (long) SWIG_AsLong(obj0
);
28043 if (PyErr_Occurred()) SWIG_fail
;
28045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28050 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28052 wxPyEndAllowThreads(__tstate
);
28053 if (PyErr_Occurred()) SWIG_fail
;
28056 resultobj
= wxPyMake_wxObject(result
);
28064 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28065 PyObject
*resultobj
;
28066 wxString
*arg1
= 0 ;
28067 wxWindow
*arg2
= (wxWindow
*) NULL
;
28069 bool temp1
= False
;
28070 PyObject
* obj0
= 0 ;
28071 PyObject
* obj1
= 0 ;
28072 char *kwnames
[] = {
28073 (char *) "name",(char *) "parent", NULL
28076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28078 arg1
= wxString_in_helper(obj0
);
28079 if (arg1
== NULL
) SWIG_fail
;
28083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28088 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28090 wxPyEndAllowThreads(__tstate
);
28091 if (PyErr_Occurred()) SWIG_fail
;
28094 resultobj
= wxPyMake_wxObject(result
);
28110 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28111 PyObject
*resultobj
;
28112 wxString
*arg1
= 0 ;
28113 wxWindow
*arg2
= (wxWindow
*) NULL
;
28115 bool temp1
= False
;
28116 PyObject
* obj0
= 0 ;
28117 PyObject
* obj1
= 0 ;
28118 char *kwnames
[] = {
28119 (char *) "label",(char *) "parent", NULL
28122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28124 arg1
= wxString_in_helper(obj0
);
28125 if (arg1
== NULL
) SWIG_fail
;
28129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28134 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28140 resultobj
= wxPyMake_wxObject(result
);
28156 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28157 PyObject
*resultobj
;
28158 wxWindow
*arg1
= (wxWindow
*) 0 ;
28159 unsigned long arg2
;
28161 PyObject
* obj0
= 0 ;
28162 PyObject
* obj1
= 0 ;
28163 char *kwnames
[] = {
28164 (char *) "parent",(char *) "_hWnd", NULL
28167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28170 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28171 if (PyErr_Occurred()) SWIG_fail
;
28173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28174 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28176 wxPyEndAllowThreads(__tstate
);
28177 if (PyErr_Occurred()) SWIG_fail
;
28180 resultobj
= wxPyMake_wxObject(result
);
28188 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28189 PyObject
*resultobj
;
28190 wxValidator
*result
;
28191 char *kwnames
[] = {
28195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28198 result
= (wxValidator
*)new wxValidator();
28200 wxPyEndAllowThreads(__tstate
);
28201 if (PyErr_Occurred()) SWIG_fail
;
28204 resultobj
= wxPyMake_wxObject(result
);
28212 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28213 PyObject
*resultobj
;
28214 wxValidator
*arg1
= (wxValidator
*) 0 ;
28215 wxValidator
*result
;
28216 PyObject
* obj0
= 0 ;
28217 char *kwnames
[] = {
28218 (char *) "self", NULL
28221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28226 result
= (wxValidator
*)(arg1
)->Clone();
28228 wxPyEndAllowThreads(__tstate
);
28229 if (PyErr_Occurred()) SWIG_fail
;
28232 resultobj
= wxPyMake_wxObject(result
);
28240 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28241 PyObject
*resultobj
;
28242 wxValidator
*arg1
= (wxValidator
*) 0 ;
28243 wxWindow
*arg2
= (wxWindow
*) 0 ;
28245 PyObject
* obj0
= 0 ;
28246 PyObject
* obj1
= 0 ;
28247 char *kwnames
[] = {
28248 (char *) "self",(char *) "parent", NULL
28251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28258 result
= (bool)(arg1
)->Validate(arg2
);
28260 wxPyEndAllowThreads(__tstate
);
28261 if (PyErr_Occurred()) SWIG_fail
;
28264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28272 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28273 PyObject
*resultobj
;
28274 wxValidator
*arg1
= (wxValidator
*) 0 ;
28276 PyObject
* obj0
= 0 ;
28277 char *kwnames
[] = {
28278 (char *) "self", NULL
28281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28286 result
= (bool)(arg1
)->TransferToWindow();
28288 wxPyEndAllowThreads(__tstate
);
28289 if (PyErr_Occurred()) SWIG_fail
;
28292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28300 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28301 PyObject
*resultobj
;
28302 wxValidator
*arg1
= (wxValidator
*) 0 ;
28304 PyObject
* obj0
= 0 ;
28305 char *kwnames
[] = {
28306 (char *) "self", NULL
28309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28314 result
= (bool)(arg1
)->TransferFromWindow();
28316 wxPyEndAllowThreads(__tstate
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28328 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28329 PyObject
*resultobj
;
28330 wxValidator
*arg1
= (wxValidator
*) 0 ;
28332 PyObject
* obj0
= 0 ;
28333 char *kwnames
[] = {
28334 (char *) "self", NULL
28337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28342 result
= (wxWindow
*)(arg1
)->GetWindow();
28344 wxPyEndAllowThreads(__tstate
);
28345 if (PyErr_Occurred()) SWIG_fail
;
28348 resultobj
= wxPyMake_wxObject(result
);
28356 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28357 PyObject
*resultobj
;
28358 wxValidator
*arg1
= (wxValidator
*) 0 ;
28359 wxWindow
*arg2
= (wxWindow
*) 0 ;
28360 PyObject
* obj0
= 0 ;
28361 PyObject
* obj1
= 0 ;
28362 char *kwnames
[] = {
28363 (char *) "self",(char *) "window", NULL
28366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28373 (arg1
)->SetWindow(arg2
);
28375 wxPyEndAllowThreads(__tstate
);
28376 if (PyErr_Occurred()) SWIG_fail
;
28378 Py_INCREF(Py_None
); resultobj
= Py_None
;
28385 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28386 PyObject
*resultobj
;
28388 char *kwnames
[] = {
28392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 result
= (bool)wxValidator::IsSilent();
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28409 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28410 PyObject
*resultobj
;
28411 int arg1
= (int) True
;
28412 PyObject
* obj0
= 0 ;
28413 char *kwnames
[] = {
28414 (char *) "doIt", NULL
28417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28419 arg1
= (int) SWIG_AsInt(obj0
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 wxValidator::SetBellOnError(arg1
);
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 Py_INCREF(Py_None
); resultobj
= Py_None
;
28436 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28439 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28441 return Py_BuildValue((char *)"");
28443 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28444 PyObject
*resultobj
;
28445 wxPyValidator
*result
;
28446 char *kwnames
[] = {
28450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28453 result
= (wxPyValidator
*)new wxPyValidator();
28455 wxPyEndAllowThreads(__tstate
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28465 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28466 PyObject
*resultobj
;
28467 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28468 PyObject
*arg2
= (PyObject
*) 0 ;
28469 PyObject
*arg3
= (PyObject
*) 0 ;
28470 int arg4
= (int) True
;
28471 PyObject
* obj0
= 0 ;
28472 PyObject
* obj1
= 0 ;
28473 PyObject
* obj2
= 0 ;
28474 PyObject
* obj3
= 0 ;
28475 char *kwnames
[] = {
28476 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28485 arg4
= (int) SWIG_AsInt(obj3
);
28486 if (PyErr_Occurred()) SWIG_fail
;
28489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28490 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28492 wxPyEndAllowThreads(__tstate
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28495 Py_INCREF(Py_None
); resultobj
= Py_None
;
28502 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28505 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28507 return Py_BuildValue((char *)"");
28509 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28510 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28515 static PyObject
*_wrap_DefaultValidator_get() {
28518 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28523 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28524 PyObject
*resultobj
;
28525 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28526 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28527 long arg2
= (long) 0 ;
28529 bool temp1
= False
;
28530 PyObject
* obj0
= 0 ;
28531 PyObject
* obj1
= 0 ;
28532 char *kwnames
[] = {
28533 (char *) "title",(char *) "style", NULL
28536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28539 arg1
= wxString_in_helper(obj0
);
28540 if (arg1
== NULL
) SWIG_fail
;
28545 arg2
= (long) SWIG_AsLong(obj1
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28550 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28552 wxPyEndAllowThreads(__tstate
);
28553 if (PyErr_Occurred()) SWIG_fail
;
28556 resultobj
= wxPyMake_wxObject(result
);
28572 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
;
28574 wxMenu
*arg1
= (wxMenu
*) 0 ;
28576 wxString
*arg3
= 0 ;
28577 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28578 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28579 int arg5
= (int) wxITEM_NORMAL
;
28580 wxMenuItem
*result
;
28581 bool temp3
= False
;
28582 bool temp4
= False
;
28583 PyObject
* obj0
= 0 ;
28584 PyObject
* obj1
= 0 ;
28585 PyObject
* obj2
= 0 ;
28586 PyObject
* obj3
= 0 ;
28587 PyObject
* obj4
= 0 ;
28588 char *kwnames
[] = {
28589 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28595 arg2
= (int) SWIG_AsInt(obj1
);
28596 if (PyErr_Occurred()) SWIG_fail
;
28598 arg3
= wxString_in_helper(obj2
);
28599 if (arg3
== NULL
) SWIG_fail
;
28604 arg4
= wxString_in_helper(obj3
);
28605 if (arg4
== NULL
) SWIG_fail
;
28610 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28615 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28617 wxPyEndAllowThreads(__tstate
);
28618 if (PyErr_Occurred()) SWIG_fail
;
28621 resultobj
= wxPyMake_wxObject(result
);
28645 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28646 PyObject
*resultobj
;
28647 wxMenu
*arg1
= (wxMenu
*) 0 ;
28648 wxMenuItem
*result
;
28649 PyObject
* obj0
= 0 ;
28650 char *kwnames
[] = {
28651 (char *) "self", NULL
28654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28665 resultobj
= wxPyMake_wxObject(result
);
28673 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28674 PyObject
*resultobj
;
28675 wxMenu
*arg1
= (wxMenu
*) 0 ;
28677 wxString
*arg3
= 0 ;
28678 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28679 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28680 wxMenuItem
*result
;
28681 bool temp3
= False
;
28682 bool temp4
= False
;
28683 PyObject
* obj0
= 0 ;
28684 PyObject
* obj1
= 0 ;
28685 PyObject
* obj2
= 0 ;
28686 PyObject
* obj3
= 0 ;
28687 char *kwnames
[] = {
28688 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28694 arg2
= (int) SWIG_AsInt(obj1
);
28695 if (PyErr_Occurred()) SWIG_fail
;
28697 arg3
= wxString_in_helper(obj2
);
28698 if (arg3
== NULL
) SWIG_fail
;
28703 arg4
= wxString_in_helper(obj3
);
28704 if (arg4
== NULL
) SWIG_fail
;
28709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28710 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28712 wxPyEndAllowThreads(__tstate
);
28713 if (PyErr_Occurred()) SWIG_fail
;
28716 resultobj
= wxPyMake_wxObject(result
);
28740 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
;
28742 wxMenu
*arg1
= (wxMenu
*) 0 ;
28744 wxString
*arg3
= 0 ;
28745 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28746 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28747 wxMenuItem
*result
;
28748 bool temp3
= False
;
28749 bool temp4
= False
;
28750 PyObject
* obj0
= 0 ;
28751 PyObject
* obj1
= 0 ;
28752 PyObject
* obj2
= 0 ;
28753 PyObject
* obj3
= 0 ;
28754 char *kwnames
[] = {
28755 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28761 arg2
= (int) SWIG_AsInt(obj1
);
28762 if (PyErr_Occurred()) SWIG_fail
;
28764 arg3
= wxString_in_helper(obj2
);
28765 if (arg3
== NULL
) SWIG_fail
;
28770 arg4
= wxString_in_helper(obj3
);
28771 if (arg4
== NULL
) SWIG_fail
;
28776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28777 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28779 wxPyEndAllowThreads(__tstate
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28783 resultobj
= wxPyMake_wxObject(result
);
28807 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
;
28809 wxMenu
*arg1
= (wxMenu
*) 0 ;
28811 wxString
*arg3
= 0 ;
28812 wxMenu
*arg4
= (wxMenu
*) 0 ;
28813 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28814 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28815 wxMenuItem
*result
;
28816 bool temp3
= False
;
28817 bool temp5
= False
;
28818 PyObject
* obj0
= 0 ;
28819 PyObject
* obj1
= 0 ;
28820 PyObject
* obj2
= 0 ;
28821 PyObject
* obj3
= 0 ;
28822 PyObject
* obj4
= 0 ;
28823 char *kwnames
[] = {
28824 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28830 arg2
= (int) SWIG_AsInt(obj1
);
28831 if (PyErr_Occurred()) SWIG_fail
;
28833 arg3
= wxString_in_helper(obj2
);
28834 if (arg3
== NULL
) SWIG_fail
;
28837 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28841 arg5
= wxString_in_helper(obj4
);
28842 if (arg5
== NULL
) SWIG_fail
;
28847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28848 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28850 wxPyEndAllowThreads(__tstate
);
28851 if (PyErr_Occurred()) SWIG_fail
;
28854 resultobj
= wxPyMake_wxObject(result
);
28878 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28879 PyObject
*resultobj
;
28880 wxMenu
*arg1
= (wxMenu
*) 0 ;
28881 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28882 wxMenuItem
*result
;
28883 PyObject
* obj0
= 0 ;
28884 PyObject
* obj1
= 0 ;
28885 char *kwnames
[] = {
28886 (char *) "self",(char *) "item", NULL
28889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28896 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28898 wxPyEndAllowThreads(__tstate
);
28899 if (PyErr_Occurred()) SWIG_fail
;
28902 resultobj
= wxPyMake_wxObject(result
);
28910 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
;
28912 wxMenu
*arg1
= (wxMenu
*) 0 ;
28913 PyObject
* obj0
= 0 ;
28914 char *kwnames
[] = {
28915 (char *) "self", NULL
28918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28925 wxPyEndAllowThreads(__tstate
);
28926 if (PyErr_Occurred()) SWIG_fail
;
28928 Py_INCREF(Py_None
); resultobj
= Py_None
;
28935 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28936 PyObject
*resultobj
;
28937 wxMenu
*arg1
= (wxMenu
*) 0 ;
28939 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28940 wxMenuItem
*result
;
28941 PyObject
* obj0
= 0 ;
28942 PyObject
* obj1
= 0 ;
28943 PyObject
* obj2
= 0 ;
28944 char *kwnames
[] = {
28945 (char *) "self",(char *) "pos",(char *) "item", NULL
28948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28951 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28953 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28957 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28959 wxPyEndAllowThreads(__tstate
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28963 resultobj
= wxPyMake_wxObject(result
);
28971 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28972 PyObject
*resultobj
;
28973 wxMenu
*arg1
= (wxMenu
*) 0 ;
28976 wxString
*arg4
= 0 ;
28977 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28978 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28979 int arg6
= (int) wxITEM_NORMAL
;
28980 wxMenuItem
*result
;
28981 bool temp4
= False
;
28982 bool temp5
= False
;
28983 PyObject
* obj0
= 0 ;
28984 PyObject
* obj1
= 0 ;
28985 PyObject
* obj2
= 0 ;
28986 PyObject
* obj3
= 0 ;
28987 PyObject
* obj4
= 0 ;
28988 PyObject
* obj5
= 0 ;
28989 char *kwnames
[] = {
28990 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28996 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28997 if (PyErr_Occurred()) SWIG_fail
;
28998 arg3
= (int) SWIG_AsInt(obj2
);
28999 if (PyErr_Occurred()) SWIG_fail
;
29001 arg4
= wxString_in_helper(obj3
);
29002 if (arg4
== NULL
) SWIG_fail
;
29007 arg5
= wxString_in_helper(obj4
);
29008 if (arg5
== NULL
) SWIG_fail
;
29013 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29018 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29020 wxPyEndAllowThreads(__tstate
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29024 resultobj
= wxPyMake_wxObject(result
);
29048 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29049 PyObject
*resultobj
;
29050 wxMenu
*arg1
= (wxMenu
*) 0 ;
29052 wxMenuItem
*result
;
29053 PyObject
* obj0
= 0 ;
29054 PyObject
* obj1
= 0 ;
29055 char *kwnames
[] = {
29056 (char *) "self",(char *) "pos", NULL
29059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29062 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29063 if (PyErr_Occurred()) SWIG_fail
;
29065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29066 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29068 wxPyEndAllowThreads(__tstate
);
29069 if (PyErr_Occurred()) SWIG_fail
;
29072 resultobj
= wxPyMake_wxObject(result
);
29080 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29081 PyObject
*resultobj
;
29082 wxMenu
*arg1
= (wxMenu
*) 0 ;
29085 wxString
*arg4
= 0 ;
29086 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29087 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29088 wxMenuItem
*result
;
29089 bool temp4
= False
;
29090 bool temp5
= False
;
29091 PyObject
* obj0
= 0 ;
29092 PyObject
* obj1
= 0 ;
29093 PyObject
* obj2
= 0 ;
29094 PyObject
* obj3
= 0 ;
29095 PyObject
* obj4
= 0 ;
29096 char *kwnames
[] = {
29097 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29103 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29104 if (PyErr_Occurred()) SWIG_fail
;
29105 arg3
= (int) SWIG_AsInt(obj2
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29108 arg4
= wxString_in_helper(obj3
);
29109 if (arg4
== NULL
) SWIG_fail
;
29114 arg5
= wxString_in_helper(obj4
);
29115 if (arg5
== NULL
) SWIG_fail
;
29120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29121 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29123 wxPyEndAllowThreads(__tstate
);
29124 if (PyErr_Occurred()) SWIG_fail
;
29127 resultobj
= wxPyMake_wxObject(result
);
29151 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29152 PyObject
*resultobj
;
29153 wxMenu
*arg1
= (wxMenu
*) 0 ;
29156 wxString
*arg4
= 0 ;
29157 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29158 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29159 wxMenuItem
*result
;
29160 bool temp4
= False
;
29161 bool temp5
= False
;
29162 PyObject
* obj0
= 0 ;
29163 PyObject
* obj1
= 0 ;
29164 PyObject
* obj2
= 0 ;
29165 PyObject
* obj3
= 0 ;
29166 PyObject
* obj4
= 0 ;
29167 char *kwnames
[] = {
29168 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29174 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29175 if (PyErr_Occurred()) SWIG_fail
;
29176 arg3
= (int) SWIG_AsInt(obj2
);
29177 if (PyErr_Occurred()) SWIG_fail
;
29179 arg4
= wxString_in_helper(obj3
);
29180 if (arg4
== NULL
) SWIG_fail
;
29185 arg5
= wxString_in_helper(obj4
);
29186 if (arg5
== NULL
) SWIG_fail
;
29191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29192 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29194 wxPyEndAllowThreads(__tstate
);
29195 if (PyErr_Occurred()) SWIG_fail
;
29198 resultobj
= wxPyMake_wxObject(result
);
29222 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29223 PyObject
*resultobj
;
29224 wxMenu
*arg1
= (wxMenu
*) 0 ;
29227 wxString
*arg4
= 0 ;
29228 wxMenu
*arg5
= (wxMenu
*) 0 ;
29229 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29230 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29231 wxMenuItem
*result
;
29232 bool temp4
= False
;
29233 bool temp6
= False
;
29234 PyObject
* obj0
= 0 ;
29235 PyObject
* obj1
= 0 ;
29236 PyObject
* obj2
= 0 ;
29237 PyObject
* obj3
= 0 ;
29238 PyObject
* obj4
= 0 ;
29239 PyObject
* obj5
= 0 ;
29240 char *kwnames
[] = {
29241 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29247 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29248 if (PyErr_Occurred()) SWIG_fail
;
29249 arg3
= (int) SWIG_AsInt(obj2
);
29250 if (PyErr_Occurred()) SWIG_fail
;
29252 arg4
= wxString_in_helper(obj3
);
29253 if (arg4
== NULL
) SWIG_fail
;
29256 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29260 arg6
= wxString_in_helper(obj5
);
29261 if (arg6
== NULL
) SWIG_fail
;
29266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29267 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29269 wxPyEndAllowThreads(__tstate
);
29270 if (PyErr_Occurred()) SWIG_fail
;
29273 resultobj
= wxPyMake_wxObject(result
);
29297 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29298 PyObject
*resultobj
;
29299 wxMenu
*arg1
= (wxMenu
*) 0 ;
29300 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29301 wxMenuItem
*result
;
29302 PyObject
* obj0
= 0 ;
29303 PyObject
* obj1
= 0 ;
29304 char *kwnames
[] = {
29305 (char *) "self",(char *) "item", NULL
29308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29315 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29317 wxPyEndAllowThreads(__tstate
);
29318 if (PyErr_Occurred()) SWIG_fail
;
29321 resultobj
= wxPyMake_wxObject(result
);
29329 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29330 PyObject
*resultobj
;
29331 wxMenu
*arg1
= (wxMenu
*) 0 ;
29333 wxString
*arg3
= 0 ;
29334 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29335 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29336 int arg5
= (int) wxITEM_NORMAL
;
29337 wxMenuItem
*result
;
29338 bool temp3
= False
;
29339 bool temp4
= False
;
29340 PyObject
* obj0
= 0 ;
29341 PyObject
* obj1
= 0 ;
29342 PyObject
* obj2
= 0 ;
29343 PyObject
* obj3
= 0 ;
29344 PyObject
* obj4
= 0 ;
29345 char *kwnames
[] = {
29346 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29352 arg2
= (int) SWIG_AsInt(obj1
);
29353 if (PyErr_Occurred()) SWIG_fail
;
29355 arg3
= wxString_in_helper(obj2
);
29356 if (arg3
== NULL
) SWIG_fail
;
29361 arg4
= wxString_in_helper(obj3
);
29362 if (arg4
== NULL
) SWIG_fail
;
29367 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29372 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29374 wxPyEndAllowThreads(__tstate
);
29375 if (PyErr_Occurred()) SWIG_fail
;
29378 resultobj
= wxPyMake_wxObject(result
);
29402 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29403 PyObject
*resultobj
;
29404 wxMenu
*arg1
= (wxMenu
*) 0 ;
29405 wxMenuItem
*result
;
29406 PyObject
* obj0
= 0 ;
29407 char *kwnames
[] = {
29408 (char *) "self", NULL
29411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29416 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29418 wxPyEndAllowThreads(__tstate
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29422 resultobj
= wxPyMake_wxObject(result
);
29430 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
;
29432 wxMenu
*arg1
= (wxMenu
*) 0 ;
29434 wxString
*arg3
= 0 ;
29435 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29436 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29437 wxMenuItem
*result
;
29438 bool temp3
= False
;
29439 bool temp4
= False
;
29440 PyObject
* obj0
= 0 ;
29441 PyObject
* obj1
= 0 ;
29442 PyObject
* obj2
= 0 ;
29443 PyObject
* obj3
= 0 ;
29444 char *kwnames
[] = {
29445 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29451 arg2
= (int) SWIG_AsInt(obj1
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29454 arg3
= wxString_in_helper(obj2
);
29455 if (arg3
== NULL
) SWIG_fail
;
29460 arg4
= wxString_in_helper(obj3
);
29461 if (arg4
== NULL
) SWIG_fail
;
29466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29467 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29469 wxPyEndAllowThreads(__tstate
);
29470 if (PyErr_Occurred()) SWIG_fail
;
29473 resultobj
= wxPyMake_wxObject(result
);
29497 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29498 PyObject
*resultobj
;
29499 wxMenu
*arg1
= (wxMenu
*) 0 ;
29501 wxString
*arg3
= 0 ;
29502 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29503 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29504 wxMenuItem
*result
;
29505 bool temp3
= False
;
29506 bool temp4
= False
;
29507 PyObject
* obj0
= 0 ;
29508 PyObject
* obj1
= 0 ;
29509 PyObject
* obj2
= 0 ;
29510 PyObject
* obj3
= 0 ;
29511 char *kwnames
[] = {
29512 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29518 arg2
= (int) SWIG_AsInt(obj1
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29521 arg3
= wxString_in_helper(obj2
);
29522 if (arg3
== NULL
) SWIG_fail
;
29527 arg4
= wxString_in_helper(obj3
);
29528 if (arg4
== NULL
) SWIG_fail
;
29533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29534 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29536 wxPyEndAllowThreads(__tstate
);
29537 if (PyErr_Occurred()) SWIG_fail
;
29540 resultobj
= wxPyMake_wxObject(result
);
29564 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29565 PyObject
*resultobj
;
29566 wxMenu
*arg1
= (wxMenu
*) 0 ;
29568 wxString
*arg3
= 0 ;
29569 wxMenu
*arg4
= (wxMenu
*) 0 ;
29570 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29571 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29572 wxMenuItem
*result
;
29573 bool temp3
= False
;
29574 bool temp5
= False
;
29575 PyObject
* obj0
= 0 ;
29576 PyObject
* obj1
= 0 ;
29577 PyObject
* obj2
= 0 ;
29578 PyObject
* obj3
= 0 ;
29579 PyObject
* obj4
= 0 ;
29580 char *kwnames
[] = {
29581 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29587 arg2
= (int) SWIG_AsInt(obj1
);
29588 if (PyErr_Occurred()) SWIG_fail
;
29590 arg3
= wxString_in_helper(obj2
);
29591 if (arg3
== NULL
) SWIG_fail
;
29594 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29598 arg5
= wxString_in_helper(obj4
);
29599 if (arg5
== NULL
) SWIG_fail
;
29604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29605 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29607 wxPyEndAllowThreads(__tstate
);
29608 if (PyErr_Occurred()) SWIG_fail
;
29611 resultobj
= wxPyMake_wxObject(result
);
29635 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29636 PyObject
*resultobj
;
29637 wxMenu
*arg1
= (wxMenu
*) 0 ;
29639 wxMenuItem
*result
;
29640 PyObject
* obj0
= 0 ;
29641 PyObject
* obj1
= 0 ;
29642 char *kwnames
[] = {
29643 (char *) "self",(char *) "id", NULL
29646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29649 arg2
= (int) SWIG_AsInt(obj1
);
29650 if (PyErr_Occurred()) SWIG_fail
;
29652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29653 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29655 wxPyEndAllowThreads(__tstate
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29659 resultobj
= wxPyMake_wxObject(result
);
29667 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29668 PyObject
*resultobj
;
29669 wxMenu
*arg1
= (wxMenu
*) 0 ;
29670 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29671 wxMenuItem
*result
;
29672 PyObject
* obj0
= 0 ;
29673 PyObject
* obj1
= 0 ;
29674 char *kwnames
[] = {
29675 (char *) "self",(char *) "item", NULL
29678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29685 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29687 wxPyEndAllowThreads(__tstate
);
29688 if (PyErr_Occurred()) SWIG_fail
;
29691 resultobj
= wxPyMake_wxObject(result
);
29699 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29700 PyObject
*resultobj
;
29701 wxMenu
*arg1
= (wxMenu
*) 0 ;
29704 PyObject
* obj0
= 0 ;
29705 PyObject
* obj1
= 0 ;
29706 char *kwnames
[] = {
29707 (char *) "self",(char *) "id", NULL
29710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29713 arg2
= (int) SWIG_AsInt(obj1
);
29714 if (PyErr_Occurred()) SWIG_fail
;
29716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29717 result
= (bool)(arg1
)->Delete(arg2
);
29719 wxPyEndAllowThreads(__tstate
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29731 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29732 PyObject
*resultobj
;
29733 wxMenu
*arg1
= (wxMenu
*) 0 ;
29734 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29736 PyObject
* obj0
= 0 ;
29737 PyObject
* obj1
= 0 ;
29738 char *kwnames
[] = {
29739 (char *) "self",(char *) "item", NULL
29742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29749 result
= (bool)(arg1
)->Delete(arg2
);
29751 wxPyEndAllowThreads(__tstate
);
29752 if (PyErr_Occurred()) SWIG_fail
;
29755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29763 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29764 PyObject
*resultobj
;
29765 wxMenu
*arg1
= (wxMenu
*) 0 ;
29766 PyObject
* obj0
= 0 ;
29767 char *kwnames
[] = {
29768 (char *) "self", NULL
29771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29776 wxMenu_Destroy(arg1
);
29778 wxPyEndAllowThreads(__tstate
);
29779 if (PyErr_Occurred()) SWIG_fail
;
29781 Py_INCREF(Py_None
); resultobj
= Py_None
;
29788 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29789 PyObject
*resultobj
;
29790 wxMenu
*arg1
= (wxMenu
*) 0 ;
29793 PyObject
* obj0
= 0 ;
29794 PyObject
* obj1
= 0 ;
29795 char *kwnames
[] = {
29796 (char *) "self",(char *) "id", NULL
29799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29802 arg2
= (int) SWIG_AsInt(obj1
);
29803 if (PyErr_Occurred()) SWIG_fail
;
29805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29806 result
= (bool)(arg1
)->Destroy(arg2
);
29808 wxPyEndAllowThreads(__tstate
);
29809 if (PyErr_Occurred()) SWIG_fail
;
29812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29820 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29821 PyObject
*resultobj
;
29822 wxMenu
*arg1
= (wxMenu
*) 0 ;
29823 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29825 PyObject
* obj0
= 0 ;
29826 PyObject
* obj1
= 0 ;
29827 char *kwnames
[] = {
29828 (char *) "self",(char *) "item", NULL
29831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29838 result
= (bool)(arg1
)->Destroy(arg2
);
29840 wxPyEndAllowThreads(__tstate
);
29841 if (PyErr_Occurred()) SWIG_fail
;
29844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29852 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29853 PyObject
*resultobj
;
29854 wxMenu
*arg1
= (wxMenu
*) 0 ;
29856 PyObject
* obj0
= 0 ;
29857 char *kwnames
[] = {
29858 (char *) "self", NULL
29861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29866 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29868 wxPyEndAllowThreads(__tstate
);
29869 if (PyErr_Occurred()) SWIG_fail
;
29871 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29878 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29879 PyObject
*resultobj
;
29880 wxMenu
*arg1
= (wxMenu
*) 0 ;
29882 PyObject
* obj0
= 0 ;
29883 char *kwnames
[] = {
29884 (char *) "self", NULL
29887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29892 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29894 wxPyEndAllowThreads(__tstate
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29897 resultobj
= result
;
29904 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29905 PyObject
*resultobj
;
29906 wxMenu
*arg1
= (wxMenu
*) 0 ;
29907 wxString
*arg2
= 0 ;
29909 bool temp2
= False
;
29910 PyObject
* obj0
= 0 ;
29911 PyObject
* obj1
= 0 ;
29912 char *kwnames
[] = {
29913 (char *) "self",(char *) "item", NULL
29916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29920 arg2
= wxString_in_helper(obj1
);
29921 if (arg2
== NULL
) SWIG_fail
;
29925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29926 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29928 wxPyEndAllowThreads(__tstate
);
29929 if (PyErr_Occurred()) SWIG_fail
;
29931 resultobj
= SWIG_FromInt((int)result
);
29946 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29947 PyObject
*resultobj
;
29948 wxMenu
*arg1
= (wxMenu
*) 0 ;
29950 wxMenuItem
*result
;
29951 PyObject
* obj0
= 0 ;
29952 PyObject
* obj1
= 0 ;
29953 char *kwnames
[] = {
29954 (char *) "self",(char *) "id", NULL
29957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29960 arg2
= (int) SWIG_AsInt(obj1
);
29961 if (PyErr_Occurred()) SWIG_fail
;
29963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29964 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29966 wxPyEndAllowThreads(__tstate
);
29967 if (PyErr_Occurred()) SWIG_fail
;
29970 resultobj
= wxPyMake_wxObject(result
);
29978 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29979 PyObject
*resultobj
;
29980 wxMenu
*arg1
= (wxMenu
*) 0 ;
29982 wxMenuItem
*result
;
29983 PyObject
* obj0
= 0 ;
29984 PyObject
* obj1
= 0 ;
29985 char *kwnames
[] = {
29986 (char *) "self",(char *) "position", NULL
29989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",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
= (size_t) SWIG_AsUnsignedLong(obj1
);
29993 if (PyErr_Occurred()) SWIG_fail
;
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30002 resultobj
= wxPyMake_wxObject(result
);
30010 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30011 PyObject
*resultobj
;
30012 wxMenu
*arg1
= (wxMenu
*) 0 ;
30015 PyObject
* obj0
= 0 ;
30016 PyObject
* obj1
= 0 ;
30017 PyObject
* obj2
= 0 ;
30018 char *kwnames
[] = {
30019 (char *) "self",(char *) "id",(char *) "enable", NULL
30022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30025 arg2
= (int) SWIG_AsInt(obj1
);
30026 if (PyErr_Occurred()) SWIG_fail
;
30027 arg3
= (bool) SWIG_AsBool(obj2
);
30028 if (PyErr_Occurred()) SWIG_fail
;
30030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30031 (arg1
)->Enable(arg2
,arg3
);
30033 wxPyEndAllowThreads(__tstate
);
30034 if (PyErr_Occurred()) SWIG_fail
;
30036 Py_INCREF(Py_None
); resultobj
= Py_None
;
30043 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30044 PyObject
*resultobj
;
30045 wxMenu
*arg1
= (wxMenu
*) 0 ;
30048 PyObject
* obj0
= 0 ;
30049 PyObject
* obj1
= 0 ;
30050 char *kwnames
[] = {
30051 (char *) "self",(char *) "id", NULL
30054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30057 arg2
= (int) SWIG_AsInt(obj1
);
30058 if (PyErr_Occurred()) SWIG_fail
;
30060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30061 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30063 wxPyEndAllowThreads(__tstate
);
30064 if (PyErr_Occurred()) SWIG_fail
;
30067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30075 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30076 PyObject
*resultobj
;
30077 wxMenu
*arg1
= (wxMenu
*) 0 ;
30080 PyObject
* obj0
= 0 ;
30081 PyObject
* obj1
= 0 ;
30082 PyObject
* obj2
= 0 ;
30083 char *kwnames
[] = {
30084 (char *) "self",(char *) "id",(char *) "check", NULL
30087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30090 arg2
= (int) SWIG_AsInt(obj1
);
30091 if (PyErr_Occurred()) SWIG_fail
;
30092 arg3
= (bool) SWIG_AsBool(obj2
);
30093 if (PyErr_Occurred()) SWIG_fail
;
30095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30096 (arg1
)->Check(arg2
,arg3
);
30098 wxPyEndAllowThreads(__tstate
);
30099 if (PyErr_Occurred()) SWIG_fail
;
30101 Py_INCREF(Py_None
); resultobj
= Py_None
;
30108 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30109 PyObject
*resultobj
;
30110 wxMenu
*arg1
= (wxMenu
*) 0 ;
30113 PyObject
* obj0
= 0 ;
30114 PyObject
* obj1
= 0 ;
30115 char *kwnames
[] = {
30116 (char *) "self",(char *) "id", NULL
30119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30122 arg2
= (int) SWIG_AsInt(obj1
);
30123 if (PyErr_Occurred()) SWIG_fail
;
30125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30126 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30128 wxPyEndAllowThreads(__tstate
);
30129 if (PyErr_Occurred()) SWIG_fail
;
30132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30140 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30141 PyObject
*resultobj
;
30142 wxMenu
*arg1
= (wxMenu
*) 0 ;
30144 wxString
*arg3
= 0 ;
30145 bool temp3
= False
;
30146 PyObject
* obj0
= 0 ;
30147 PyObject
* obj1
= 0 ;
30148 PyObject
* obj2
= 0 ;
30149 char *kwnames
[] = {
30150 (char *) "self",(char *) "id",(char *) "label", NULL
30153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30156 arg2
= (int) SWIG_AsInt(obj1
);
30157 if (PyErr_Occurred()) SWIG_fail
;
30159 arg3
= wxString_in_helper(obj2
);
30160 if (arg3
== NULL
) SWIG_fail
;
30164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30165 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30167 wxPyEndAllowThreads(__tstate
);
30168 if (PyErr_Occurred()) SWIG_fail
;
30170 Py_INCREF(Py_None
); resultobj
= Py_None
;
30185 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30186 PyObject
*resultobj
;
30187 wxMenu
*arg1
= (wxMenu
*) 0 ;
30190 PyObject
* obj0
= 0 ;
30191 PyObject
* obj1
= 0 ;
30192 char *kwnames
[] = {
30193 (char *) "self",(char *) "id", NULL
30196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30199 arg2
= (int) SWIG_AsInt(obj1
);
30200 if (PyErr_Occurred()) SWIG_fail
;
30202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30203 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30205 wxPyEndAllowThreads(__tstate
);
30206 if (PyErr_Occurred()) SWIG_fail
;
30210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30221 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30222 PyObject
*resultobj
;
30223 wxMenu
*arg1
= (wxMenu
*) 0 ;
30225 wxString
*arg3
= 0 ;
30226 bool temp3
= False
;
30227 PyObject
* obj0
= 0 ;
30228 PyObject
* obj1
= 0 ;
30229 PyObject
* obj2
= 0 ;
30230 char *kwnames
[] = {
30231 (char *) "self",(char *) "id",(char *) "helpString", NULL
30234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30237 arg2
= (int) SWIG_AsInt(obj1
);
30238 if (PyErr_Occurred()) SWIG_fail
;
30240 arg3
= wxString_in_helper(obj2
);
30241 if (arg3
== NULL
) SWIG_fail
;
30245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30246 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30248 wxPyEndAllowThreads(__tstate
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30251 Py_INCREF(Py_None
); resultobj
= Py_None
;
30266 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30267 PyObject
*resultobj
;
30268 wxMenu
*arg1
= (wxMenu
*) 0 ;
30271 PyObject
* obj0
= 0 ;
30272 PyObject
* obj1
= 0 ;
30273 char *kwnames
[] = {
30274 (char *) "self",(char *) "id", NULL
30277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) 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
;
30283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30284 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30286 wxPyEndAllowThreads(__tstate
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30302 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30303 PyObject
*resultobj
;
30304 wxMenu
*arg1
= (wxMenu
*) 0 ;
30305 wxString
*arg2
= 0 ;
30306 bool temp2
= False
;
30307 PyObject
* obj0
= 0 ;
30308 PyObject
* obj1
= 0 ;
30309 char *kwnames
[] = {
30310 (char *) "self",(char *) "title", NULL
30313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30317 arg2
= wxString_in_helper(obj1
);
30318 if (arg2
== NULL
) SWIG_fail
;
30322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30323 (arg1
)->SetTitle((wxString
const &)*arg2
);
30325 wxPyEndAllowThreads(__tstate
);
30326 if (PyErr_Occurred()) SWIG_fail
;
30328 Py_INCREF(Py_None
); resultobj
= Py_None
;
30343 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30344 PyObject
*resultobj
;
30345 wxMenu
*arg1
= (wxMenu
*) 0 ;
30347 PyObject
* obj0
= 0 ;
30348 char *kwnames
[] = {
30349 (char *) "self", NULL
30352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 result
= ((wxMenu
const *)arg1
)->GetTitle();
30359 wxPyEndAllowThreads(__tstate
);
30360 if (PyErr_Occurred()) SWIG_fail
;
30364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30375 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30376 PyObject
*resultobj
;
30377 wxMenu
*arg1
= (wxMenu
*) 0 ;
30378 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30379 PyObject
* obj0
= 0 ;
30380 PyObject
* obj1
= 0 ;
30381 char *kwnames
[] = {
30382 (char *) "self",(char *) "handler", NULL
30385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30392 (arg1
)->SetEventHandler(arg2
);
30394 wxPyEndAllowThreads(__tstate
);
30395 if (PyErr_Occurred()) SWIG_fail
;
30397 Py_INCREF(Py_None
); resultobj
= Py_None
;
30404 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30405 PyObject
*resultobj
;
30406 wxMenu
*arg1
= (wxMenu
*) 0 ;
30407 wxEvtHandler
*result
;
30408 PyObject
* obj0
= 0 ;
30409 char *kwnames
[] = {
30410 (char *) "self", NULL
30413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30418 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30420 wxPyEndAllowThreads(__tstate
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30424 resultobj
= wxPyMake_wxObject(result
);
30432 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30433 PyObject
*resultobj
;
30434 wxMenu
*arg1
= (wxMenu
*) 0 ;
30435 wxWindow
*arg2
= (wxWindow
*) 0 ;
30436 PyObject
* obj0
= 0 ;
30437 PyObject
* obj1
= 0 ;
30438 char *kwnames
[] = {
30439 (char *) "self",(char *) "win", NULL
30442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30449 (arg1
)->SetInvokingWindow(arg2
);
30451 wxPyEndAllowThreads(__tstate
);
30452 if (PyErr_Occurred()) SWIG_fail
;
30454 Py_INCREF(Py_None
); resultobj
= Py_None
;
30461 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30462 PyObject
*resultobj
;
30463 wxMenu
*arg1
= (wxMenu
*) 0 ;
30465 PyObject
* obj0
= 0 ;
30466 char *kwnames
[] = {
30467 (char *) "self", NULL
30470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30475 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30477 wxPyEndAllowThreads(__tstate
);
30478 if (PyErr_Occurred()) SWIG_fail
;
30481 resultobj
= wxPyMake_wxObject(result
);
30489 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30490 PyObject
*resultobj
;
30491 wxMenu
*arg1
= (wxMenu
*) 0 ;
30493 PyObject
* obj0
= 0 ;
30494 char *kwnames
[] = {
30495 (char *) "self", NULL
30498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30503 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 resultobj
= SWIG_FromLong((long)result
);
30515 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
;
30517 wxMenu
*arg1
= (wxMenu
*) 0 ;
30518 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30519 PyObject
* obj0
= 0 ;
30520 PyObject
* obj1
= 0 ;
30521 char *kwnames
[] = {
30522 (char *) "self",(char *) "source", NULL
30525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30534 (arg1
)->UpdateUI(arg2
);
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30539 Py_INCREF(Py_None
); resultobj
= Py_None
;
30546 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30547 PyObject
*resultobj
;
30548 wxMenu
*arg1
= (wxMenu
*) 0 ;
30550 PyObject
* obj0
= 0 ;
30551 char *kwnames
[] = {
30552 (char *) "self", NULL
30555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30560 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30562 wxPyEndAllowThreads(__tstate
);
30563 if (PyErr_Occurred()) SWIG_fail
;
30566 resultobj
= wxPyMake_wxObject(result
);
30574 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30575 PyObject
*resultobj
;
30576 wxMenu
*arg1
= (wxMenu
*) 0 ;
30577 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30578 PyObject
* obj0
= 0 ;
30579 PyObject
* obj1
= 0 ;
30580 char *kwnames
[] = {
30581 (char *) "self",(char *) "menubar", NULL
30584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30591 (arg1
)->Attach(arg2
);
30593 wxPyEndAllowThreads(__tstate
);
30594 if (PyErr_Occurred()) SWIG_fail
;
30596 Py_INCREF(Py_None
); resultobj
= Py_None
;
30603 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30604 PyObject
*resultobj
;
30605 wxMenu
*arg1
= (wxMenu
*) 0 ;
30606 PyObject
* obj0
= 0 ;
30607 char *kwnames
[] = {
30608 (char *) "self", NULL
30611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30618 wxPyEndAllowThreads(__tstate
);
30619 if (PyErr_Occurred()) SWIG_fail
;
30621 Py_INCREF(Py_None
); resultobj
= Py_None
;
30628 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30629 PyObject
*resultobj
;
30630 wxMenu
*arg1
= (wxMenu
*) 0 ;
30632 PyObject
* obj0
= 0 ;
30633 char *kwnames
[] = {
30634 (char *) "self", NULL
30637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30642 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30644 wxPyEndAllowThreads(__tstate
);
30645 if (PyErr_Occurred()) SWIG_fail
;
30648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30656 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30657 PyObject
*resultobj
;
30658 wxMenu
*arg1
= (wxMenu
*) 0 ;
30659 wxMenu
*arg2
= (wxMenu
*) 0 ;
30660 PyObject
* obj0
= 0 ;
30661 PyObject
* obj1
= 0 ;
30662 char *kwnames
[] = {
30663 (char *) "self",(char *) "parent", NULL
30666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 (arg1
)->SetParent(arg2
);
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30678 Py_INCREF(Py_None
); resultobj
= Py_None
;
30685 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
;
30687 wxMenu
*arg1
= (wxMenu
*) 0 ;
30689 PyObject
* obj0
= 0 ;
30690 char *kwnames
[] = {
30691 (char *) "self", NULL
30694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30699 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30701 wxPyEndAllowThreads(__tstate
);
30702 if (PyErr_Occurred()) SWIG_fail
;
30705 resultobj
= wxPyMake_wxObject(result
);
30713 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30716 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30718 return Py_BuildValue((char *)"");
30720 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30721 PyObject
*resultobj
;
30722 long arg1
= (long) 0 ;
30724 PyObject
* obj0
= 0 ;
30725 char *kwnames
[] = {
30726 (char *) "style", NULL
30729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30731 arg1
= (long) SWIG_AsLong(obj0
);
30732 if (PyErr_Occurred()) SWIG_fail
;
30735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30736 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30738 wxPyEndAllowThreads(__tstate
);
30739 if (PyErr_Occurred()) SWIG_fail
;
30742 resultobj
= wxPyMake_wxObject(result
);
30750 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30751 PyObject
*resultobj
;
30752 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30753 wxMenu
*arg2
= (wxMenu
*) 0 ;
30754 wxString
*arg3
= 0 ;
30756 bool temp3
= False
;
30757 PyObject
* obj0
= 0 ;
30758 PyObject
* obj1
= 0 ;
30759 PyObject
* obj2
= 0 ;
30760 char *kwnames
[] = {
30761 (char *) "self",(char *) "menu",(char *) "title", NULL
30764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30770 arg3
= wxString_in_helper(obj2
);
30771 if (arg3
== NULL
) SWIG_fail
;
30775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30776 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30778 wxPyEndAllowThreads(__tstate
);
30779 if (PyErr_Occurred()) SWIG_fail
;
30782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30798 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30799 PyObject
*resultobj
;
30800 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30802 wxMenu
*arg3
= (wxMenu
*) 0 ;
30803 wxString
*arg4
= 0 ;
30805 bool temp4
= False
;
30806 PyObject
* obj0
= 0 ;
30807 PyObject
* obj1
= 0 ;
30808 PyObject
* obj2
= 0 ;
30809 PyObject
* obj3
= 0 ;
30810 char *kwnames
[] = {
30811 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30817 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30819 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30822 arg4
= wxString_in_helper(obj3
);
30823 if (arg4
== NULL
) SWIG_fail
;
30827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30828 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30830 wxPyEndAllowThreads(__tstate
);
30831 if (PyErr_Occurred()) SWIG_fail
;
30834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30850 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30851 PyObject
*resultobj
;
30852 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30854 PyObject
* obj0
= 0 ;
30855 char *kwnames
[] = {
30856 (char *) "self", NULL
30859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30864 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30866 wxPyEndAllowThreads(__tstate
);
30867 if (PyErr_Occurred()) SWIG_fail
;
30869 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30876 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30877 PyObject
*resultobj
;
30878 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30881 PyObject
* obj0
= 0 ;
30882 PyObject
* obj1
= 0 ;
30883 char *kwnames
[] = {
30884 (char *) "self",(char *) "pos", NULL
30887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30890 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30894 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30896 wxPyEndAllowThreads(__tstate
);
30897 if (PyErr_Occurred()) SWIG_fail
;
30900 resultobj
= wxPyMake_wxObject(result
);
30908 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30909 PyObject
*resultobj
;
30910 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30912 wxMenu
*arg3
= (wxMenu
*) 0 ;
30913 wxString
*arg4
= 0 ;
30915 bool temp4
= False
;
30916 PyObject
* obj0
= 0 ;
30917 PyObject
* obj1
= 0 ;
30918 PyObject
* obj2
= 0 ;
30919 PyObject
* obj3
= 0 ;
30920 char *kwnames
[] = {
30921 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30927 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30928 if (PyErr_Occurred()) SWIG_fail
;
30929 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30932 arg4
= wxString_in_helper(obj3
);
30933 if (arg4
== NULL
) SWIG_fail
;
30937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30938 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30940 wxPyEndAllowThreads(__tstate
);
30941 if (PyErr_Occurred()) SWIG_fail
;
30944 resultobj
= wxPyMake_wxObject(result
);
30960 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30961 PyObject
*resultobj
;
30962 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30965 PyObject
* obj0
= 0 ;
30966 PyObject
* obj1
= 0 ;
30967 char *kwnames
[] = {
30968 (char *) "self",(char *) "pos", NULL
30971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30974 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30975 if (PyErr_Occurred()) SWIG_fail
;
30977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30978 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30980 wxPyEndAllowThreads(__tstate
);
30981 if (PyErr_Occurred()) SWIG_fail
;
30984 resultobj
= wxPyMake_wxObject(result
);
30992 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30993 PyObject
*resultobj
;
30994 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30997 PyObject
* obj0
= 0 ;
30998 PyObject
* obj1
= 0 ;
30999 PyObject
* obj2
= 0 ;
31000 char *kwnames
[] = {
31001 (char *) "self",(char *) "pos",(char *) "enable", NULL
31004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31007 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31009 arg3
= (bool) SWIG_AsBool(obj2
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31013 (arg1
)->EnableTop(arg2
,arg3
);
31015 wxPyEndAllowThreads(__tstate
);
31016 if (PyErr_Occurred()) SWIG_fail
;
31018 Py_INCREF(Py_None
); resultobj
= Py_None
;
31025 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31026 PyObject
*resultobj
;
31027 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31030 PyObject
* obj0
= 0 ;
31031 PyObject
* obj1
= 0 ;
31032 char *kwnames
[] = {
31033 (char *) "self",(char *) "pos", NULL
31036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31039 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31040 if (PyErr_Occurred()) SWIG_fail
;
31042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31043 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31045 wxPyEndAllowThreads(__tstate
);
31046 if (PyErr_Occurred()) SWIG_fail
;
31049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31057 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31058 PyObject
*resultobj
;
31059 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31061 wxString
*arg3
= 0 ;
31062 bool temp3
= False
;
31063 PyObject
* obj0
= 0 ;
31064 PyObject
* obj1
= 0 ;
31065 PyObject
* obj2
= 0 ;
31066 char *kwnames
[] = {
31067 (char *) "self",(char *) "pos",(char *) "label", NULL
31070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31073 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31074 if (PyErr_Occurred()) SWIG_fail
;
31076 arg3
= wxString_in_helper(obj2
);
31077 if (arg3
== NULL
) SWIG_fail
;
31081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31082 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31084 wxPyEndAllowThreads(__tstate
);
31085 if (PyErr_Occurred()) SWIG_fail
;
31087 Py_INCREF(Py_None
); resultobj
= Py_None
;
31102 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31103 PyObject
*resultobj
;
31104 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31107 PyObject
* obj0
= 0 ;
31108 PyObject
* obj1
= 0 ;
31109 char *kwnames
[] = {
31110 (char *) "self",(char *) "pos", NULL
31113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) 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
;
31119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31120 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31122 wxPyEndAllowThreads(__tstate
);
31123 if (PyErr_Occurred()) SWIG_fail
;
31127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31138 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31139 PyObject
*resultobj
;
31140 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31141 wxString
*arg2
= 0 ;
31142 wxString
*arg3
= 0 ;
31144 bool temp2
= False
;
31145 bool temp3
= False
;
31146 PyObject
* obj0
= 0 ;
31147 PyObject
* obj1
= 0 ;
31148 PyObject
* obj2
= 0 ;
31149 char *kwnames
[] = {
31150 (char *) "self",(char *) "menu",(char *) "item", NULL
31153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31157 arg2
= wxString_in_helper(obj1
);
31158 if (arg2
== NULL
) SWIG_fail
;
31162 arg3
= wxString_in_helper(obj2
);
31163 if (arg3
== NULL
) SWIG_fail
;
31167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31168 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31173 resultobj
= SWIG_FromInt((int)result
);
31196 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
;
31198 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31200 wxMenuItem
*result
;
31201 PyObject
* obj0
= 0 ;
31202 PyObject
* obj1
= 0 ;
31203 char *kwnames
[] = {
31204 (char *) "self",(char *) "id", NULL
31207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31210 arg2
= (int) SWIG_AsInt(obj1
);
31211 if (PyErr_Occurred()) SWIG_fail
;
31213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31214 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31216 wxPyEndAllowThreads(__tstate
);
31217 if (PyErr_Occurred()) SWIG_fail
;
31220 resultobj
= wxPyMake_wxObject(result
);
31228 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31229 PyObject
*resultobj
;
31230 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31231 wxString
*arg2
= 0 ;
31233 bool temp2
= False
;
31234 PyObject
* obj0
= 0 ;
31235 PyObject
* obj1
= 0 ;
31236 char *kwnames
[] = {
31237 (char *) "self",(char *) "title", NULL
31240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31244 arg2
= wxString_in_helper(obj1
);
31245 if (arg2
== NULL
) SWIG_fail
;
31249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31250 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 resultobj
= SWIG_FromInt((int)result
);
31270 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31271 PyObject
*resultobj
;
31272 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31275 PyObject
* obj0
= 0 ;
31276 PyObject
* obj1
= 0 ;
31277 PyObject
* obj2
= 0 ;
31278 char *kwnames
[] = {
31279 (char *) "self",(char *) "id",(char *) "enable", NULL
31282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31285 arg2
= (int) SWIG_AsInt(obj1
);
31286 if (PyErr_Occurred()) SWIG_fail
;
31287 arg3
= (bool) SWIG_AsBool(obj2
);
31288 if (PyErr_Occurred()) SWIG_fail
;
31290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31291 (arg1
)->Enable(arg2
,arg3
);
31293 wxPyEndAllowThreads(__tstate
);
31294 if (PyErr_Occurred()) SWIG_fail
;
31296 Py_INCREF(Py_None
); resultobj
= Py_None
;
31303 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31304 PyObject
*resultobj
;
31305 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31308 PyObject
* obj0
= 0 ;
31309 PyObject
* obj1
= 0 ;
31310 PyObject
* obj2
= 0 ;
31311 char *kwnames
[] = {
31312 (char *) "self",(char *) "id",(char *) "check", NULL
31315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31318 arg2
= (int) SWIG_AsInt(obj1
);
31319 if (PyErr_Occurred()) SWIG_fail
;
31320 arg3
= (bool) SWIG_AsBool(obj2
);
31321 if (PyErr_Occurred()) SWIG_fail
;
31323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31324 (arg1
)->Check(arg2
,arg3
);
31326 wxPyEndAllowThreads(__tstate
);
31327 if (PyErr_Occurred()) SWIG_fail
;
31329 Py_INCREF(Py_None
); resultobj
= Py_None
;
31336 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31337 PyObject
*resultobj
;
31338 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31341 PyObject
* obj0
= 0 ;
31342 PyObject
* obj1
= 0 ;
31343 char *kwnames
[] = {
31344 (char *) "self",(char *) "id", NULL
31347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31350 arg2
= (int) SWIG_AsInt(obj1
);
31351 if (PyErr_Occurred()) SWIG_fail
;
31353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31354 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31356 wxPyEndAllowThreads(__tstate
);
31357 if (PyErr_Occurred()) SWIG_fail
;
31360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31368 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31369 PyObject
*resultobj
;
31370 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31373 PyObject
* obj0
= 0 ;
31374 PyObject
* obj1
= 0 ;
31375 char *kwnames
[] = {
31376 (char *) "self",(char *) "id", NULL
31379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31382 arg2
= (int) SWIG_AsInt(obj1
);
31383 if (PyErr_Occurred()) SWIG_fail
;
31385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31386 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31388 wxPyEndAllowThreads(__tstate
);
31389 if (PyErr_Occurred()) SWIG_fail
;
31392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31400 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
;
31402 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31404 wxString
*arg3
= 0 ;
31405 bool temp3
= False
;
31406 PyObject
* obj0
= 0 ;
31407 PyObject
* obj1
= 0 ;
31408 PyObject
* obj2
= 0 ;
31409 char *kwnames
[] = {
31410 (char *) "self",(char *) "id",(char *) "label", NULL
31413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31416 arg2
= (int) SWIG_AsInt(obj1
);
31417 if (PyErr_Occurred()) SWIG_fail
;
31419 arg3
= wxString_in_helper(obj2
);
31420 if (arg3
== NULL
) SWIG_fail
;
31424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31425 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31427 wxPyEndAllowThreads(__tstate
);
31428 if (PyErr_Occurred()) SWIG_fail
;
31430 Py_INCREF(Py_None
); resultobj
= Py_None
;
31445 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31446 PyObject
*resultobj
;
31447 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31450 PyObject
* obj0
= 0 ;
31451 PyObject
* obj1
= 0 ;
31452 char *kwnames
[] = {
31453 (char *) "self",(char *) "id", NULL
31456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31459 arg2
= (int) SWIG_AsInt(obj1
);
31460 if (PyErr_Occurred()) SWIG_fail
;
31462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31463 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31465 wxPyEndAllowThreads(__tstate
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31481 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31482 PyObject
*resultobj
;
31483 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31485 wxString
*arg3
= 0 ;
31486 bool temp3
= False
;
31487 PyObject
* obj0
= 0 ;
31488 PyObject
* obj1
= 0 ;
31489 PyObject
* obj2
= 0 ;
31490 char *kwnames
[] = {
31491 (char *) "self",(char *) "id",(char *) "helpString", NULL
31494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31497 arg2
= (int) SWIG_AsInt(obj1
);
31498 if (PyErr_Occurred()) SWIG_fail
;
31500 arg3
= wxString_in_helper(obj2
);
31501 if (arg3
== NULL
) SWIG_fail
;
31505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31506 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31508 wxPyEndAllowThreads(__tstate
);
31509 if (PyErr_Occurred()) SWIG_fail
;
31511 Py_INCREF(Py_None
); resultobj
= Py_None
;
31526 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31527 PyObject
*resultobj
;
31528 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31531 PyObject
* obj0
= 0 ;
31532 PyObject
* obj1
= 0 ;
31533 char *kwnames
[] = {
31534 (char *) "self",(char *) "id", NULL
31537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31540 arg2
= (int) SWIG_AsInt(obj1
);
31541 if (PyErr_Occurred()) SWIG_fail
;
31543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31544 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31546 wxPyEndAllowThreads(__tstate
);
31547 if (PyErr_Occurred()) SWIG_fail
;
31551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31562 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31563 PyObject
*resultobj
;
31564 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31566 PyObject
* obj0
= 0 ;
31567 char *kwnames
[] = {
31568 (char *) "self", NULL
31571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31576 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31578 wxPyEndAllowThreads(__tstate
);
31579 if (PyErr_Occurred()) SWIG_fail
;
31582 resultobj
= wxPyMake_wxObject(result
);
31590 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31591 PyObject
*resultobj
;
31592 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31594 PyObject
* obj0
= 0 ;
31595 char *kwnames
[] = {
31596 (char *) "self", NULL
31599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31604 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31606 wxPyEndAllowThreads(__tstate
);
31607 if (PyErr_Occurred()) SWIG_fail
;
31610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31618 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31619 PyObject
*resultobj
;
31620 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31621 wxFrame
*arg2
= (wxFrame
*) 0 ;
31622 PyObject
* obj0
= 0 ;
31623 PyObject
* obj1
= 0 ;
31624 char *kwnames
[] = {
31625 (char *) "self",(char *) "frame", NULL
31628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31635 (arg1
)->Attach(arg2
);
31637 wxPyEndAllowThreads(__tstate
);
31638 if (PyErr_Occurred()) SWIG_fail
;
31640 Py_INCREF(Py_None
); resultobj
= Py_None
;
31647 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31648 PyObject
*resultobj
;
31649 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31650 PyObject
* obj0
= 0 ;
31651 char *kwnames
[] = {
31652 (char *) "self", NULL
31655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31662 wxPyEndAllowThreads(__tstate
);
31663 if (PyErr_Occurred()) SWIG_fail
;
31665 Py_INCREF(Py_None
); resultobj
= Py_None
;
31672 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31675 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31677 return Py_BuildValue((char *)"");
31679 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31680 PyObject
*resultobj
;
31681 wxMenu
*arg1
= (wxMenu
*) NULL
;
31682 int arg2
= (int) wxID_SEPARATOR
;
31683 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31684 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31685 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31686 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31687 int arg5
= (int) wxITEM_NORMAL
;
31688 wxMenu
*arg6
= (wxMenu
*) NULL
;
31689 wxMenuItem
*result
;
31690 bool temp3
= False
;
31691 bool temp4
= False
;
31692 PyObject
* obj0
= 0 ;
31693 PyObject
* obj1
= 0 ;
31694 PyObject
* obj2
= 0 ;
31695 PyObject
* obj3
= 0 ;
31696 PyObject
* obj4
= 0 ;
31697 PyObject
* obj5
= 0 ;
31698 char *kwnames
[] = {
31699 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31708 arg2
= (int) SWIG_AsInt(obj1
);
31709 if (PyErr_Occurred()) SWIG_fail
;
31713 arg3
= wxString_in_helper(obj2
);
31714 if (arg3
== NULL
) SWIG_fail
;
31720 arg4
= wxString_in_helper(obj3
);
31721 if (arg4
== NULL
) SWIG_fail
;
31726 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31727 if (PyErr_Occurred()) SWIG_fail
;
31730 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31735 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31737 wxPyEndAllowThreads(__tstate
);
31738 if (PyErr_Occurred()) SWIG_fail
;
31741 resultobj
= wxPyMake_wxObject(result
);
31765 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31766 PyObject
*resultobj
;
31767 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31769 PyObject
* obj0
= 0 ;
31770 char *kwnames
[] = {
31771 (char *) "self", NULL
31774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31779 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31781 wxPyEndAllowThreads(__tstate
);
31782 if (PyErr_Occurred()) SWIG_fail
;
31785 resultobj
= wxPyMake_wxObject(result
);
31793 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31794 PyObject
*resultobj
;
31795 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31796 wxMenu
*arg2
= (wxMenu
*) 0 ;
31797 PyObject
* obj0
= 0 ;
31798 PyObject
* obj1
= 0 ;
31799 char *kwnames
[] = {
31800 (char *) "self",(char *) "menu", NULL
31803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31810 (arg1
)->SetMenu(arg2
);
31812 wxPyEndAllowThreads(__tstate
);
31813 if (PyErr_Occurred()) SWIG_fail
;
31815 Py_INCREF(Py_None
); resultobj
= Py_None
;
31822 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31823 PyObject
*resultobj
;
31824 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31826 PyObject
* obj0
= 0 ;
31827 PyObject
* obj1
= 0 ;
31828 char *kwnames
[] = {
31829 (char *) "self",(char *) "id", NULL
31832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31835 arg2
= (int) SWIG_AsInt(obj1
);
31836 if (PyErr_Occurred()) SWIG_fail
;
31838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31839 (arg1
)->SetId(arg2
);
31841 wxPyEndAllowThreads(__tstate
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31844 Py_INCREF(Py_None
); resultobj
= Py_None
;
31851 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31852 PyObject
*resultobj
;
31853 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31855 PyObject
* obj0
= 0 ;
31856 char *kwnames
[] = {
31857 (char *) "self", NULL
31860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31865 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31867 wxPyEndAllowThreads(__tstate
);
31868 if (PyErr_Occurred()) SWIG_fail
;
31870 resultobj
= SWIG_FromInt((int)result
);
31877 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31878 PyObject
*resultobj
;
31879 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31881 PyObject
* obj0
= 0 ;
31882 char *kwnames
[] = {
31883 (char *) "self", NULL
31886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31891 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31893 wxPyEndAllowThreads(__tstate
);
31894 if (PyErr_Occurred()) SWIG_fail
;
31897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31905 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31906 PyObject
*resultobj
;
31907 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31908 wxString
*arg2
= 0 ;
31909 bool temp2
= False
;
31910 PyObject
* obj0
= 0 ;
31911 PyObject
* obj1
= 0 ;
31912 char *kwnames
[] = {
31913 (char *) "self",(char *) "str", NULL
31916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31920 arg2
= wxString_in_helper(obj1
);
31921 if (arg2
== NULL
) SWIG_fail
;
31925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31926 (arg1
)->SetText((wxString
const &)*arg2
);
31928 wxPyEndAllowThreads(__tstate
);
31929 if (PyErr_Occurred()) SWIG_fail
;
31931 Py_INCREF(Py_None
); resultobj
= Py_None
;
31946 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31947 PyObject
*resultobj
;
31948 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31950 PyObject
* obj0
= 0 ;
31951 char *kwnames
[] = {
31952 (char *) "self", NULL
31955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31960 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31962 wxPyEndAllowThreads(__tstate
);
31963 if (PyErr_Occurred()) SWIG_fail
;
31967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31978 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31979 PyObject
*resultobj
;
31980 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31982 PyObject
* obj0
= 0 ;
31983 char *kwnames
[] = {
31984 (char *) "self", NULL
31987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31993 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31994 result
= (wxString
*) &_result_ref
;
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32002 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32004 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32013 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32014 PyObject
*resultobj
;
32015 wxString
*arg1
= 0 ;
32017 bool temp1
= False
;
32018 PyObject
* obj0
= 0 ;
32019 char *kwnames
[] = {
32020 (char *) "text", NULL
32023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32025 arg1
= wxString_in_helper(obj0
);
32026 if (arg1
== NULL
) SWIG_fail
;
32030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32031 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32033 wxPyEndAllowThreads(__tstate
);
32034 if (PyErr_Occurred()) SWIG_fail
;
32038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32057 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32058 PyObject
*resultobj
;
32059 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32061 PyObject
* obj0
= 0 ;
32062 char *kwnames
[] = {
32063 (char *) "self", NULL
32066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32071 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32073 wxPyEndAllowThreads(__tstate
);
32074 if (PyErr_Occurred()) SWIG_fail
;
32076 resultobj
= SWIG_FromInt((int)result
);
32083 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32084 PyObject
*resultobj
;
32085 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32087 PyObject
* obj0
= 0 ;
32088 PyObject
* obj1
= 0 ;
32089 char *kwnames
[] = {
32090 (char *) "self",(char *) "checkable", NULL
32093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32096 arg2
= (bool) SWIG_AsBool(obj1
);
32097 if (PyErr_Occurred()) SWIG_fail
;
32099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32100 (arg1
)->SetCheckable(arg2
);
32102 wxPyEndAllowThreads(__tstate
);
32103 if (PyErr_Occurred()) SWIG_fail
;
32105 Py_INCREF(Py_None
); resultobj
= Py_None
;
32112 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32113 PyObject
*resultobj
;
32114 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32116 PyObject
* obj0
= 0 ;
32117 char *kwnames
[] = {
32118 (char *) "self", NULL
32121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32126 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32128 wxPyEndAllowThreads(__tstate
);
32129 if (PyErr_Occurred()) SWIG_fail
;
32132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32140 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32141 PyObject
*resultobj
;
32142 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32144 PyObject
* obj0
= 0 ;
32145 char *kwnames
[] = {
32146 (char *) "self", NULL
32149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32154 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32156 wxPyEndAllowThreads(__tstate
);
32157 if (PyErr_Occurred()) SWIG_fail
;
32160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32168 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32169 PyObject
*resultobj
;
32170 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32171 wxMenu
*arg2
= (wxMenu
*) 0 ;
32172 PyObject
* obj0
= 0 ;
32173 PyObject
* obj1
= 0 ;
32174 char *kwnames
[] = {
32175 (char *) "self",(char *) "menu", NULL
32178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32185 (arg1
)->SetSubMenu(arg2
);
32187 wxPyEndAllowThreads(__tstate
);
32188 if (PyErr_Occurred()) SWIG_fail
;
32190 Py_INCREF(Py_None
); resultobj
= Py_None
;
32197 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32198 PyObject
*resultobj
;
32199 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32201 PyObject
* obj0
= 0 ;
32202 char *kwnames
[] = {
32203 (char *) "self", NULL
32206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32211 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32213 wxPyEndAllowThreads(__tstate
);
32214 if (PyErr_Occurred()) SWIG_fail
;
32217 resultobj
= wxPyMake_wxObject(result
);
32225 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32226 PyObject
*resultobj
;
32227 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32228 bool arg2
= (bool) True
;
32229 PyObject
* obj0
= 0 ;
32230 PyObject
* obj1
= 0 ;
32231 char *kwnames
[] = {
32232 (char *) "self",(char *) "enable", NULL
32235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32239 arg2
= (bool) SWIG_AsBool(obj1
);
32240 if (PyErr_Occurred()) SWIG_fail
;
32243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32244 (arg1
)->Enable(arg2
);
32246 wxPyEndAllowThreads(__tstate
);
32247 if (PyErr_Occurred()) SWIG_fail
;
32249 Py_INCREF(Py_None
); resultobj
= Py_None
;
32256 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32257 PyObject
*resultobj
;
32258 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32260 PyObject
* obj0
= 0 ;
32261 char *kwnames
[] = {
32262 (char *) "self", NULL
32265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32270 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32272 wxPyEndAllowThreads(__tstate
);
32273 if (PyErr_Occurred()) SWIG_fail
;
32276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32284 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32285 PyObject
*resultobj
;
32286 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32287 bool arg2
= (bool) True
;
32288 PyObject
* obj0
= 0 ;
32289 PyObject
* obj1
= 0 ;
32290 char *kwnames
[] = {
32291 (char *) "self",(char *) "check", NULL
32294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32298 arg2
= (bool) SWIG_AsBool(obj1
);
32299 if (PyErr_Occurred()) SWIG_fail
;
32302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32303 (arg1
)->Check(arg2
);
32305 wxPyEndAllowThreads(__tstate
);
32306 if (PyErr_Occurred()) SWIG_fail
;
32308 Py_INCREF(Py_None
); resultobj
= Py_None
;
32315 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32316 PyObject
*resultobj
;
32317 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32319 PyObject
* obj0
= 0 ;
32320 char *kwnames
[] = {
32321 (char *) "self", NULL
32324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32329 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32331 wxPyEndAllowThreads(__tstate
);
32332 if (PyErr_Occurred()) SWIG_fail
;
32335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32343 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32344 PyObject
*resultobj
;
32345 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32346 PyObject
* obj0
= 0 ;
32347 char *kwnames
[] = {
32348 (char *) "self", NULL
32351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32358 wxPyEndAllowThreads(__tstate
);
32359 if (PyErr_Occurred()) SWIG_fail
;
32361 Py_INCREF(Py_None
); resultobj
= Py_None
;
32368 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32369 PyObject
*resultobj
;
32370 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32371 wxString
*arg2
= 0 ;
32372 bool temp2
= False
;
32373 PyObject
* obj0
= 0 ;
32374 PyObject
* obj1
= 0 ;
32375 char *kwnames
[] = {
32376 (char *) "self",(char *) "str", NULL
32379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32383 arg2
= wxString_in_helper(obj1
);
32384 if (arg2
== NULL
) SWIG_fail
;
32388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32389 (arg1
)->SetHelp((wxString
const &)*arg2
);
32391 wxPyEndAllowThreads(__tstate
);
32392 if (PyErr_Occurred()) SWIG_fail
;
32394 Py_INCREF(Py_None
); resultobj
= Py_None
;
32409 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32410 PyObject
*resultobj
;
32411 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32413 PyObject
* obj0
= 0 ;
32414 char *kwnames
[] = {
32415 (char *) "self", NULL
32418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32425 result
= (wxString
*) &_result_ref
;
32428 wxPyEndAllowThreads(__tstate
);
32429 if (PyErr_Occurred()) SWIG_fail
;
32433 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32435 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32444 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32445 PyObject
*resultobj
;
32446 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32447 wxAcceleratorEntry
*result
;
32448 PyObject
* obj0
= 0 ;
32449 char *kwnames
[] = {
32450 (char *) "self", NULL
32453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32458 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32460 wxPyEndAllowThreads(__tstate
);
32461 if (PyErr_Occurred()) SWIG_fail
;
32463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32470 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32471 PyObject
*resultobj
;
32472 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32473 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32474 PyObject
* obj0
= 0 ;
32475 PyObject
* obj1
= 0 ;
32476 char *kwnames
[] = {
32477 (char *) "self",(char *) "accel", NULL
32480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32487 (arg1
)->SetAccel(arg2
);
32489 wxPyEndAllowThreads(__tstate
);
32490 if (PyErr_Occurred()) SWIG_fail
;
32492 Py_INCREF(Py_None
); resultobj
= Py_None
;
32499 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32500 PyObject
*resultobj
;
32502 char *kwnames
[] = {
32506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32509 result
= (int)MenuItem_GetDefaultMarginWidth();
32511 wxPyEndAllowThreads(__tstate
);
32512 if (PyErr_Occurred()) SWIG_fail
;
32514 resultobj
= SWIG_FromInt((int)result
);
32521 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32522 PyObject
*resultobj
;
32523 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32524 wxBitmap
*arg2
= 0 ;
32525 PyObject
* obj0
= 0 ;
32526 PyObject
* obj1
= 0 ;
32527 char *kwnames
[] = {
32528 (char *) "self",(char *) "bitmap", NULL
32531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32537 if (arg2
== NULL
) {
32538 PyErr_SetString(PyExc_TypeError
,"null reference");
32542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32543 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32545 wxPyEndAllowThreads(__tstate
);
32546 if (PyErr_Occurred()) SWIG_fail
;
32548 Py_INCREF(Py_None
); resultobj
= Py_None
;
32555 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32556 PyObject
*resultobj
;
32557 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32559 PyObject
* obj0
= 0 ;
32560 char *kwnames
[] = {
32561 (char *) "self", NULL
32564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
32565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32570 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
32571 result
= (wxBitmap
*) &_result_ref
;
32574 wxPyEndAllowThreads(__tstate
);
32575 if (PyErr_Occurred()) SWIG_fail
;
32578 wxBitmap
* resultptr
= new wxBitmap(*result
);
32579 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32587 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
32589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32590 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
32592 return Py_BuildValue((char *)"");
32594 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
32595 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
32600 static PyObject
*_wrap_ControlNameStr_get() {
32605 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32607 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32614 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32615 PyObject
*resultobj
;
32616 wxWindow
*arg1
= (wxWindow
*) 0 ;
32618 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32619 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32620 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32621 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32622 long arg5
= (long) 0 ;
32623 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32624 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32625 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32626 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32630 bool temp7
= False
;
32631 PyObject
* obj0
= 0 ;
32632 PyObject
* obj1
= 0 ;
32633 PyObject
* obj2
= 0 ;
32634 PyObject
* obj3
= 0 ;
32635 PyObject
* obj4
= 0 ;
32636 PyObject
* obj5
= 0 ;
32637 PyObject
* obj6
= 0 ;
32638 char *kwnames
[] = {
32639 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32645 arg2
= (int) SWIG_AsInt(obj1
);
32646 if (PyErr_Occurred()) SWIG_fail
;
32650 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32656 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32660 arg5
= (long) SWIG_AsLong(obj4
);
32661 if (PyErr_Occurred()) SWIG_fail
;
32664 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
32665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32667 if (arg6
== NULL
) {
32668 PyErr_SetString(PyExc_TypeError
,"null reference");
32674 arg7
= wxString_in_helper(obj6
);
32675 if (arg7
== NULL
) SWIG_fail
;
32680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32681 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32683 wxPyEndAllowThreads(__tstate
);
32684 if (PyErr_Occurred()) SWIG_fail
;
32687 resultobj
= wxPyMake_wxObject(result
);
32703 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32704 PyObject
*resultobj
;
32706 char *kwnames
[] = {
32710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
32712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32713 result
= (wxControl
*)new wxControl();
32715 wxPyEndAllowThreads(__tstate
);
32716 if (PyErr_Occurred()) SWIG_fail
;
32719 resultobj
= wxPyMake_wxObject(result
);
32727 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32728 PyObject
*resultobj
;
32729 wxControl
*arg1
= (wxControl
*) 0 ;
32730 wxWindow
*arg2
= (wxWindow
*) 0 ;
32732 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32733 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32734 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32735 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32736 long arg6
= (long) 0 ;
32737 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32738 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32739 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
32740 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32744 bool temp8
= False
;
32745 PyObject
* obj0
= 0 ;
32746 PyObject
* obj1
= 0 ;
32747 PyObject
* obj2
= 0 ;
32748 PyObject
* obj3
= 0 ;
32749 PyObject
* obj4
= 0 ;
32750 PyObject
* obj5
= 0 ;
32751 PyObject
* obj6
= 0 ;
32752 PyObject
* obj7
= 0 ;
32753 char *kwnames
[] = {
32754 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
32758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
32761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32762 arg3
= (int) SWIG_AsInt(obj2
);
32763 if (PyErr_Occurred()) SWIG_fail
;
32767 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32773 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32777 arg6
= (long) SWIG_AsLong(obj5
);
32778 if (PyErr_Occurred()) SWIG_fail
;
32781 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
32782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32784 if (arg7
== NULL
) {
32785 PyErr_SetString(PyExc_TypeError
,"null reference");
32791 arg8
= wxString_in_helper(obj7
);
32792 if (arg8
== NULL
) SWIG_fail
;
32797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32798 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32800 wxPyEndAllowThreads(__tstate
);
32801 if (PyErr_Occurred()) SWIG_fail
;
32804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32820 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32821 PyObject
*resultobj
;
32822 wxControl
*arg1
= (wxControl
*) 0 ;
32823 wxCommandEvent
*arg2
= 0 ;
32824 PyObject
* obj0
= 0 ;
32825 PyObject
* obj1
= 0 ;
32826 char *kwnames
[] = {
32827 (char *) "self",(char *) "event", NULL
32830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
32831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
32834 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32836 if (arg2
== NULL
) {
32837 PyErr_SetString(PyExc_TypeError
,"null reference");
32841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32842 (arg1
)->Command(*arg2
);
32844 wxPyEndAllowThreads(__tstate
);
32845 if (PyErr_Occurred()) SWIG_fail
;
32847 Py_INCREF(Py_None
); resultobj
= Py_None
;
32854 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32855 PyObject
*resultobj
;
32856 wxControl
*arg1
= (wxControl
*) 0 ;
32858 PyObject
* obj0
= 0 ;
32859 char *kwnames
[] = {
32860 (char *) "self", NULL
32863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
32864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32868 result
= (arg1
)->GetLabel();
32870 wxPyEndAllowThreads(__tstate
);
32871 if (PyErr_Occurred()) SWIG_fail
;
32875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32886 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32887 PyObject
*resultobj
;
32888 wxControl
*arg1
= (wxControl
*) 0 ;
32889 wxString
*arg2
= 0 ;
32890 bool temp2
= False
;
32891 PyObject
* obj0
= 0 ;
32892 PyObject
* obj1
= 0 ;
32893 char *kwnames
[] = {
32894 (char *) "self",(char *) "label", NULL
32897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32901 arg2
= wxString_in_helper(obj1
);
32902 if (arg2
== NULL
) SWIG_fail
;
32906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32907 (arg1
)->SetLabel((wxString
const &)*arg2
);
32909 wxPyEndAllowThreads(__tstate
);
32910 if (PyErr_Occurred()) SWIG_fail
;
32912 Py_INCREF(Py_None
); resultobj
= Py_None
;
32927 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32928 PyObject
*resultobj
;
32929 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
32930 wxVisualAttributes result
;
32931 PyObject
* obj0
= 0 ;
32932 char *kwnames
[] = {
32933 (char *) "variant", NULL
32936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32938 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
32939 if (PyErr_Occurred()) SWIG_fail
;
32942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32943 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
32945 wxPyEndAllowThreads(__tstate
);
32946 if (PyErr_Occurred()) SWIG_fail
;
32949 wxVisualAttributes
* resultptr
;
32950 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
32951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32959 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
32961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32962 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
32964 return Py_BuildValue((char *)"");
32966 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32967 PyObject
*resultobj
;
32968 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32969 wxString
*arg2
= 0 ;
32970 PyObject
*arg3
= (PyObject
*) NULL
;
32972 bool temp2
= False
;
32973 PyObject
* obj0
= 0 ;
32974 PyObject
* obj1
= 0 ;
32975 PyObject
* obj2
= 0 ;
32976 char *kwnames
[] = {
32977 (char *) "self",(char *) "item",(char *) "clientData", NULL
32980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32984 arg2
= wxString_in_helper(obj1
);
32985 if (arg2
== NULL
) SWIG_fail
;
32992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32993 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
32995 wxPyEndAllowThreads(__tstate
);
32996 if (PyErr_Occurred()) SWIG_fail
;
32998 resultobj
= SWIG_FromInt((int)result
);
33013 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33014 PyObject
*resultobj
;
33015 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33016 wxArrayString
*arg2
= 0 ;
33017 bool temp2
= False
;
33018 PyObject
* obj0
= 0 ;
33019 PyObject
* obj1
= 0 ;
33020 char *kwnames
[] = {
33021 (char *) "self",(char *) "strings", NULL
33024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33028 if (! PySequence_Check(obj1
)) {
33029 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33032 arg2
= new wxArrayString
;
33034 int i
, len
=PySequence_Length(obj1
);
33035 for (i
=0; i
<len
; i
++) {
33036 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33038 PyObject
* str
= PyObject_Unicode(item
);
33040 PyObject
* str
= PyObject_Str(item
);
33042 if (PyErr_Occurred()) SWIG_fail
;
33043 arg2
->Add(Py2wxString(str
));
33049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33050 (arg1
)->Append((wxArrayString
const &)*arg2
);
33052 wxPyEndAllowThreads(__tstate
);
33053 if (PyErr_Occurred()) SWIG_fail
;
33055 Py_INCREF(Py_None
); resultobj
= Py_None
;
33057 if (temp2
) delete arg2
;
33062 if (temp2
) delete arg2
;
33068 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33069 PyObject
*resultobj
;
33070 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33071 wxString
*arg2
= 0 ;
33073 PyObject
*arg4
= (PyObject
*) NULL
;
33075 bool temp2
= False
;
33076 PyObject
* obj0
= 0 ;
33077 PyObject
* obj1
= 0 ;
33078 PyObject
* obj2
= 0 ;
33079 PyObject
* obj3
= 0 ;
33080 char *kwnames
[] = {
33081 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33088 arg2
= wxString_in_helper(obj1
);
33089 if (arg2
== NULL
) SWIG_fail
;
33092 arg3
= (int) SWIG_AsInt(obj2
);
33093 if (PyErr_Occurred()) SWIG_fail
;
33098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33099 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33101 wxPyEndAllowThreads(__tstate
);
33102 if (PyErr_Occurred()) SWIG_fail
;
33104 resultobj
= SWIG_FromInt((int)result
);
33119 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33120 PyObject
*resultobj
;
33121 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33122 PyObject
* obj0
= 0 ;
33123 char *kwnames
[] = {
33124 (char *) "self", NULL
33127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33134 wxPyEndAllowThreads(__tstate
);
33135 if (PyErr_Occurred()) SWIG_fail
;
33137 Py_INCREF(Py_None
); resultobj
= Py_None
;
33144 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33145 PyObject
*resultobj
;
33146 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33148 PyObject
* obj0
= 0 ;
33149 PyObject
* obj1
= 0 ;
33150 char *kwnames
[] = {
33151 (char *) "self",(char *) "n", NULL
33154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33157 arg2
= (int) SWIG_AsInt(obj1
);
33158 if (PyErr_Occurred()) SWIG_fail
;
33160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33161 (arg1
)->Delete(arg2
);
33163 wxPyEndAllowThreads(__tstate
);
33164 if (PyErr_Occurred()) SWIG_fail
;
33166 Py_INCREF(Py_None
); resultobj
= Py_None
;
33173 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33174 PyObject
*resultobj
;
33175 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33177 PyObject
* obj0
= 0 ;
33178 char *kwnames
[] = {
33179 (char *) "self", NULL
33182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33187 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33189 wxPyEndAllowThreads(__tstate
);
33190 if (PyErr_Occurred()) SWIG_fail
;
33192 resultobj
= SWIG_FromInt((int)result
);
33199 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33200 PyObject
*resultobj
;
33201 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33203 PyObject
* obj0
= 0 ;
33204 char *kwnames
[] = {
33205 (char *) "self", NULL
33208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33213 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33215 wxPyEndAllowThreads(__tstate
);
33216 if (PyErr_Occurred()) SWIG_fail
;
33219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33227 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33228 PyObject
*resultobj
;
33229 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33232 PyObject
* obj0
= 0 ;
33233 PyObject
* obj1
= 0 ;
33234 char *kwnames
[] = {
33235 (char *) "self",(char *) "n", NULL
33238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33241 arg2
= (int) SWIG_AsInt(obj1
);
33242 if (PyErr_Occurred()) SWIG_fail
;
33244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33245 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33247 wxPyEndAllowThreads(__tstate
);
33248 if (PyErr_Occurred()) SWIG_fail
;
33252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33263 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33264 PyObject
*resultobj
;
33265 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33266 wxArrayString result
;
33267 PyObject
* obj0
= 0 ;
33268 char *kwnames
[] = {
33269 (char *) "self", NULL
33272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33277 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33279 wxPyEndAllowThreads(__tstate
);
33280 if (PyErr_Occurred()) SWIG_fail
;
33283 resultobj
= wxArrayString2PyList_helper(result
);
33291 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33292 PyObject
*resultobj
;
33293 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33295 wxString
*arg3
= 0 ;
33296 bool temp3
= False
;
33297 PyObject
* obj0
= 0 ;
33298 PyObject
* obj1
= 0 ;
33299 PyObject
* obj2
= 0 ;
33300 char *kwnames
[] = {
33301 (char *) "self",(char *) "n",(char *) "s", NULL
33304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33307 arg2
= (int) SWIG_AsInt(obj1
);
33308 if (PyErr_Occurred()) SWIG_fail
;
33310 arg3
= wxString_in_helper(obj2
);
33311 if (arg3
== NULL
) SWIG_fail
;
33315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33316 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33318 wxPyEndAllowThreads(__tstate
);
33319 if (PyErr_Occurred()) SWIG_fail
;
33321 Py_INCREF(Py_None
); resultobj
= Py_None
;
33336 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33337 PyObject
*resultobj
;
33338 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33339 wxString
*arg2
= 0 ;
33341 bool temp2
= False
;
33342 PyObject
* obj0
= 0 ;
33343 PyObject
* obj1
= 0 ;
33344 char *kwnames
[] = {
33345 (char *) "self",(char *) "s", NULL
33348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33352 arg2
= wxString_in_helper(obj1
);
33353 if (arg2
== NULL
) SWIG_fail
;
33357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33358 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33360 wxPyEndAllowThreads(__tstate
);
33361 if (PyErr_Occurred()) SWIG_fail
;
33363 resultobj
= SWIG_FromInt((int)result
);
33378 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33379 PyObject
*resultobj
;
33380 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33382 PyObject
* obj0
= 0 ;
33383 PyObject
* obj1
= 0 ;
33384 char *kwnames
[] = {
33385 (char *) "self",(char *) "n", NULL
33388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33391 arg2
= (int) SWIG_AsInt(obj1
);
33392 if (PyErr_Occurred()) SWIG_fail
;
33394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33395 (arg1
)->Select(arg2
);
33397 wxPyEndAllowThreads(__tstate
);
33398 if (PyErr_Occurred()) SWIG_fail
;
33400 Py_INCREF(Py_None
); resultobj
= Py_None
;
33407 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33408 PyObject
*resultobj
;
33409 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33411 PyObject
* obj0
= 0 ;
33412 char *kwnames
[] = {
33413 (char *) "self", NULL
33416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33421 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33423 wxPyEndAllowThreads(__tstate
);
33424 if (PyErr_Occurred()) SWIG_fail
;
33426 resultobj
= SWIG_FromInt((int)result
);
33433 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33434 PyObject
*resultobj
;
33435 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33437 PyObject
* obj0
= 0 ;
33438 char *kwnames
[] = {
33439 (char *) "self", NULL
33442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33447 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33449 wxPyEndAllowThreads(__tstate
);
33450 if (PyErr_Occurred()) SWIG_fail
;
33454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33465 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33466 PyObject
*resultobj
;
33467 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33470 PyObject
* obj0
= 0 ;
33471 PyObject
* obj1
= 0 ;
33472 char *kwnames
[] = {
33473 (char *) "self",(char *) "n", NULL
33476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33479 arg2
= (int) SWIG_AsInt(obj1
);
33480 if (PyErr_Occurred()) SWIG_fail
;
33482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33483 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33485 wxPyEndAllowThreads(__tstate
);
33486 if (PyErr_Occurred()) SWIG_fail
;
33488 resultobj
= result
;
33495 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33496 PyObject
*resultobj
;
33497 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33499 PyObject
*arg3
= (PyObject
*) 0 ;
33500 PyObject
* obj0
= 0 ;
33501 PyObject
* obj1
= 0 ;
33502 PyObject
* obj2
= 0 ;
33503 char *kwnames
[] = {
33504 (char *) "self",(char *) "n",(char *) "clientData", NULL
33507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33510 arg2
= (int) SWIG_AsInt(obj1
);
33511 if (PyErr_Occurred()) SWIG_fail
;
33514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33515 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33517 wxPyEndAllowThreads(__tstate
);
33518 if (PyErr_Occurred()) SWIG_fail
;
33520 Py_INCREF(Py_None
); resultobj
= Py_None
;
33527 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33530 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33532 return Py_BuildValue((char *)"");
33534 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33537 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33539 return Py_BuildValue((char *)"");
33541 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33542 PyObject
*resultobj
;
33543 wxSizerItem
*result
;
33544 char *kwnames
[] = {
33548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33551 result
= (wxSizerItem
*)new wxSizerItem();
33553 wxPyEndAllowThreads(__tstate
);
33554 if (PyErr_Occurred()) SWIG_fail
;
33556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33563 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33564 PyObject
*resultobj
;
33570 wxObject
*arg6
= (wxObject
*) 0 ;
33571 wxSizerItem
*result
;
33572 PyObject
* obj0
= 0 ;
33573 PyObject
* obj1
= 0 ;
33574 PyObject
* obj2
= 0 ;
33575 PyObject
* obj3
= 0 ;
33576 PyObject
* obj4
= 0 ;
33577 PyObject
* obj5
= 0 ;
33578 char *kwnames
[] = {
33579 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33583 arg1
= (int) SWIG_AsInt(obj0
);
33584 if (PyErr_Occurred()) SWIG_fail
;
33585 arg2
= (int) SWIG_AsInt(obj1
);
33586 if (PyErr_Occurred()) SWIG_fail
;
33587 arg3
= (int) SWIG_AsInt(obj2
);
33588 if (PyErr_Occurred()) SWIG_fail
;
33589 arg4
= (int) SWIG_AsInt(obj3
);
33590 if (PyErr_Occurred()) SWIG_fail
;
33591 arg5
= (int) SWIG_AsInt(obj4
);
33592 if (PyErr_Occurred()) SWIG_fail
;
33593 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
33594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33597 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33599 wxPyEndAllowThreads(__tstate
);
33600 if (PyErr_Occurred()) SWIG_fail
;
33602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33609 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33610 PyObject
*resultobj
;
33611 wxWindow
*arg1
= (wxWindow
*) 0 ;
33615 wxObject
*arg5
= (wxObject
*) 0 ;
33616 wxSizerItem
*result
;
33617 PyObject
* obj0
= 0 ;
33618 PyObject
* obj1
= 0 ;
33619 PyObject
* obj2
= 0 ;
33620 PyObject
* obj3
= 0 ;
33621 PyObject
* obj4
= 0 ;
33622 char *kwnames
[] = {
33623 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33629 arg2
= (int) SWIG_AsInt(obj1
);
33630 if (PyErr_Occurred()) SWIG_fail
;
33631 arg3
= (int) SWIG_AsInt(obj2
);
33632 if (PyErr_Occurred()) SWIG_fail
;
33633 arg4
= (int) SWIG_AsInt(obj3
);
33634 if (PyErr_Occurred()) SWIG_fail
;
33635 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33639 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33641 wxPyEndAllowThreads(__tstate
);
33642 if (PyErr_Occurred()) SWIG_fail
;
33644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33651 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33652 PyObject
*resultobj
;
33653 wxSizer
*arg1
= (wxSizer
*) 0 ;
33657 wxObject
*arg5
= (wxObject
*) 0 ;
33658 wxSizerItem
*result
;
33659 PyObject
* obj0
= 0 ;
33660 PyObject
* obj1
= 0 ;
33661 PyObject
* obj2
= 0 ;
33662 PyObject
* obj3
= 0 ;
33663 PyObject
* obj4
= 0 ;
33664 char *kwnames
[] = {
33665 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33671 arg2
= (int) SWIG_AsInt(obj1
);
33672 if (PyErr_Occurred()) SWIG_fail
;
33673 arg3
= (int) SWIG_AsInt(obj2
);
33674 if (PyErr_Occurred()) SWIG_fail
;
33675 arg4
= (int) SWIG_AsInt(obj3
);
33676 if (PyErr_Occurred()) SWIG_fail
;
33677 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33681 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33683 wxPyEndAllowThreads(__tstate
);
33684 if (PyErr_Occurred()) SWIG_fail
;
33686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33693 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33694 PyObject
*resultobj
;
33695 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33696 PyObject
* obj0
= 0 ;
33697 char *kwnames
[] = {
33698 (char *) "self", NULL
33701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33706 (arg1
)->DeleteWindows();
33708 wxPyEndAllowThreads(__tstate
);
33709 if (PyErr_Occurred()) SWIG_fail
;
33711 Py_INCREF(Py_None
); resultobj
= Py_None
;
33718 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33719 PyObject
*resultobj
;
33720 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33721 PyObject
* obj0
= 0 ;
33722 char *kwnames
[] = {
33723 (char *) "self", NULL
33726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
33727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33731 (arg1
)->DetachSizer();
33733 wxPyEndAllowThreads(__tstate
);
33734 if (PyErr_Occurred()) SWIG_fail
;
33736 Py_INCREF(Py_None
); resultobj
= Py_None
;
33743 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33744 PyObject
*resultobj
;
33745 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33747 PyObject
* obj0
= 0 ;
33748 char *kwnames
[] = {
33749 (char *) "self", NULL
33752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
33753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33757 result
= (arg1
)->GetSize();
33759 wxPyEndAllowThreads(__tstate
);
33760 if (PyErr_Occurred()) SWIG_fail
;
33763 wxSize
* resultptr
;
33764 resultptr
= new wxSize((wxSize
&) result
);
33765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33773 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33774 PyObject
*resultobj
;
33775 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33777 PyObject
* obj0
= 0 ;
33778 char *kwnames
[] = {
33779 (char *) "self", NULL
33782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
33783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33787 result
= (arg1
)->CalcMin();
33789 wxPyEndAllowThreads(__tstate
);
33790 if (PyErr_Occurred()) SWIG_fail
;
33793 wxSize
* resultptr
;
33794 resultptr
= new wxSize((wxSize
&) result
);
33795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33803 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33804 PyObject
*resultobj
;
33805 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33810 PyObject
* obj0
= 0 ;
33811 PyObject
* obj1
= 0 ;
33812 PyObject
* obj2
= 0 ;
33813 char *kwnames
[] = {
33814 (char *) "self",(char *) "pos",(char *) "size", NULL
33817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33820 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
33821 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33823 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
33824 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33828 (arg1
)->SetDimension(arg2
,arg3
);
33830 wxPyEndAllowThreads(__tstate
);
33831 if (PyErr_Occurred()) SWIG_fail
;
33833 Py_INCREF(Py_None
); resultobj
= Py_None
;
33840 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33841 PyObject
*resultobj
;
33842 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33844 PyObject
* obj0
= 0 ;
33845 char *kwnames
[] = {
33846 (char *) "self", NULL
33849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
33850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33854 result
= (arg1
)->GetMinSize();
33856 wxPyEndAllowThreads(__tstate
);
33857 if (PyErr_Occurred()) SWIG_fail
;
33860 wxSize
* resultptr
;
33861 resultptr
= new wxSize((wxSize
&) result
);
33862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33870 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33871 PyObject
*resultobj
;
33872 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33875 PyObject
* obj0
= 0 ;
33876 PyObject
* obj1
= 0 ;
33877 PyObject
* obj2
= 0 ;
33878 char *kwnames
[] = {
33879 (char *) "self",(char *) "x",(char *) "y", NULL
33882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33885 arg2
= (int) SWIG_AsInt(obj1
);
33886 if (PyErr_Occurred()) SWIG_fail
;
33887 arg3
= (int) SWIG_AsInt(obj2
);
33888 if (PyErr_Occurred()) SWIG_fail
;
33890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33891 (arg1
)->SetInitSize(arg2
,arg3
);
33893 wxPyEndAllowThreads(__tstate
);
33894 if (PyErr_Occurred()) SWIG_fail
;
33896 Py_INCREF(Py_None
); resultobj
= Py_None
;
33903 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33904 PyObject
*resultobj
;
33905 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33908 PyObject
* obj0
= 0 ;
33909 PyObject
* obj1
= 0 ;
33910 PyObject
* obj2
= 0 ;
33911 char *kwnames
[] = {
33912 (char *) "self",(char *) "width",(char *) "height", NULL
33915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33918 arg2
= (int) SWIG_AsInt(obj1
);
33919 if (PyErr_Occurred()) SWIG_fail
;
33920 arg3
= (int) SWIG_AsInt(obj2
);
33921 if (PyErr_Occurred()) SWIG_fail
;
33923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33924 (arg1
)->SetRatio(arg2
,arg3
);
33926 wxPyEndAllowThreads(__tstate
);
33927 if (PyErr_Occurred()) SWIG_fail
;
33929 Py_INCREF(Py_None
); resultobj
= Py_None
;
33936 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33937 PyObject
*resultobj
;
33938 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33941 PyObject
* obj0
= 0 ;
33942 PyObject
* obj1
= 0 ;
33943 char *kwnames
[] = {
33944 (char *) "self",(char *) "size", NULL
33947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33950 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
33951 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33955 (arg1
)->SetRatio(arg2
);
33957 wxPyEndAllowThreads(__tstate
);
33958 if (PyErr_Occurred()) SWIG_fail
;
33960 Py_INCREF(Py_None
); resultobj
= Py_None
;
33967 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33968 PyObject
*resultobj
;
33969 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33971 PyObject
* obj0
= 0 ;
33972 PyObject
* obj1
= 0 ;
33973 char *kwnames
[] = {
33974 (char *) "self",(char *) "ratio", NULL
33977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
33978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33980 arg2
= (float) SWIG_AsFloat(obj1
);
33981 if (PyErr_Occurred()) SWIG_fail
;
33983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33984 (arg1
)->SetRatio(arg2
);
33986 wxPyEndAllowThreads(__tstate
);
33987 if (PyErr_Occurred()) SWIG_fail
;
33989 Py_INCREF(Py_None
); resultobj
= Py_None
;
33996 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33997 PyObject
*resultobj
;
33998 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34000 PyObject
* obj0
= 0 ;
34001 char *kwnames
[] = {
34002 (char *) "self", NULL
34005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34010 result
= (float)(arg1
)->GetRatio();
34012 wxPyEndAllowThreads(__tstate
);
34013 if (PyErr_Occurred()) SWIG_fail
;
34015 resultobj
= SWIG_FromFloat((float)result
);
34022 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34023 PyObject
*resultobj
;
34024 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34026 PyObject
* obj0
= 0 ;
34027 char *kwnames
[] = {
34028 (char *) "self", NULL
34031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34036 result
= (bool)(arg1
)->IsWindow();
34038 wxPyEndAllowThreads(__tstate
);
34039 if (PyErr_Occurred()) SWIG_fail
;
34042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34050 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34051 PyObject
*resultobj
;
34052 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34054 PyObject
* obj0
= 0 ;
34055 char *kwnames
[] = {
34056 (char *) "self", NULL
34059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34064 result
= (bool)(arg1
)->IsSizer();
34066 wxPyEndAllowThreads(__tstate
);
34067 if (PyErr_Occurred()) SWIG_fail
;
34070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34078 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34079 PyObject
*resultobj
;
34080 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34082 PyObject
* obj0
= 0 ;
34083 char *kwnames
[] = {
34084 (char *) "self", NULL
34087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34092 result
= (bool)(arg1
)->IsSpacer();
34094 wxPyEndAllowThreads(__tstate
);
34095 if (PyErr_Occurred()) SWIG_fail
;
34098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34106 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34107 PyObject
*resultobj
;
34108 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34110 PyObject
* obj0
= 0 ;
34111 PyObject
* obj1
= 0 ;
34112 char *kwnames
[] = {
34113 (char *) "self",(char *) "proportion", NULL
34116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34119 arg2
= (int) SWIG_AsInt(obj1
);
34120 if (PyErr_Occurred()) SWIG_fail
;
34122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34123 (arg1
)->SetProportion(arg2
);
34125 wxPyEndAllowThreads(__tstate
);
34126 if (PyErr_Occurred()) SWIG_fail
;
34128 Py_INCREF(Py_None
); resultobj
= Py_None
;
34135 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34136 PyObject
*resultobj
;
34137 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34139 PyObject
* obj0
= 0 ;
34140 char *kwnames
[] = {
34141 (char *) "self", NULL
34144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34149 result
= (int)(arg1
)->GetProportion();
34151 wxPyEndAllowThreads(__tstate
);
34152 if (PyErr_Occurred()) SWIG_fail
;
34154 resultobj
= SWIG_FromInt((int)result
);
34161 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34162 PyObject
*resultobj
;
34163 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34165 PyObject
* obj0
= 0 ;
34166 PyObject
* obj1
= 0 ;
34167 char *kwnames
[] = {
34168 (char *) "self",(char *) "flag", NULL
34171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34174 arg2
= (int) SWIG_AsInt(obj1
);
34175 if (PyErr_Occurred()) SWIG_fail
;
34177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34178 (arg1
)->SetFlag(arg2
);
34180 wxPyEndAllowThreads(__tstate
);
34181 if (PyErr_Occurred()) SWIG_fail
;
34183 Py_INCREF(Py_None
); resultobj
= Py_None
;
34190 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34191 PyObject
*resultobj
;
34192 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34194 PyObject
* obj0
= 0 ;
34195 char *kwnames
[] = {
34196 (char *) "self", NULL
34199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34204 result
= (int)(arg1
)->GetFlag();
34206 wxPyEndAllowThreads(__tstate
);
34207 if (PyErr_Occurred()) SWIG_fail
;
34209 resultobj
= SWIG_FromInt((int)result
);
34216 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34217 PyObject
*resultobj
;
34218 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34220 PyObject
* obj0
= 0 ;
34221 PyObject
* obj1
= 0 ;
34222 char *kwnames
[] = {
34223 (char *) "self",(char *) "border", NULL
34226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34229 arg2
= (int) SWIG_AsInt(obj1
);
34230 if (PyErr_Occurred()) SWIG_fail
;
34232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34233 (arg1
)->SetBorder(arg2
);
34235 wxPyEndAllowThreads(__tstate
);
34236 if (PyErr_Occurred()) SWIG_fail
;
34238 Py_INCREF(Py_None
); resultobj
= Py_None
;
34245 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34246 PyObject
*resultobj
;
34247 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34249 PyObject
* obj0
= 0 ;
34250 char *kwnames
[] = {
34251 (char *) "self", NULL
34254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34259 result
= (int)(arg1
)->GetBorder();
34261 wxPyEndAllowThreads(__tstate
);
34262 if (PyErr_Occurred()) SWIG_fail
;
34264 resultobj
= SWIG_FromInt((int)result
);
34271 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34272 PyObject
*resultobj
;
34273 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34275 PyObject
* obj0
= 0 ;
34276 char *kwnames
[] = {
34277 (char *) "self", NULL
34280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34285 result
= (wxWindow
*)(arg1
)->GetWindow();
34287 wxPyEndAllowThreads(__tstate
);
34288 if (PyErr_Occurred()) SWIG_fail
;
34291 resultobj
= wxPyMake_wxObject(result
);
34299 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34300 PyObject
*resultobj
;
34301 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34302 wxWindow
*arg2
= (wxWindow
*) 0 ;
34303 PyObject
* obj0
= 0 ;
34304 PyObject
* obj1
= 0 ;
34305 char *kwnames
[] = {
34306 (char *) "self",(char *) "window", NULL
34309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34316 (arg1
)->SetWindow(arg2
);
34318 wxPyEndAllowThreads(__tstate
);
34319 if (PyErr_Occurred()) SWIG_fail
;
34321 Py_INCREF(Py_None
); resultobj
= Py_None
;
34328 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34329 PyObject
*resultobj
;
34330 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34332 PyObject
* obj0
= 0 ;
34333 char *kwnames
[] = {
34334 (char *) "self", NULL
34337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34342 result
= (wxSizer
*)(arg1
)->GetSizer();
34344 wxPyEndAllowThreads(__tstate
);
34345 if (PyErr_Occurred()) SWIG_fail
;
34348 resultobj
= wxPyMake_wxSizer(result
);
34356 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34357 PyObject
*resultobj
;
34358 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34359 wxSizer
*arg2
= (wxSizer
*) 0 ;
34360 PyObject
* obj0
= 0 ;
34361 PyObject
* obj1
= 0 ;
34362 char *kwnames
[] = {
34363 (char *) "self",(char *) "sizer", NULL
34366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34373 (arg1
)->SetSizer(arg2
);
34375 wxPyEndAllowThreads(__tstate
);
34376 if (PyErr_Occurred()) SWIG_fail
;
34378 Py_INCREF(Py_None
); resultobj
= Py_None
;
34385 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34386 PyObject
*resultobj
;
34387 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34389 PyObject
* obj0
= 0 ;
34390 char *kwnames
[] = {
34391 (char *) "self", NULL
34394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34400 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34401 result
= (wxSize
*) &_result_ref
;
34404 wxPyEndAllowThreads(__tstate
);
34405 if (PyErr_Occurred()) SWIG_fail
;
34407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34414 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34415 PyObject
*resultobj
;
34416 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34419 PyObject
* obj0
= 0 ;
34420 PyObject
* obj1
= 0 ;
34421 char *kwnames
[] = {
34422 (char *) "self",(char *) "size", NULL
34425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34430 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34434 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34436 wxPyEndAllowThreads(__tstate
);
34437 if (PyErr_Occurred()) SWIG_fail
;
34439 Py_INCREF(Py_None
); resultobj
= Py_None
;
34446 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34447 PyObject
*resultobj
;
34448 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34450 PyObject
* obj0
= 0 ;
34451 PyObject
* obj1
= 0 ;
34452 char *kwnames
[] = {
34453 (char *) "self",(char *) "show", NULL
34456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34459 arg2
= (bool) SWIG_AsBool(obj1
);
34460 if (PyErr_Occurred()) SWIG_fail
;
34462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34463 (arg1
)->Show(arg2
);
34465 wxPyEndAllowThreads(__tstate
);
34466 if (PyErr_Occurred()) SWIG_fail
;
34468 Py_INCREF(Py_None
); resultobj
= Py_None
;
34475 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34476 PyObject
*resultobj
;
34477 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34479 PyObject
* obj0
= 0 ;
34480 char *kwnames
[] = {
34481 (char *) "self", NULL
34484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34489 result
= (bool)(arg1
)->IsShown();
34491 wxPyEndAllowThreads(__tstate
);
34492 if (PyErr_Occurred()) SWIG_fail
;
34495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34503 static PyObject
*_wrap_SizerItem_GetPosition(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_GetPosition",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
)->GetPosition();
34519 wxPyEndAllowThreads(__tstate
);
34520 if (PyErr_Occurred()) SWIG_fail
;
34523 wxPoint
* resultptr
;
34524 resultptr
= new wxPoint((wxPoint
&) result
);
34525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34533 static PyObject
*_wrap_SizerItem_GetUserData(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_GetUserData",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
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34549 wxPyEndAllowThreads(__tstate
);
34550 if (PyErr_Occurred()) SWIG_fail
;
34552 resultobj
= result
;
34559 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34562 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
34564 return Py_BuildValue((char *)"");
34566 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34567 PyObject
*resultobj
;
34568 wxSizer
*arg1
= (wxSizer
*) 0 ;
34569 PyObject
*arg2
= (PyObject
*) 0 ;
34570 PyObject
* obj0
= 0 ;
34571 PyObject
* obj1
= 0 ;
34572 char *kwnames
[] = {
34573 (char *) "self",(char *) "_self", NULL
34576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
34577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34582 wxSizer__setOORInfo(arg1
,arg2
);
34584 wxPyEndAllowThreads(__tstate
);
34585 if (PyErr_Occurred()) SWIG_fail
;
34587 Py_INCREF(Py_None
); resultobj
= Py_None
;
34594 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34595 PyObject
*resultobj
;
34596 wxSizer
*arg1
= (wxSizer
*) 0 ;
34597 PyObject
*arg2
= (PyObject
*) 0 ;
34598 int arg3
= (int) 0 ;
34599 int arg4
= (int) 0 ;
34600 int arg5
= (int) 0 ;
34601 PyObject
*arg6
= (PyObject
*) NULL
;
34602 PyObject
* obj0
= 0 ;
34603 PyObject
* obj1
= 0 ;
34604 PyObject
* obj2
= 0 ;
34605 PyObject
* obj3
= 0 ;
34606 PyObject
* obj4
= 0 ;
34607 PyObject
* obj5
= 0 ;
34608 char *kwnames
[] = {
34609 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34617 arg3
= (int) SWIG_AsInt(obj2
);
34618 if (PyErr_Occurred()) SWIG_fail
;
34621 arg4
= (int) SWIG_AsInt(obj3
);
34622 if (PyErr_Occurred()) SWIG_fail
;
34625 arg5
= (int) SWIG_AsInt(obj4
);
34626 if (PyErr_Occurred()) SWIG_fail
;
34632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34633 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34635 wxPyEndAllowThreads(__tstate
);
34636 if (PyErr_Occurred()) SWIG_fail
;
34638 Py_INCREF(Py_None
); resultobj
= Py_None
;
34645 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34646 PyObject
*resultobj
;
34647 wxSizer
*arg1
= (wxSizer
*) 0 ;
34649 PyObject
*arg3
= (PyObject
*) 0 ;
34650 int arg4
= (int) 0 ;
34651 int arg5
= (int) 0 ;
34652 int arg6
= (int) 0 ;
34653 PyObject
*arg7
= (PyObject
*) NULL
;
34654 PyObject
* obj0
= 0 ;
34655 PyObject
* obj1
= 0 ;
34656 PyObject
* obj2
= 0 ;
34657 PyObject
* obj3
= 0 ;
34658 PyObject
* obj4
= 0 ;
34659 PyObject
* obj5
= 0 ;
34660 PyObject
* obj6
= 0 ;
34661 char *kwnames
[] = {
34662 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34668 arg2
= (int) SWIG_AsInt(obj1
);
34669 if (PyErr_Occurred()) SWIG_fail
;
34672 arg4
= (int) SWIG_AsInt(obj3
);
34673 if (PyErr_Occurred()) SWIG_fail
;
34676 arg5
= (int) SWIG_AsInt(obj4
);
34677 if (PyErr_Occurred()) SWIG_fail
;
34680 arg6
= (int) SWIG_AsInt(obj5
);
34681 if (PyErr_Occurred()) SWIG_fail
;
34687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34688 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34690 wxPyEndAllowThreads(__tstate
);
34691 if (PyErr_Occurred()) SWIG_fail
;
34693 Py_INCREF(Py_None
); resultobj
= Py_None
;
34700 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34701 PyObject
*resultobj
;
34702 wxSizer
*arg1
= (wxSizer
*) 0 ;
34703 PyObject
*arg2
= (PyObject
*) 0 ;
34704 int arg3
= (int) 0 ;
34705 int arg4
= (int) 0 ;
34706 int arg5
= (int) 0 ;
34707 PyObject
*arg6
= (PyObject
*) NULL
;
34708 PyObject
* obj0
= 0 ;
34709 PyObject
* obj1
= 0 ;
34710 PyObject
* obj2
= 0 ;
34711 PyObject
* obj3
= 0 ;
34712 PyObject
* obj4
= 0 ;
34713 PyObject
* obj5
= 0 ;
34714 char *kwnames
[] = {
34715 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34723 arg3
= (int) SWIG_AsInt(obj2
);
34724 if (PyErr_Occurred()) SWIG_fail
;
34727 arg4
= (int) SWIG_AsInt(obj3
);
34728 if (PyErr_Occurred()) SWIG_fail
;
34731 arg5
= (int) SWIG_AsInt(obj4
);
34732 if (PyErr_Occurred()) SWIG_fail
;
34738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34739 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34741 wxPyEndAllowThreads(__tstate
);
34742 if (PyErr_Occurred()) SWIG_fail
;
34744 Py_INCREF(Py_None
); resultobj
= Py_None
;
34751 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34752 PyObject
*resultobj
;
34753 wxSizer
*arg1
= (wxSizer
*) 0 ;
34754 PyObject
*arg2
= (PyObject
*) 0 ;
34756 PyObject
* obj0
= 0 ;
34757 PyObject
* obj1
= 0 ;
34758 char *kwnames
[] = {
34759 (char *) "self",(char *) "item", NULL
34762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34768 result
= (bool)wxSizer_Remove(arg1
,arg2
);
34770 wxPyEndAllowThreads(__tstate
);
34771 if (PyErr_Occurred()) SWIG_fail
;
34774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34782 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34783 PyObject
*resultobj
;
34784 wxSizer
*arg1
= (wxSizer
*) 0 ;
34785 PyObject
*arg2
= (PyObject
*) 0 ;
34788 PyObject
* obj0
= 0 ;
34789 PyObject
* obj1
= 0 ;
34790 PyObject
* obj2
= 0 ;
34791 char *kwnames
[] = {
34792 (char *) "self",(char *) "item",(char *) "size", NULL
34795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34801 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
34804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34805 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
34807 wxPyEndAllowThreads(__tstate
);
34808 if (PyErr_Occurred()) SWIG_fail
;
34810 Py_INCREF(Py_None
); resultobj
= Py_None
;
34817 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34818 PyObject
*resultobj
;
34819 wxSizer
*arg1
= (wxSizer
*) 0 ;
34820 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34821 PyObject
* obj0
= 0 ;
34822 PyObject
* obj1
= 0 ;
34823 char *kwnames
[] = {
34824 (char *) "self",(char *) "item", NULL
34827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34836 wxPyEndAllowThreads(__tstate
);
34837 if (PyErr_Occurred()) SWIG_fail
;
34839 Py_INCREF(Py_None
); resultobj
= Py_None
;
34846 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34847 PyObject
*resultobj
;
34848 wxSizer
*arg1
= (wxSizer
*) 0 ;
34850 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
34851 PyObject
* obj0
= 0 ;
34852 PyObject
* obj1
= 0 ;
34853 PyObject
* obj2
= 0 ;
34854 char *kwnames
[] = {
34855 (char *) "self",(char *) "index",(char *) "item", NULL
34858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34861 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34862 if (PyErr_Occurred()) SWIG_fail
;
34863 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
34864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34867 (arg1
)->Insert(arg2
,arg3
);
34869 wxPyEndAllowThreads(__tstate
);
34870 if (PyErr_Occurred()) SWIG_fail
;
34872 Py_INCREF(Py_None
); resultobj
= Py_None
;
34879 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34880 PyObject
*resultobj
;
34881 wxSizer
*arg1
= (wxSizer
*) 0 ;
34882 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34883 PyObject
* obj0
= 0 ;
34884 PyObject
* obj1
= 0 ;
34885 char *kwnames
[] = {
34886 (char *) "self",(char *) "item", NULL
34889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34896 (arg1
)->Prepend(arg2
);
34898 wxPyEndAllowThreads(__tstate
);
34899 if (PyErr_Occurred()) SWIG_fail
;
34901 Py_INCREF(Py_None
); resultobj
= Py_None
;
34908 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34909 PyObject
*resultobj
;
34910 wxSizer
*arg1
= (wxSizer
*) 0 ;
34915 PyObject
* obj0
= 0 ;
34916 PyObject
* obj1
= 0 ;
34917 PyObject
* obj2
= 0 ;
34918 PyObject
* obj3
= 0 ;
34919 PyObject
* obj4
= 0 ;
34920 char *kwnames
[] = {
34921 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34927 arg2
= (int) SWIG_AsInt(obj1
);
34928 if (PyErr_Occurred()) SWIG_fail
;
34929 arg3
= (int) SWIG_AsInt(obj2
);
34930 if (PyErr_Occurred()) SWIG_fail
;
34931 arg4
= (int) SWIG_AsInt(obj3
);
34932 if (PyErr_Occurred()) SWIG_fail
;
34933 arg5
= (int) SWIG_AsInt(obj4
);
34934 if (PyErr_Occurred()) SWIG_fail
;
34936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34937 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
34939 wxPyEndAllowThreads(__tstate
);
34940 if (PyErr_Occurred()) SWIG_fail
;
34942 Py_INCREF(Py_None
); resultobj
= Py_None
;
34949 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34950 PyObject
*resultobj
;
34951 wxSizer
*arg1
= (wxSizer
*) 0 ;
34954 PyObject
* obj0
= 0 ;
34955 PyObject
* obj1
= 0 ;
34956 char *kwnames
[] = {
34957 (char *) "self",(char *) "size", NULL
34960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34965 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34969 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
34971 wxPyEndAllowThreads(__tstate
);
34972 if (PyErr_Occurred()) SWIG_fail
;
34974 Py_INCREF(Py_None
); resultobj
= Py_None
;
34981 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34982 PyObject
*resultobj
;
34983 wxSizer
*arg1
= (wxSizer
*) 0 ;
34985 PyObject
* obj0
= 0 ;
34986 char *kwnames
[] = {
34987 (char *) "self", NULL
34990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
34991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34995 result
= (arg1
)->GetSize();
34997 wxPyEndAllowThreads(__tstate
);
34998 if (PyErr_Occurred()) SWIG_fail
;
35001 wxSize
* resultptr
;
35002 resultptr
= new wxSize((wxSize
&) result
);
35003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35011 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35012 PyObject
*resultobj
;
35013 wxSizer
*arg1
= (wxSizer
*) 0 ;
35015 PyObject
* obj0
= 0 ;
35016 char *kwnames
[] = {
35017 (char *) "self", NULL
35020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35025 result
= (arg1
)->GetPosition();
35027 wxPyEndAllowThreads(__tstate
);
35028 if (PyErr_Occurred()) SWIG_fail
;
35031 wxPoint
* resultptr
;
35032 resultptr
= new wxPoint((wxPoint
&) result
);
35033 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35041 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35042 PyObject
*resultobj
;
35043 wxSizer
*arg1
= (wxSizer
*) 0 ;
35045 PyObject
* obj0
= 0 ;
35046 char *kwnames
[] = {
35047 (char *) "self", NULL
35050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35055 result
= (arg1
)->GetMinSize();
35057 wxPyEndAllowThreads(__tstate
);
35058 if (PyErr_Occurred()) SWIG_fail
;
35061 wxSize
* resultptr
;
35062 resultptr
= new wxSize((wxSize
&) result
);
35063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35071 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35072 PyObject
*resultobj
;
35073 wxSizer
*arg1
= (wxSizer
*) 0 ;
35074 PyObject
* obj0
= 0 ;
35075 char *kwnames
[] = {
35076 (char *) "self", NULL
35079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35084 (arg1
)->RecalcSizes();
35086 wxPyEndAllowThreads(__tstate
);
35087 if (PyErr_Occurred()) SWIG_fail
;
35089 Py_INCREF(Py_None
); resultobj
= Py_None
;
35096 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35097 PyObject
*resultobj
;
35098 wxSizer
*arg1
= (wxSizer
*) 0 ;
35100 PyObject
* obj0
= 0 ;
35101 char *kwnames
[] = {
35102 (char *) "self", NULL
35105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35110 result
= (arg1
)->CalcMin();
35112 wxPyEndAllowThreads(__tstate
);
35113 if (PyErr_Occurred()) SWIG_fail
;
35116 wxSize
* resultptr
;
35117 resultptr
= new wxSize((wxSize
&) result
);
35118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35126 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35127 PyObject
*resultobj
;
35128 wxSizer
*arg1
= (wxSizer
*) 0 ;
35129 PyObject
* obj0
= 0 ;
35130 char *kwnames
[] = {
35131 (char *) "self", NULL
35134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35141 wxPyEndAllowThreads(__tstate
);
35142 if (PyErr_Occurred()) SWIG_fail
;
35144 Py_INCREF(Py_None
); resultobj
= Py_None
;
35151 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35152 PyObject
*resultobj
;
35153 wxSizer
*arg1
= (wxSizer
*) 0 ;
35154 wxWindow
*arg2
= (wxWindow
*) 0 ;
35156 PyObject
* obj0
= 0 ;
35157 PyObject
* obj1
= 0 ;
35158 char *kwnames
[] = {
35159 (char *) "self",(char *) "window", NULL
35162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35169 result
= (arg1
)->Fit(arg2
);
35171 wxPyEndAllowThreads(__tstate
);
35172 if (PyErr_Occurred()) SWIG_fail
;
35175 wxSize
* resultptr
;
35176 resultptr
= new wxSize((wxSize
&) result
);
35177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35185 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35186 PyObject
*resultobj
;
35187 wxSizer
*arg1
= (wxSizer
*) 0 ;
35188 wxWindow
*arg2
= (wxWindow
*) 0 ;
35189 PyObject
* obj0
= 0 ;
35190 PyObject
* obj1
= 0 ;
35191 char *kwnames
[] = {
35192 (char *) "self",(char *) "window", NULL
35195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35202 (arg1
)->FitInside(arg2
);
35204 wxPyEndAllowThreads(__tstate
);
35205 if (PyErr_Occurred()) SWIG_fail
;
35207 Py_INCREF(Py_None
); resultobj
= Py_None
;
35214 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35215 PyObject
*resultobj
;
35216 wxSizer
*arg1
= (wxSizer
*) 0 ;
35217 wxWindow
*arg2
= (wxWindow
*) 0 ;
35218 PyObject
* obj0
= 0 ;
35219 PyObject
* obj1
= 0 ;
35220 char *kwnames
[] = {
35221 (char *) "self",(char *) "window", NULL
35224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35231 (arg1
)->SetSizeHints(arg2
);
35233 wxPyEndAllowThreads(__tstate
);
35234 if (PyErr_Occurred()) SWIG_fail
;
35236 Py_INCREF(Py_None
); resultobj
= Py_None
;
35243 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35244 PyObject
*resultobj
;
35245 wxSizer
*arg1
= (wxSizer
*) 0 ;
35246 wxWindow
*arg2
= (wxWindow
*) 0 ;
35247 PyObject
* obj0
= 0 ;
35248 PyObject
* obj1
= 0 ;
35249 char *kwnames
[] = {
35250 (char *) "self",(char *) "window", NULL
35253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35260 (arg1
)->SetVirtualSizeHints(arg2
);
35262 wxPyEndAllowThreads(__tstate
);
35263 if (PyErr_Occurred()) SWIG_fail
;
35265 Py_INCREF(Py_None
); resultobj
= Py_None
;
35272 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35273 PyObject
*resultobj
;
35274 wxSizer
*arg1
= (wxSizer
*) 0 ;
35275 bool arg2
= (bool) False
;
35276 PyObject
* obj0
= 0 ;
35277 PyObject
* obj1
= 0 ;
35278 char *kwnames
[] = {
35279 (char *) "self",(char *) "delete_windows", NULL
35282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35286 arg2
= (bool) SWIG_AsBool(obj1
);
35287 if (PyErr_Occurred()) SWIG_fail
;
35290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35291 (arg1
)->Clear(arg2
);
35293 wxPyEndAllowThreads(__tstate
);
35294 if (PyErr_Occurred()) SWIG_fail
;
35296 Py_INCREF(Py_None
); resultobj
= Py_None
;
35303 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35304 PyObject
*resultobj
;
35305 wxSizer
*arg1
= (wxSizer
*) 0 ;
35306 PyObject
* obj0
= 0 ;
35307 char *kwnames
[] = {
35308 (char *) "self", NULL
35311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35316 (arg1
)->DeleteWindows();
35318 wxPyEndAllowThreads(__tstate
);
35319 if (PyErr_Occurred()) SWIG_fail
;
35321 Py_INCREF(Py_None
); resultobj
= Py_None
;
35328 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35329 PyObject
*resultobj
;
35330 wxSizer
*arg1
= (wxSizer
*) 0 ;
35332 PyObject
* obj0
= 0 ;
35333 char *kwnames
[] = {
35334 (char *) "self", NULL
35337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35342 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35344 wxPyEndAllowThreads(__tstate
);
35345 if (PyErr_Occurred()) SWIG_fail
;
35347 resultobj
= result
;
35354 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35355 PyObject
*resultobj
;
35356 wxSizer
*arg1
= (wxSizer
*) 0 ;
35357 PyObject
*arg2
= (PyObject
*) 0 ;
35358 bool arg3
= (bool) True
;
35359 PyObject
* obj0
= 0 ;
35360 PyObject
* obj1
= 0 ;
35361 PyObject
* obj2
= 0 ;
35362 char *kwnames
[] = {
35363 (char *) "self",(char *) "item",(char *) "show", NULL
35366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35371 arg3
= (bool) SWIG_AsBool(obj2
);
35372 if (PyErr_Occurred()) SWIG_fail
;
35375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35376 wxSizer_Show(arg1
,arg2
,arg3
);
35378 wxPyEndAllowThreads(__tstate
);
35379 if (PyErr_Occurred()) SWIG_fail
;
35381 Py_INCREF(Py_None
); resultobj
= Py_None
;
35388 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35389 PyObject
*resultobj
;
35390 wxSizer
*arg1
= (wxSizer
*) 0 ;
35391 PyObject
*arg2
= (PyObject
*) 0 ;
35392 PyObject
* obj0
= 0 ;
35393 PyObject
* obj1
= 0 ;
35394 char *kwnames
[] = {
35395 (char *) "self",(char *) "item", NULL
35398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
35399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35404 wxSizer_Hide(arg1
,arg2
);
35406 wxPyEndAllowThreads(__tstate
);
35407 if (PyErr_Occurred()) SWIG_fail
;
35409 Py_INCREF(Py_None
); resultobj
= Py_None
;
35416 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35417 PyObject
*resultobj
;
35418 wxSizer
*arg1
= (wxSizer
*) 0 ;
35419 PyObject
*arg2
= (PyObject
*) 0 ;
35421 PyObject
* obj0
= 0 ;
35422 PyObject
* obj1
= 0 ;
35423 char *kwnames
[] = {
35424 (char *) "self",(char *) "item", NULL
35427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35433 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35435 wxPyEndAllowThreads(__tstate
);
35436 if (PyErr_Occurred()) SWIG_fail
;
35439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35447 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35448 PyObject
*resultobj
;
35449 wxSizer
*arg1
= (wxSizer
*) 0 ;
35451 PyObject
* obj0
= 0 ;
35452 PyObject
* obj1
= 0 ;
35453 char *kwnames
[] = {
35454 (char *) "self",(char *) "show", NULL
35457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35460 arg2
= (bool) SWIG_AsBool(obj1
);
35461 if (PyErr_Occurred()) SWIG_fail
;
35463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35464 (arg1
)->ShowItems(arg2
);
35466 wxPyEndAllowThreads(__tstate
);
35467 if (PyErr_Occurred()) SWIG_fail
;
35469 Py_INCREF(Py_None
); resultobj
= Py_None
;
35476 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35479 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35481 return Py_BuildValue((char *)"");
35483 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35484 PyObject
*resultobj
;
35486 char *kwnames
[] = {
35490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35493 result
= (wxPySizer
*)new wxPySizer();
35495 wxPyEndAllowThreads(__tstate
);
35496 if (PyErr_Occurred()) SWIG_fail
;
35498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35505 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35506 PyObject
*resultobj
;
35507 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35508 PyObject
*arg2
= (PyObject
*) 0 ;
35509 PyObject
*arg3
= (PyObject
*) 0 ;
35510 PyObject
* obj0
= 0 ;
35511 PyObject
* obj1
= 0 ;
35512 PyObject
* obj2
= 0 ;
35513 char *kwnames
[] = {
35514 (char *) "self",(char *) "self",(char *) "_class", NULL
35517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35524 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35526 wxPyEndAllowThreads(__tstate
);
35527 if (PyErr_Occurred()) SWIG_fail
;
35529 Py_INCREF(Py_None
); resultobj
= Py_None
;
35536 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35539 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35541 return Py_BuildValue((char *)"");
35543 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35544 PyObject
*resultobj
;
35545 int arg1
= (int) wxHORIZONTAL
;
35546 wxBoxSizer
*result
;
35547 PyObject
* obj0
= 0 ;
35548 char *kwnames
[] = {
35549 (char *) "orient", NULL
35552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
35554 arg1
= (int) SWIG_AsInt(obj0
);
35555 if (PyErr_Occurred()) SWIG_fail
;
35558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35559 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
35561 wxPyEndAllowThreads(__tstate
);
35562 if (PyErr_Occurred()) SWIG_fail
;
35564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
35571 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35572 PyObject
*resultobj
;
35573 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35575 PyObject
* obj0
= 0 ;
35576 char *kwnames
[] = {
35577 (char *) "self", NULL
35580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
35581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35585 result
= (int)(arg1
)->GetOrientation();
35587 wxPyEndAllowThreads(__tstate
);
35588 if (PyErr_Occurred()) SWIG_fail
;
35590 resultobj
= SWIG_FromInt((int)result
);
35597 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35598 PyObject
*resultobj
;
35599 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35601 PyObject
* obj0
= 0 ;
35602 PyObject
* obj1
= 0 ;
35603 char *kwnames
[] = {
35604 (char *) "self",(char *) "orient", NULL
35607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
35608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35610 arg2
= (int) SWIG_AsInt(obj1
);
35611 if (PyErr_Occurred()) SWIG_fail
;
35613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35614 (arg1
)->SetOrientation(arg2
);
35616 wxPyEndAllowThreads(__tstate
);
35617 if (PyErr_Occurred()) SWIG_fail
;
35619 Py_INCREF(Py_None
); resultobj
= Py_None
;
35626 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35627 PyObject
*resultobj
;
35628 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35629 PyObject
* obj0
= 0 ;
35630 char *kwnames
[] = {
35631 (char *) "self", NULL
35634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35639 (arg1
)->RecalcSizes();
35641 wxPyEndAllowThreads(__tstate
);
35642 if (PyErr_Occurred()) SWIG_fail
;
35644 Py_INCREF(Py_None
); resultobj
= Py_None
;
35651 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35652 PyObject
*resultobj
;
35653 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35655 PyObject
* obj0
= 0 ;
35656 char *kwnames
[] = {
35657 (char *) "self", NULL
35660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35665 result
= (arg1
)->CalcMin();
35667 wxPyEndAllowThreads(__tstate
);
35668 if (PyErr_Occurred()) SWIG_fail
;
35671 wxSize
* resultptr
;
35672 resultptr
= new wxSize((wxSize
&) result
);
35673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35681 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35684 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
35686 return Py_BuildValue((char *)"");
35688 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35689 PyObject
*resultobj
;
35690 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
35691 int arg2
= (int) wxHORIZONTAL
;
35692 wxStaticBoxSizer
*result
;
35693 PyObject
* obj0
= 0 ;
35694 PyObject
* obj1
= 0 ;
35695 char *kwnames
[] = {
35696 (char *) "box",(char *) "orient", NULL
35699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
35701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35703 arg2
= (int) SWIG_AsInt(obj1
);
35704 if (PyErr_Occurred()) SWIG_fail
;
35707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35708 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
35710 wxPyEndAllowThreads(__tstate
);
35711 if (PyErr_Occurred()) SWIG_fail
;
35713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
35720 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35721 PyObject
*resultobj
;
35722 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35723 wxStaticBox
*result
;
35724 PyObject
* obj0
= 0 ;
35725 char *kwnames
[] = {
35726 (char *) "self", NULL
35729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
35730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35734 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
35736 wxPyEndAllowThreads(__tstate
);
35737 if (PyErr_Occurred()) SWIG_fail
;
35740 resultobj
= wxPyMake_wxObject(result
);
35748 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35749 PyObject
*resultobj
;
35750 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35751 PyObject
* obj0
= 0 ;
35752 char *kwnames
[] = {
35753 (char *) "self", NULL
35756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35761 (arg1
)->RecalcSizes();
35763 wxPyEndAllowThreads(__tstate
);
35764 if (PyErr_Occurred()) SWIG_fail
;
35766 Py_INCREF(Py_None
); resultobj
= Py_None
;
35773 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35774 PyObject
*resultobj
;
35775 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35777 PyObject
* obj0
= 0 ;
35778 char *kwnames
[] = {
35779 (char *) "self", NULL
35782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35787 result
= (arg1
)->CalcMin();
35789 wxPyEndAllowThreads(__tstate
);
35790 if (PyErr_Occurred()) SWIG_fail
;
35793 wxSize
* resultptr
;
35794 resultptr
= new wxSize((wxSize
&) result
);
35795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35803 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35806 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
35808 return Py_BuildValue((char *)"");
35810 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35811 PyObject
*resultobj
;
35812 int arg1
= (int) 1 ;
35813 int arg2
= (int) 0 ;
35814 int arg3
= (int) 0 ;
35815 int arg4
= (int) 0 ;
35816 wxGridSizer
*result
;
35817 PyObject
* obj0
= 0 ;
35818 PyObject
* obj1
= 0 ;
35819 PyObject
* obj2
= 0 ;
35820 PyObject
* obj3
= 0 ;
35821 char *kwnames
[] = {
35822 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35827 arg1
= (int) SWIG_AsInt(obj0
);
35828 if (PyErr_Occurred()) SWIG_fail
;
35831 arg2
= (int) SWIG_AsInt(obj1
);
35832 if (PyErr_Occurred()) SWIG_fail
;
35835 arg3
= (int) SWIG_AsInt(obj2
);
35836 if (PyErr_Occurred()) SWIG_fail
;
35839 arg4
= (int) SWIG_AsInt(obj3
);
35840 if (PyErr_Occurred()) SWIG_fail
;
35843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35844 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
35846 wxPyEndAllowThreads(__tstate
);
35847 if (PyErr_Occurred()) SWIG_fail
;
35849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
35856 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35857 PyObject
*resultobj
;
35858 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35859 PyObject
* obj0
= 0 ;
35860 char *kwnames
[] = {
35861 (char *) "self", NULL
35864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35869 (arg1
)->RecalcSizes();
35871 wxPyEndAllowThreads(__tstate
);
35872 if (PyErr_Occurred()) SWIG_fail
;
35874 Py_INCREF(Py_None
); resultobj
= Py_None
;
35881 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35882 PyObject
*resultobj
;
35883 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35885 PyObject
* obj0
= 0 ;
35886 char *kwnames
[] = {
35887 (char *) "self", NULL
35890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35895 result
= (arg1
)->CalcMin();
35897 wxPyEndAllowThreads(__tstate
);
35898 if (PyErr_Occurred()) SWIG_fail
;
35901 wxSize
* resultptr
;
35902 resultptr
= new wxSize((wxSize
&) result
);
35903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35911 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35912 PyObject
*resultobj
;
35913 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35915 PyObject
* obj0
= 0 ;
35916 PyObject
* obj1
= 0 ;
35917 char *kwnames
[] = {
35918 (char *) "self",(char *) "cols", NULL
35921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
35922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35924 arg2
= (int) SWIG_AsInt(obj1
);
35925 if (PyErr_Occurred()) SWIG_fail
;
35927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35928 (arg1
)->SetCols(arg2
);
35930 wxPyEndAllowThreads(__tstate
);
35931 if (PyErr_Occurred()) SWIG_fail
;
35933 Py_INCREF(Py_None
); resultobj
= Py_None
;
35940 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35941 PyObject
*resultobj
;
35942 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35944 PyObject
* obj0
= 0 ;
35945 PyObject
* obj1
= 0 ;
35946 char *kwnames
[] = {
35947 (char *) "self",(char *) "rows", NULL
35950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
35951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35953 arg2
= (int) SWIG_AsInt(obj1
);
35954 if (PyErr_Occurred()) SWIG_fail
;
35956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35957 (arg1
)->SetRows(arg2
);
35959 wxPyEndAllowThreads(__tstate
);
35960 if (PyErr_Occurred()) SWIG_fail
;
35962 Py_INCREF(Py_None
); resultobj
= Py_None
;
35969 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35970 PyObject
*resultobj
;
35971 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35973 PyObject
* obj0
= 0 ;
35974 PyObject
* obj1
= 0 ;
35975 char *kwnames
[] = {
35976 (char *) "self",(char *) "gap", NULL
35979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35982 arg2
= (int) SWIG_AsInt(obj1
);
35983 if (PyErr_Occurred()) SWIG_fail
;
35985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35986 (arg1
)->SetVGap(arg2
);
35988 wxPyEndAllowThreads(__tstate
);
35989 if (PyErr_Occurred()) SWIG_fail
;
35991 Py_INCREF(Py_None
); resultobj
= Py_None
;
35998 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35999 PyObject
*resultobj
;
36000 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36002 PyObject
* obj0
= 0 ;
36003 PyObject
* obj1
= 0 ;
36004 char *kwnames
[] = {
36005 (char *) "self",(char *) "gap", NULL
36008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36011 arg2
= (int) SWIG_AsInt(obj1
);
36012 if (PyErr_Occurred()) SWIG_fail
;
36014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36015 (arg1
)->SetHGap(arg2
);
36017 wxPyEndAllowThreads(__tstate
);
36018 if (PyErr_Occurred()) SWIG_fail
;
36020 Py_INCREF(Py_None
); resultobj
= Py_None
;
36027 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36028 PyObject
*resultobj
;
36029 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36031 PyObject
* obj0
= 0 ;
36032 char *kwnames
[] = {
36033 (char *) "self", NULL
36036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36041 result
= (int)(arg1
)->GetCols();
36043 wxPyEndAllowThreads(__tstate
);
36044 if (PyErr_Occurred()) SWIG_fail
;
36046 resultobj
= SWIG_FromInt((int)result
);
36053 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36054 PyObject
*resultobj
;
36055 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36057 PyObject
* obj0
= 0 ;
36058 char *kwnames
[] = {
36059 (char *) "self", NULL
36062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36067 result
= (int)(arg1
)->GetRows();
36069 wxPyEndAllowThreads(__tstate
);
36070 if (PyErr_Occurred()) SWIG_fail
;
36072 resultobj
= SWIG_FromInt((int)result
);
36079 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36080 PyObject
*resultobj
;
36081 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36083 PyObject
* obj0
= 0 ;
36084 char *kwnames
[] = {
36085 (char *) "self", NULL
36088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36093 result
= (int)(arg1
)->GetVGap();
36095 wxPyEndAllowThreads(__tstate
);
36096 if (PyErr_Occurred()) SWIG_fail
;
36098 resultobj
= SWIG_FromInt((int)result
);
36105 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36106 PyObject
*resultobj
;
36107 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36109 PyObject
* obj0
= 0 ;
36110 char *kwnames
[] = {
36111 (char *) "self", NULL
36114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36119 result
= (int)(arg1
)->GetHGap();
36121 wxPyEndAllowThreads(__tstate
);
36122 if (PyErr_Occurred()) SWIG_fail
;
36124 resultobj
= SWIG_FromInt((int)result
);
36131 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36134 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36136 return Py_BuildValue((char *)"");
36138 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36139 PyObject
*resultobj
;
36140 int arg1
= (int) 1 ;
36141 int arg2
= (int) 0 ;
36142 int arg3
= (int) 0 ;
36143 int arg4
= (int) 0 ;
36144 wxFlexGridSizer
*result
;
36145 PyObject
* obj0
= 0 ;
36146 PyObject
* obj1
= 0 ;
36147 PyObject
* obj2
= 0 ;
36148 PyObject
* obj3
= 0 ;
36149 char *kwnames
[] = {
36150 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36155 arg1
= (int) SWIG_AsInt(obj0
);
36156 if (PyErr_Occurred()) SWIG_fail
;
36159 arg2
= (int) SWIG_AsInt(obj1
);
36160 if (PyErr_Occurred()) SWIG_fail
;
36163 arg3
= (int) SWIG_AsInt(obj2
);
36164 if (PyErr_Occurred()) SWIG_fail
;
36167 arg4
= (int) SWIG_AsInt(obj3
);
36168 if (PyErr_Occurred()) SWIG_fail
;
36171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36172 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36174 wxPyEndAllowThreads(__tstate
);
36175 if (PyErr_Occurred()) SWIG_fail
;
36177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36184 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36185 PyObject
*resultobj
;
36186 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36187 PyObject
* obj0
= 0 ;
36188 char *kwnames
[] = {
36189 (char *) "self", NULL
36192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36197 (arg1
)->RecalcSizes();
36199 wxPyEndAllowThreads(__tstate
);
36200 if (PyErr_Occurred()) SWIG_fail
;
36202 Py_INCREF(Py_None
); resultobj
= Py_None
;
36209 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36210 PyObject
*resultobj
;
36211 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36213 PyObject
* obj0
= 0 ;
36214 char *kwnames
[] = {
36215 (char *) "self", NULL
36218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36223 result
= (arg1
)->CalcMin();
36225 wxPyEndAllowThreads(__tstate
);
36226 if (PyErr_Occurred()) SWIG_fail
;
36229 wxSize
* resultptr
;
36230 resultptr
= new wxSize((wxSize
&) result
);
36231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36239 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36240 PyObject
*resultobj
;
36241 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36243 int arg3
= (int) 0 ;
36244 PyObject
* obj0
= 0 ;
36245 PyObject
* obj1
= 0 ;
36246 PyObject
* obj2
= 0 ;
36247 char *kwnames
[] = {
36248 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36254 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36255 if (PyErr_Occurred()) SWIG_fail
;
36257 arg3
= (int) SWIG_AsInt(obj2
);
36258 if (PyErr_Occurred()) SWIG_fail
;
36261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36262 (arg1
)->AddGrowableRow(arg2
,arg3
);
36264 wxPyEndAllowThreads(__tstate
);
36265 if (PyErr_Occurred()) SWIG_fail
;
36267 Py_INCREF(Py_None
); resultobj
= Py_None
;
36274 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36275 PyObject
*resultobj
;
36276 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36278 PyObject
* obj0
= 0 ;
36279 PyObject
* obj1
= 0 ;
36280 char *kwnames
[] = {
36281 (char *) "self",(char *) "idx", NULL
36284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36287 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36288 if (PyErr_Occurred()) SWIG_fail
;
36290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36291 (arg1
)->RemoveGrowableRow(arg2
);
36293 wxPyEndAllowThreads(__tstate
);
36294 if (PyErr_Occurred()) SWIG_fail
;
36296 Py_INCREF(Py_None
); resultobj
= Py_None
;
36303 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36304 PyObject
*resultobj
;
36305 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36307 int arg3
= (int) 0 ;
36308 PyObject
* obj0
= 0 ;
36309 PyObject
* obj1
= 0 ;
36310 PyObject
* obj2
= 0 ;
36311 char *kwnames
[] = {
36312 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36318 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36319 if (PyErr_Occurred()) SWIG_fail
;
36321 arg3
= (int) SWIG_AsInt(obj2
);
36322 if (PyErr_Occurred()) SWIG_fail
;
36325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36326 (arg1
)->AddGrowableCol(arg2
,arg3
);
36328 wxPyEndAllowThreads(__tstate
);
36329 if (PyErr_Occurred()) SWIG_fail
;
36331 Py_INCREF(Py_None
); resultobj
= Py_None
;
36338 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36339 PyObject
*resultobj
;
36340 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36342 PyObject
* obj0
= 0 ;
36343 PyObject
* obj1
= 0 ;
36344 char *kwnames
[] = {
36345 (char *) "self",(char *) "idx", NULL
36348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36351 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36352 if (PyErr_Occurred()) SWIG_fail
;
36354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36355 (arg1
)->RemoveGrowableCol(arg2
);
36357 wxPyEndAllowThreads(__tstate
);
36358 if (PyErr_Occurred()) SWIG_fail
;
36360 Py_INCREF(Py_None
); resultobj
= Py_None
;
36367 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36368 PyObject
*resultobj
;
36369 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36371 PyObject
* obj0
= 0 ;
36372 PyObject
* obj1
= 0 ;
36373 char *kwnames
[] = {
36374 (char *) "self",(char *) "direction", NULL
36377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36380 arg2
= (int) SWIG_AsInt(obj1
);
36381 if (PyErr_Occurred()) SWIG_fail
;
36383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36384 (arg1
)->SetFlexibleDirection(arg2
);
36386 wxPyEndAllowThreads(__tstate
);
36387 if (PyErr_Occurred()) SWIG_fail
;
36389 Py_INCREF(Py_None
); resultobj
= Py_None
;
36396 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36397 PyObject
*resultobj
;
36398 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36400 PyObject
* obj0
= 0 ;
36401 char *kwnames
[] = {
36402 (char *) "self", NULL
36405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36410 result
= (int)(arg1
)->GetFlexibleDirection();
36412 wxPyEndAllowThreads(__tstate
);
36413 if (PyErr_Occurred()) SWIG_fail
;
36415 resultobj
= SWIG_FromInt((int)result
);
36422 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36423 PyObject
*resultobj
;
36424 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36426 PyObject
* obj0
= 0 ;
36427 PyObject
* obj1
= 0 ;
36428 char *kwnames
[] = {
36429 (char *) "self",(char *) "mode", NULL
36432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36435 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36436 if (PyErr_Occurred()) SWIG_fail
;
36438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36439 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36441 wxPyEndAllowThreads(__tstate
);
36442 if (PyErr_Occurred()) SWIG_fail
;
36444 Py_INCREF(Py_None
); resultobj
= Py_None
;
36451 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36452 PyObject
*resultobj
;
36453 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36455 PyObject
* obj0
= 0 ;
36456 char *kwnames
[] = {
36457 (char *) "self", NULL
36460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36465 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36467 wxPyEndAllowThreads(__tstate
);
36468 if (PyErr_Occurred()) SWIG_fail
;
36470 resultobj
= SWIG_FromInt((int)result
);
36477 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36478 PyObject
*resultobj
;
36479 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36480 wxArrayInt
*result
;
36481 PyObject
* obj0
= 0 ;
36482 char *kwnames
[] = {
36483 (char *) "self", NULL
36486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36492 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36493 result
= (wxArrayInt
*) &_result_ref
;
36496 wxPyEndAllowThreads(__tstate
);
36497 if (PyErr_Occurred()) SWIG_fail
;
36500 resultobj
= PyList_New(0);
36502 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36503 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36504 PyList_Append(resultobj
, val
);
36514 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36515 PyObject
*resultobj
;
36516 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36517 wxArrayInt
*result
;
36518 PyObject
* obj0
= 0 ;
36519 char *kwnames
[] = {
36520 (char *) "self", NULL
36523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36529 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36530 result
= (wxArrayInt
*) &_result_ref
;
36533 wxPyEndAllowThreads(__tstate
);
36534 if (PyErr_Occurred()) SWIG_fail
;
36537 resultobj
= PyList_New(0);
36539 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36540 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36541 PyList_Append(resultobj
, val
);
36551 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36554 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36556 return Py_BuildValue((char *)"");
36558 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36559 PyObject
*resultobj
;
36560 int arg1
= (int) 0 ;
36561 int arg2
= (int) 0 ;
36562 wxGBPosition
*result
;
36563 PyObject
* obj0
= 0 ;
36564 PyObject
* obj1
= 0 ;
36565 char *kwnames
[] = {
36566 (char *) "row",(char *) "col", NULL
36569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36571 arg1
= (int) SWIG_AsInt(obj0
);
36572 if (PyErr_Occurred()) SWIG_fail
;
36575 arg2
= (int) SWIG_AsInt(obj1
);
36576 if (PyErr_Occurred()) SWIG_fail
;
36579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36580 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36582 wxPyEndAllowThreads(__tstate
);
36583 if (PyErr_Occurred()) SWIG_fail
;
36585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36592 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36593 PyObject
*resultobj
;
36594 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36596 PyObject
* obj0
= 0 ;
36597 char *kwnames
[] = {
36598 (char *) "self", NULL
36601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36606 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36608 wxPyEndAllowThreads(__tstate
);
36609 if (PyErr_Occurred()) SWIG_fail
;
36611 resultobj
= SWIG_FromInt((int)result
);
36618 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36619 PyObject
*resultobj
;
36620 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36622 PyObject
* obj0
= 0 ;
36623 char *kwnames
[] = {
36624 (char *) "self", NULL
36627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36632 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36634 wxPyEndAllowThreads(__tstate
);
36635 if (PyErr_Occurred()) SWIG_fail
;
36637 resultobj
= SWIG_FromInt((int)result
);
36644 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36645 PyObject
*resultobj
;
36646 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36648 PyObject
* obj0
= 0 ;
36649 PyObject
* obj1
= 0 ;
36650 char *kwnames
[] = {
36651 (char *) "self",(char *) "row", NULL
36654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36657 arg2
= (int) SWIG_AsInt(obj1
);
36658 if (PyErr_Occurred()) SWIG_fail
;
36660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36661 (arg1
)->SetRow(arg2
);
36663 wxPyEndAllowThreads(__tstate
);
36664 if (PyErr_Occurred()) SWIG_fail
;
36666 Py_INCREF(Py_None
); resultobj
= Py_None
;
36673 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36674 PyObject
*resultobj
;
36675 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36677 PyObject
* obj0
= 0 ;
36678 PyObject
* obj1
= 0 ;
36679 char *kwnames
[] = {
36680 (char *) "self",(char *) "col", NULL
36683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36686 arg2
= (int) SWIG_AsInt(obj1
);
36687 if (PyErr_Occurred()) SWIG_fail
;
36689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36690 (arg1
)->SetCol(arg2
);
36692 wxPyEndAllowThreads(__tstate
);
36693 if (PyErr_Occurred()) SWIG_fail
;
36695 Py_INCREF(Py_None
); resultobj
= Py_None
;
36702 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36703 PyObject
*resultobj
;
36704 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36705 wxGBPosition
*arg2
= 0 ;
36707 wxGBPosition temp2
;
36708 PyObject
* obj0
= 0 ;
36709 PyObject
* obj1
= 0 ;
36710 char *kwnames
[] = {
36711 (char *) "self",(char *) "other", NULL
36714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36719 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36723 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
36725 wxPyEndAllowThreads(__tstate
);
36726 if (PyErr_Occurred()) SWIG_fail
;
36729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36737 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36738 PyObject
*resultobj
;
36739 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36740 wxGBPosition
*arg2
= 0 ;
36742 wxGBPosition temp2
;
36743 PyObject
* obj0
= 0 ;
36744 PyObject
* obj1
= 0 ;
36745 char *kwnames
[] = {
36746 (char *) "self",(char *) "other", NULL
36749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36754 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36758 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
36760 wxPyEndAllowThreads(__tstate
);
36761 if (PyErr_Occurred()) SWIG_fail
;
36764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36772 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36773 PyObject
*resultobj
;
36774 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36775 int arg2
= (int) 0 ;
36776 int arg3
= (int) 0 ;
36777 PyObject
* obj0
= 0 ;
36778 PyObject
* obj1
= 0 ;
36779 PyObject
* obj2
= 0 ;
36780 char *kwnames
[] = {
36781 (char *) "self",(char *) "row",(char *) "col", NULL
36784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36788 arg2
= (int) SWIG_AsInt(obj1
);
36789 if (PyErr_Occurred()) SWIG_fail
;
36792 arg3
= (int) SWIG_AsInt(obj2
);
36793 if (PyErr_Occurred()) SWIG_fail
;
36796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36797 wxGBPosition_Set(arg1
,arg2
,arg3
);
36799 wxPyEndAllowThreads(__tstate
);
36800 if (PyErr_Occurred()) SWIG_fail
;
36802 Py_INCREF(Py_None
); resultobj
= Py_None
;
36809 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36810 PyObject
*resultobj
;
36811 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36813 PyObject
* obj0
= 0 ;
36814 char *kwnames
[] = {
36815 (char *) "self", NULL
36818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
36819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36823 result
= (PyObject
*)wxGBPosition_Get(arg1
);
36825 wxPyEndAllowThreads(__tstate
);
36826 if (PyErr_Occurred()) SWIG_fail
;
36828 resultobj
= result
;
36835 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
36837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36838 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
36840 return Py_BuildValue((char *)"");
36842 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36843 PyObject
*resultobj
;
36844 int arg1
= (int) 1 ;
36845 int arg2
= (int) 1 ;
36847 PyObject
* obj0
= 0 ;
36848 PyObject
* obj1
= 0 ;
36849 char *kwnames
[] = {
36850 (char *) "rowspan",(char *) "colspan", NULL
36853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36855 arg1
= (int) SWIG_AsInt(obj0
);
36856 if (PyErr_Occurred()) SWIG_fail
;
36859 arg2
= (int) SWIG_AsInt(obj1
);
36860 if (PyErr_Occurred()) SWIG_fail
;
36863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36864 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
36866 wxPyEndAllowThreads(__tstate
);
36867 if (PyErr_Occurred()) SWIG_fail
;
36869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
36876 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36877 PyObject
*resultobj
;
36878 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36880 PyObject
* obj0
= 0 ;
36881 char *kwnames
[] = {
36882 (char *) "self", NULL
36885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
36886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36890 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
36892 wxPyEndAllowThreads(__tstate
);
36893 if (PyErr_Occurred()) SWIG_fail
;
36895 resultobj
= SWIG_FromInt((int)result
);
36902 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36903 PyObject
*resultobj
;
36904 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36906 PyObject
* obj0
= 0 ;
36907 char *kwnames
[] = {
36908 (char *) "self", NULL
36911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
36912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36916 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
36918 wxPyEndAllowThreads(__tstate
);
36919 if (PyErr_Occurred()) SWIG_fail
;
36921 resultobj
= SWIG_FromInt((int)result
);
36928 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36929 PyObject
*resultobj
;
36930 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36932 PyObject
* obj0
= 0 ;
36933 PyObject
* obj1
= 0 ;
36934 char *kwnames
[] = {
36935 (char *) "self",(char *) "rowspan", NULL
36938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36941 arg2
= (int) SWIG_AsInt(obj1
);
36942 if (PyErr_Occurred()) SWIG_fail
;
36944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36945 (arg1
)->SetRowspan(arg2
);
36947 wxPyEndAllowThreads(__tstate
);
36948 if (PyErr_Occurred()) SWIG_fail
;
36950 Py_INCREF(Py_None
); resultobj
= Py_None
;
36957 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36958 PyObject
*resultobj
;
36959 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36961 PyObject
* obj0
= 0 ;
36962 PyObject
* obj1
= 0 ;
36963 char *kwnames
[] = {
36964 (char *) "self",(char *) "colspan", NULL
36967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36970 arg2
= (int) SWIG_AsInt(obj1
);
36971 if (PyErr_Occurred()) SWIG_fail
;
36973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36974 (arg1
)->SetColspan(arg2
);
36976 wxPyEndAllowThreads(__tstate
);
36977 if (PyErr_Occurred()) SWIG_fail
;
36979 Py_INCREF(Py_None
); resultobj
= Py_None
;
36986 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36987 PyObject
*resultobj
;
36988 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36989 wxGBSpan
*arg2
= 0 ;
36992 PyObject
* obj0
= 0 ;
36993 PyObject
* obj1
= 0 ;
36994 char *kwnames
[] = {
36995 (char *) "self",(char *) "other", NULL
36998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37003 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37007 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37009 wxPyEndAllowThreads(__tstate
);
37010 if (PyErr_Occurred()) SWIG_fail
;
37013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37021 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37022 PyObject
*resultobj
;
37023 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37024 wxGBSpan
*arg2
= 0 ;
37027 PyObject
* obj0
= 0 ;
37028 PyObject
* obj1
= 0 ;
37029 char *kwnames
[] = {
37030 (char *) "self",(char *) "other", NULL
37033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37038 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37042 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37044 wxPyEndAllowThreads(__tstate
);
37045 if (PyErr_Occurred()) SWIG_fail
;
37048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37056 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37057 PyObject
*resultobj
;
37058 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37059 int arg2
= (int) 1 ;
37060 int arg3
= (int) 1 ;
37061 PyObject
* obj0
= 0 ;
37062 PyObject
* obj1
= 0 ;
37063 PyObject
* obj2
= 0 ;
37064 char *kwnames
[] = {
37065 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37072 arg2
= (int) SWIG_AsInt(obj1
);
37073 if (PyErr_Occurred()) SWIG_fail
;
37076 arg3
= (int) SWIG_AsInt(obj2
);
37077 if (PyErr_Occurred()) SWIG_fail
;
37080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37081 wxGBSpan_Set(arg1
,arg2
,arg3
);
37083 wxPyEndAllowThreads(__tstate
);
37084 if (PyErr_Occurred()) SWIG_fail
;
37086 Py_INCREF(Py_None
); resultobj
= Py_None
;
37093 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37094 PyObject
*resultobj
;
37095 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37097 PyObject
* obj0
= 0 ;
37098 char *kwnames
[] = {
37099 (char *) "self", NULL
37102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37107 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37109 wxPyEndAllowThreads(__tstate
);
37110 if (PyErr_Occurred()) SWIG_fail
;
37112 resultobj
= result
;
37119 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37122 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37124 return Py_BuildValue((char *)"");
37126 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37127 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37132 static PyObject
*_wrap_DefaultSpan_get() {
37135 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37140 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37141 PyObject
*resultobj
;
37142 wxGBSizerItem
*result
;
37143 char *kwnames
[] = {
37147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37150 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37152 wxPyEndAllowThreads(__tstate
);
37153 if (PyErr_Occurred()) SWIG_fail
;
37155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37162 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37163 PyObject
*resultobj
;
37164 wxWindow
*arg1
= (wxWindow
*) 0 ;
37165 wxGBPosition
*arg2
= 0 ;
37166 wxGBSpan
*arg3
= 0 ;
37169 wxObject
*arg6
= (wxObject
*) 0 ;
37170 wxGBSizerItem
*result
;
37171 wxGBPosition temp2
;
37173 PyObject
* obj0
= 0 ;
37174 PyObject
* obj1
= 0 ;
37175 PyObject
* obj2
= 0 ;
37176 PyObject
* obj3
= 0 ;
37177 PyObject
* obj4
= 0 ;
37178 PyObject
* obj5
= 0 ;
37179 char *kwnames
[] = {
37180 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37188 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37192 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37194 arg4
= (int) SWIG_AsInt(obj3
);
37195 if (PyErr_Occurred()) SWIG_fail
;
37196 arg5
= (int) SWIG_AsInt(obj4
);
37197 if (PyErr_Occurred()) SWIG_fail
;
37198 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37202 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37204 wxPyEndAllowThreads(__tstate
);
37205 if (PyErr_Occurred()) SWIG_fail
;
37207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37214 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37215 PyObject
*resultobj
;
37216 wxSizer
*arg1
= (wxSizer
*) 0 ;
37217 wxGBPosition
*arg2
= 0 ;
37218 wxGBSpan
*arg3
= 0 ;
37221 wxObject
*arg6
= (wxObject
*) 0 ;
37222 wxGBSizerItem
*result
;
37223 wxGBPosition temp2
;
37225 PyObject
* obj0
= 0 ;
37226 PyObject
* obj1
= 0 ;
37227 PyObject
* obj2
= 0 ;
37228 PyObject
* obj3
= 0 ;
37229 PyObject
* obj4
= 0 ;
37230 PyObject
* obj5
= 0 ;
37231 char *kwnames
[] = {
37232 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37240 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37244 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37246 arg4
= (int) SWIG_AsInt(obj3
);
37247 if (PyErr_Occurred()) SWIG_fail
;
37248 arg5
= (int) SWIG_AsInt(obj4
);
37249 if (PyErr_Occurred()) SWIG_fail
;
37250 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37254 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37256 wxPyEndAllowThreads(__tstate
);
37257 if (PyErr_Occurred()) SWIG_fail
;
37259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37266 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37267 PyObject
*resultobj
;
37270 wxGBPosition
*arg3
= 0 ;
37271 wxGBSpan
*arg4
= 0 ;
37274 wxObject
*arg7
= (wxObject
*) 0 ;
37275 wxGBSizerItem
*result
;
37276 wxGBPosition temp3
;
37278 PyObject
* obj0
= 0 ;
37279 PyObject
* obj1
= 0 ;
37280 PyObject
* obj2
= 0 ;
37281 PyObject
* obj3
= 0 ;
37282 PyObject
* obj4
= 0 ;
37283 PyObject
* obj5
= 0 ;
37284 PyObject
* obj6
= 0 ;
37285 char *kwnames
[] = {
37286 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37290 arg1
= (int) SWIG_AsInt(obj0
);
37291 if (PyErr_Occurred()) SWIG_fail
;
37292 arg2
= (int) SWIG_AsInt(obj1
);
37293 if (PyErr_Occurred()) SWIG_fail
;
37296 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37300 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37302 arg5
= (int) SWIG_AsInt(obj4
);
37303 if (PyErr_Occurred()) SWIG_fail
;
37304 arg6
= (int) SWIG_AsInt(obj5
);
37305 if (PyErr_Occurred()) SWIG_fail
;
37306 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
37307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37310 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37312 wxPyEndAllowThreads(__tstate
);
37313 if (PyErr_Occurred()) SWIG_fail
;
37315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37322 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37323 PyObject
*resultobj
;
37324 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37325 wxGBPosition result
;
37326 PyObject
* obj0
= 0 ;
37327 char *kwnames
[] = {
37328 (char *) "self", NULL
37331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37336 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37338 wxPyEndAllowThreads(__tstate
);
37339 if (PyErr_Occurred()) SWIG_fail
;
37342 wxGBPosition
* resultptr
;
37343 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37352 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37353 PyObject
*resultobj
;
37354 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37356 PyObject
* obj0
= 0 ;
37357 char *kwnames
[] = {
37358 (char *) "self", NULL
37361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37366 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37368 wxPyEndAllowThreads(__tstate
);
37369 if (PyErr_Occurred()) SWIG_fail
;
37372 wxGBSpan
* resultptr
;
37373 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37382 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37383 PyObject
*resultobj
;
37384 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37385 wxGBPosition
*arg2
= 0 ;
37387 wxGBPosition temp2
;
37388 PyObject
* obj0
= 0 ;
37389 PyObject
* obj1
= 0 ;
37390 char *kwnames
[] = {
37391 (char *) "self",(char *) "pos", NULL
37394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37399 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37403 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37405 wxPyEndAllowThreads(__tstate
);
37406 if (PyErr_Occurred()) SWIG_fail
;
37409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37417 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37418 PyObject
*resultobj
;
37419 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37420 wxGBSpan
*arg2
= 0 ;
37423 PyObject
* obj0
= 0 ;
37424 PyObject
* obj1
= 0 ;
37425 char *kwnames
[] = {
37426 (char *) "self",(char *) "span", NULL
37429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37434 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37438 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37440 wxPyEndAllowThreads(__tstate
);
37441 if (PyErr_Occurred()) SWIG_fail
;
37444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37452 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
37453 PyObject
*resultobj
;
37454 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37455 wxGBSizerItem
*arg2
= 0 ;
37457 PyObject
* obj0
= 0 ;
37458 PyObject
* obj1
= 0 ;
37460 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
37461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37466 if (arg2
== NULL
) {
37467 PyErr_SetString(PyExc_TypeError
,"null reference");
37471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37472 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37474 wxPyEndAllowThreads(__tstate
);
37475 if (PyErr_Occurred()) SWIG_fail
;
37478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37486 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37487 PyObject
*resultobj
;
37488 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37489 wxGBPosition
*arg2
= 0 ;
37490 wxGBSpan
*arg3
= 0 ;
37492 wxGBPosition temp2
;
37494 PyObject
* obj0
= 0 ;
37495 PyObject
* obj1
= 0 ;
37496 PyObject
* obj2
= 0 ;
37498 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37503 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37507 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37511 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37513 wxPyEndAllowThreads(__tstate
);
37514 if (PyErr_Occurred()) SWIG_fail
;
37517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37525 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
37530 argc
= PyObject_Length(args
);
37531 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37532 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37538 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37548 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37556 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
37564 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37573 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37577 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37580 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
37586 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
37591 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37592 PyObject
*resultobj
;
37593 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37596 PyObject
* obj0
= 0 ;
37597 PyObject
* obj1
= 0 ;
37598 PyObject
* obj2
= 0 ;
37599 char *kwnames
[] = {
37600 (char *) "self",(char *) "row",(char *) "col", NULL
37603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
37607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37609 if (arg2
== NULL
) {
37610 PyErr_SetString(PyExc_TypeError
,"null reference");
37613 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
37614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37616 if (arg3
== NULL
) {
37617 PyErr_SetString(PyExc_TypeError
,"null reference");
37621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37622 (arg1
)->GetEndPos(*arg2
,*arg3
);
37624 wxPyEndAllowThreads(__tstate
);
37625 if (PyErr_Occurred()) SWIG_fail
;
37627 Py_INCREF(Py_None
); resultobj
= Py_None
;
37634 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37635 PyObject
*resultobj
;
37636 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37637 wxGridBagSizer
*result
;
37638 PyObject
* obj0
= 0 ;
37639 char *kwnames
[] = {
37640 (char *) "self", NULL
37643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37648 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37650 wxPyEndAllowThreads(__tstate
);
37651 if (PyErr_Occurred()) SWIG_fail
;
37653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37660 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37661 PyObject
*resultobj
;
37662 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37663 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37664 PyObject
* obj0
= 0 ;
37665 PyObject
* obj1
= 0 ;
37666 char *kwnames
[] = {
37667 (char *) "self",(char *) "sizer", NULL
37670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37677 (arg1
)->SetGBSizer(arg2
);
37679 wxPyEndAllowThreads(__tstate
);
37680 if (PyErr_Occurred()) SWIG_fail
;
37682 Py_INCREF(Py_None
); resultobj
= Py_None
;
37689 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
37691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37692 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37694 return Py_BuildValue((char *)"");
37696 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37697 PyObject
*resultobj
;
37698 int arg1
= (int) 0 ;
37699 int arg2
= (int) 0 ;
37700 wxGridBagSizer
*result
;
37701 PyObject
* obj0
= 0 ;
37702 PyObject
* obj1
= 0 ;
37703 char *kwnames
[] = {
37704 (char *) "vgap",(char *) "hgap", NULL
37707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37709 arg1
= (int) SWIG_AsInt(obj0
);
37710 if (PyErr_Occurred()) SWIG_fail
;
37713 arg2
= (int) SWIG_AsInt(obj1
);
37714 if (PyErr_Occurred()) SWIG_fail
;
37717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37718 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37720 wxPyEndAllowThreads(__tstate
);
37721 if (PyErr_Occurred()) SWIG_fail
;
37723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37730 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37731 PyObject
*resultobj
;
37732 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37733 PyObject
*arg2
= (PyObject
*) 0 ;
37734 wxGBPosition
*arg3
= 0 ;
37735 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37736 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37737 int arg5
= (int) 0 ;
37738 int arg6
= (int) 0 ;
37739 PyObject
*arg7
= (PyObject
*) NULL
;
37741 wxGBPosition temp3
;
37743 PyObject
* obj0
= 0 ;
37744 PyObject
* obj1
= 0 ;
37745 PyObject
* obj2
= 0 ;
37746 PyObject
* obj3
= 0 ;
37747 PyObject
* obj4
= 0 ;
37748 PyObject
* obj5
= 0 ;
37749 PyObject
* obj6
= 0 ;
37750 char *kwnames
[] = {
37751 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37760 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37765 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37769 arg5
= (int) SWIG_AsInt(obj4
);
37770 if (PyErr_Occurred()) SWIG_fail
;
37773 arg6
= (int) SWIG_AsInt(obj5
);
37774 if (PyErr_Occurred()) SWIG_fail
;
37780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37781 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37783 wxPyEndAllowThreads(__tstate
);
37784 if (PyErr_Occurred()) SWIG_fail
;
37787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37795 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37796 PyObject
*resultobj
;
37797 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37798 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37800 PyObject
* obj0
= 0 ;
37801 PyObject
* obj1
= 0 ;
37802 char *kwnames
[] = {
37803 (char *) "self",(char *) "item", NULL
37806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
37807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37813 result
= (bool)(arg1
)->Add(arg2
);
37815 wxPyEndAllowThreads(__tstate
);
37816 if (PyErr_Occurred()) SWIG_fail
;
37819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37827 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37828 PyObject
*resultobj
;
37829 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37831 PyObject
* obj0
= 0 ;
37832 char *kwnames
[] = {
37833 (char *) "self", NULL
37836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
37837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37841 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
37843 wxPyEndAllowThreads(__tstate
);
37844 if (PyErr_Occurred()) SWIG_fail
;
37847 wxSize
* resultptr
;
37848 resultptr
= new wxSize((wxSize
&) result
);
37849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37857 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37858 PyObject
*resultobj
;
37859 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37862 PyObject
* obj0
= 0 ;
37863 PyObject
* obj1
= 0 ;
37864 char *kwnames
[] = {
37865 (char *) "self",(char *) "sz", NULL
37868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37873 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37877 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
37879 wxPyEndAllowThreads(__tstate
);
37880 if (PyErr_Occurred()) SWIG_fail
;
37882 Py_INCREF(Py_None
); resultobj
= Py_None
;
37889 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37890 PyObject
*resultobj
;
37891 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37892 wxWindow
*arg2
= (wxWindow
*) 0 ;
37893 wxGBPosition result
;
37894 PyObject
* obj0
= 0 ;
37895 PyObject
* obj1
= 0 ;
37897 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37904 result
= (arg1
)->GetItemPosition(arg2
);
37906 wxPyEndAllowThreads(__tstate
);
37907 if (PyErr_Occurred()) SWIG_fail
;
37910 wxGBPosition
* resultptr
;
37911 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37920 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37921 PyObject
*resultobj
;
37922 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37923 wxSizer
*arg2
= (wxSizer
*) 0 ;
37924 wxGBPosition result
;
37925 PyObject
* obj0
= 0 ;
37926 PyObject
* obj1
= 0 ;
37928 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37935 result
= (arg1
)->GetItemPosition(arg2
);
37937 wxPyEndAllowThreads(__tstate
);
37938 if (PyErr_Occurred()) SWIG_fail
;
37941 wxGBPosition
* resultptr
;
37942 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37951 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37952 PyObject
*resultobj
;
37953 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37955 wxGBPosition result
;
37956 PyObject
* obj0
= 0 ;
37957 PyObject
* obj1
= 0 ;
37959 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37962 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37963 if (PyErr_Occurred()) SWIG_fail
;
37965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37966 result
= (arg1
)->GetItemPosition(arg2
);
37968 wxPyEndAllowThreads(__tstate
);
37969 if (PyErr_Occurred()) SWIG_fail
;
37972 wxGBPosition
* resultptr
;
37973 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37982 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
37987 argc
= PyObject_Length(args
);
37988 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37989 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37995 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38005 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38013 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38021 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38031 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38039 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38047 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38055 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38057 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38062 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38067 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38068 PyObject
*resultobj
;
38069 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38070 wxWindow
*arg2
= (wxWindow
*) 0 ;
38071 wxGBPosition
*arg3
= 0 ;
38073 wxGBPosition temp3
;
38074 PyObject
* obj0
= 0 ;
38075 PyObject
* obj1
= 0 ;
38076 PyObject
* obj2
= 0 ;
38078 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38085 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38089 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38091 wxPyEndAllowThreads(__tstate
);
38092 if (PyErr_Occurred()) SWIG_fail
;
38095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38103 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38104 PyObject
*resultobj
;
38105 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38106 wxSizer
*arg2
= (wxSizer
*) 0 ;
38107 wxGBPosition
*arg3
= 0 ;
38109 wxGBPosition temp3
;
38110 PyObject
* obj0
= 0 ;
38111 PyObject
* obj1
= 0 ;
38112 PyObject
* obj2
= 0 ;
38114 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38121 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38125 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38127 wxPyEndAllowThreads(__tstate
);
38128 if (PyErr_Occurred()) SWIG_fail
;
38131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38139 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38140 PyObject
*resultobj
;
38141 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38143 wxGBPosition
*arg3
= 0 ;
38145 wxGBPosition temp3
;
38146 PyObject
* obj0
= 0 ;
38147 PyObject
* obj1
= 0 ;
38148 PyObject
* obj2
= 0 ;
38150 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38153 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38154 if (PyErr_Occurred()) SWIG_fail
;
38157 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38161 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38163 wxPyEndAllowThreads(__tstate
);
38164 if (PyErr_Occurred()) SWIG_fail
;
38167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38175 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38180 argc
= PyObject_Length(args
);
38181 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38182 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38188 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38198 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38207 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38210 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38219 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38229 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38238 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38241 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38250 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38258 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38261 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38264 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38270 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38275 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38276 PyObject
*resultobj
;
38277 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38278 wxWindow
*arg2
= (wxWindow
*) 0 ;
38280 PyObject
* obj0
= 0 ;
38281 PyObject
* obj1
= 0 ;
38283 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38290 result
= (arg1
)->GetItemSpan(arg2
);
38292 wxPyEndAllowThreads(__tstate
);
38293 if (PyErr_Occurred()) SWIG_fail
;
38296 wxGBSpan
* resultptr
;
38297 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38306 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38307 PyObject
*resultobj
;
38308 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38309 wxSizer
*arg2
= (wxSizer
*) 0 ;
38311 PyObject
* obj0
= 0 ;
38312 PyObject
* obj1
= 0 ;
38314 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38321 result
= (arg1
)->GetItemSpan(arg2
);
38323 wxPyEndAllowThreads(__tstate
);
38324 if (PyErr_Occurred()) SWIG_fail
;
38327 wxGBSpan
* resultptr
;
38328 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38337 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38338 PyObject
*resultobj
;
38339 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38342 PyObject
* obj0
= 0 ;
38343 PyObject
* obj1
= 0 ;
38345 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38348 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38349 if (PyErr_Occurred()) SWIG_fail
;
38351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38352 result
= (arg1
)->GetItemSpan(arg2
);
38354 wxPyEndAllowThreads(__tstate
);
38355 if (PyErr_Occurred()) SWIG_fail
;
38358 wxGBSpan
* resultptr
;
38359 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38368 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38373 argc
= PyObject_Length(args
);
38374 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38375 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38381 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38391 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38399 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38407 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38417 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38425 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38433 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38441 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38443 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38448 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38453 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38454 PyObject
*resultobj
;
38455 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38456 wxWindow
*arg2
= (wxWindow
*) 0 ;
38457 wxGBSpan
*arg3
= 0 ;
38460 PyObject
* obj0
= 0 ;
38461 PyObject
* obj1
= 0 ;
38462 PyObject
* obj2
= 0 ;
38464 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38471 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38475 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38477 wxPyEndAllowThreads(__tstate
);
38478 if (PyErr_Occurred()) SWIG_fail
;
38481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38489 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38490 PyObject
*resultobj
;
38491 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38492 wxSizer
*arg2
= (wxSizer
*) 0 ;
38493 wxGBSpan
*arg3
= 0 ;
38496 PyObject
* obj0
= 0 ;
38497 PyObject
* obj1
= 0 ;
38498 PyObject
* obj2
= 0 ;
38500 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38507 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38511 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38513 wxPyEndAllowThreads(__tstate
);
38514 if (PyErr_Occurred()) SWIG_fail
;
38517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38525 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38526 PyObject
*resultobj
;
38527 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38529 wxGBSpan
*arg3
= 0 ;
38532 PyObject
* obj0
= 0 ;
38533 PyObject
* obj1
= 0 ;
38534 PyObject
* obj2
= 0 ;
38536 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38539 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38540 if (PyErr_Occurred()) SWIG_fail
;
38543 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38547 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38549 wxPyEndAllowThreads(__tstate
);
38550 if (PyErr_Occurred()) SWIG_fail
;
38553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38561 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38566 argc
= PyObject_Length(args
);
38567 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38568 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38574 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38584 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38593 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38596 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38605 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38615 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38624 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38627 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38636 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38644 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38647 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38650 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38656 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38661 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
38662 PyObject
*resultobj
;
38663 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38664 wxWindow
*arg2
= (wxWindow
*) 0 ;
38665 wxGBSizerItem
*result
;
38666 PyObject
* obj0
= 0 ;
38667 PyObject
* obj1
= 0 ;
38669 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38676 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38678 wxPyEndAllowThreads(__tstate
);
38679 if (PyErr_Occurred()) SWIG_fail
;
38681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38688 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
38689 PyObject
*resultobj
;
38690 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38691 wxSizer
*arg2
= (wxSizer
*) 0 ;
38692 wxGBSizerItem
*result
;
38693 PyObject
* obj0
= 0 ;
38694 PyObject
* obj1
= 0 ;
38696 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38703 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38705 wxPyEndAllowThreads(__tstate
);
38706 if (PyErr_Occurred()) SWIG_fail
;
38708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38715 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38720 argc
= PyObject_Length(args
);
38721 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38722 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38728 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38738 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38746 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
38754 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38764 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38772 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
38777 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
38782 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38783 PyObject
*resultobj
;
38784 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38785 wxGBPosition
*arg2
= 0 ;
38786 wxGBSizerItem
*result
;
38787 wxGBPosition temp2
;
38788 PyObject
* obj0
= 0 ;
38789 PyObject
* obj1
= 0 ;
38790 char *kwnames
[] = {
38791 (char *) "self",(char *) "pos", NULL
38794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
38795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38799 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38803 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
38805 wxPyEndAllowThreads(__tstate
);
38806 if (PyErr_Occurred()) SWIG_fail
;
38808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38815 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38816 PyObject
*resultobj
;
38817 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38818 wxPoint
*arg2
= 0 ;
38819 wxGBSizerItem
*result
;
38821 PyObject
* obj0
= 0 ;
38822 PyObject
* obj1
= 0 ;
38823 char *kwnames
[] = {
38824 (char *) "self",(char *) "pt", NULL
38827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
38828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38832 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38836 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
38838 wxPyEndAllowThreads(__tstate
);
38839 if (PyErr_Occurred()) SWIG_fail
;
38841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38848 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38849 PyObject
*resultobj
;
38850 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38851 wxObject
*arg2
= (wxObject
*) 0 ;
38852 wxGBSizerItem
*result
;
38853 PyObject
* obj0
= 0 ;
38854 PyObject
* obj1
= 0 ;
38855 char *kwnames
[] = {
38856 (char *) "self",(char *) "userData", NULL
38859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
38860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
38863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38866 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
38868 wxPyEndAllowThreads(__tstate
);
38869 if (PyErr_Occurred()) SWIG_fail
;
38871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38878 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38879 PyObject
*resultobj
;
38880 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38881 PyObject
* obj0
= 0 ;
38882 char *kwnames
[] = {
38883 (char *) "self", NULL
38886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
38887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38891 (arg1
)->RecalcSizes();
38893 wxPyEndAllowThreads(__tstate
);
38894 if (PyErr_Occurred()) SWIG_fail
;
38896 Py_INCREF(Py_None
); resultobj
= Py_None
;
38903 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38904 PyObject
*resultobj
;
38905 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38907 PyObject
* obj0
= 0 ;
38908 char *kwnames
[] = {
38909 (char *) "self", NULL
38912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
38913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38917 result
= (arg1
)->CalcMin();
38919 wxPyEndAllowThreads(__tstate
);
38920 if (PyErr_Occurred()) SWIG_fail
;
38923 wxSize
* resultptr
;
38924 resultptr
= new wxSize((wxSize
&) result
);
38925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38933 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
38934 PyObject
*resultobj
;
38935 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38936 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38937 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
38939 PyObject
* obj0
= 0 ;
38940 PyObject
* obj1
= 0 ;
38941 PyObject
* obj2
= 0 ;
38943 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
38944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38949 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
38950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38954 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
38956 wxPyEndAllowThreads(__tstate
);
38957 if (PyErr_Occurred()) SWIG_fail
;
38960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38968 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
38969 PyObject
*resultobj
;
38970 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38971 wxGBPosition
*arg2
= 0 ;
38972 wxGBSpan
*arg3
= 0 ;
38973 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
38975 wxGBPosition temp2
;
38977 PyObject
* obj0
= 0 ;
38978 PyObject
* obj1
= 0 ;
38979 PyObject
* obj2
= 0 ;
38980 PyObject
* obj3
= 0 ;
38982 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38987 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38991 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38994 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38999 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39001 wxPyEndAllowThreads(__tstate
);
39002 if (PyErr_Occurred()) SWIG_fail
;
39005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39013 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
39018 argc
= PyObject_Length(args
);
39019 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
39020 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39022 if ((argc
>= 2) && (argc
<= 3)) {
39026 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39036 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39045 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39049 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39057 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39062 if ((argc
>= 3) && (argc
<= 4)) {
39066 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39075 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
39079 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39083 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39087 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39095 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39102 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39107 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39110 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39112 return Py_BuildValue((char *)"");
39114 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39115 PyObject
*resultobj
;
39116 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39118 wxWindow
*arg3
= (wxWindow
*) 0 ;
39120 int arg5
= (int) 0 ;
39121 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39122 PyObject
* obj0
= 0 ;
39123 PyObject
* obj1
= 0 ;
39124 PyObject
* obj2
= 0 ;
39125 PyObject
* obj3
= 0 ;
39126 PyObject
* obj4
= 0 ;
39127 PyObject
* obj5
= 0 ;
39128 char *kwnames
[] = {
39129 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39135 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39136 if (PyErr_Occurred()) SWIG_fail
;
39137 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39139 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39140 if (PyErr_Occurred()) SWIG_fail
;
39142 arg5
= (int) SWIG_AsInt(obj4
);
39143 if (PyErr_Occurred()) SWIG_fail
;
39146 arg6
= (int) SWIG_AsInt(obj5
);
39147 if (PyErr_Occurred()) SWIG_fail
;
39150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39151 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39153 wxPyEndAllowThreads(__tstate
);
39154 if (PyErr_Occurred()) SWIG_fail
;
39156 Py_INCREF(Py_None
); resultobj
= Py_None
;
39163 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39164 PyObject
*resultobj
;
39165 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39166 wxWindow
*arg2
= (wxWindow
*) 0 ;
39167 int arg3
= (int) 0 ;
39168 PyObject
* obj0
= 0 ;
39169 PyObject
* obj1
= 0 ;
39170 PyObject
* obj2
= 0 ;
39171 char *kwnames
[] = {
39172 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39181 arg3
= (int) SWIG_AsInt(obj2
);
39182 if (PyErr_Occurred()) SWIG_fail
;
39185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39186 (arg1
)->LeftOf(arg2
,arg3
);
39188 wxPyEndAllowThreads(__tstate
);
39189 if (PyErr_Occurred()) SWIG_fail
;
39191 Py_INCREF(Py_None
); resultobj
= Py_None
;
39198 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39199 PyObject
*resultobj
;
39200 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39201 wxWindow
*arg2
= (wxWindow
*) 0 ;
39202 int arg3
= (int) 0 ;
39203 PyObject
* obj0
= 0 ;
39204 PyObject
* obj1
= 0 ;
39205 PyObject
* obj2
= 0 ;
39206 char *kwnames
[] = {
39207 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39216 arg3
= (int) SWIG_AsInt(obj2
);
39217 if (PyErr_Occurred()) SWIG_fail
;
39220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39221 (arg1
)->RightOf(arg2
,arg3
);
39223 wxPyEndAllowThreads(__tstate
);
39224 if (PyErr_Occurred()) SWIG_fail
;
39226 Py_INCREF(Py_None
); resultobj
= Py_None
;
39233 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39234 PyObject
*resultobj
;
39235 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39236 wxWindow
*arg2
= (wxWindow
*) 0 ;
39237 int arg3
= (int) 0 ;
39238 PyObject
* obj0
= 0 ;
39239 PyObject
* obj1
= 0 ;
39240 PyObject
* obj2
= 0 ;
39241 char *kwnames
[] = {
39242 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39251 arg3
= (int) SWIG_AsInt(obj2
);
39252 if (PyErr_Occurred()) SWIG_fail
;
39255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39256 (arg1
)->Above(arg2
,arg3
);
39258 wxPyEndAllowThreads(__tstate
);
39259 if (PyErr_Occurred()) SWIG_fail
;
39261 Py_INCREF(Py_None
); resultobj
= Py_None
;
39268 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39269 PyObject
*resultobj
;
39270 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39271 wxWindow
*arg2
= (wxWindow
*) 0 ;
39272 int arg3
= (int) 0 ;
39273 PyObject
* obj0
= 0 ;
39274 PyObject
* obj1
= 0 ;
39275 PyObject
* obj2
= 0 ;
39276 char *kwnames
[] = {
39277 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39286 arg3
= (int) SWIG_AsInt(obj2
);
39287 if (PyErr_Occurred()) SWIG_fail
;
39290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39291 (arg1
)->Below(arg2
,arg3
);
39293 wxPyEndAllowThreads(__tstate
);
39294 if (PyErr_Occurred()) SWIG_fail
;
39296 Py_INCREF(Py_None
); resultobj
= Py_None
;
39303 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39304 PyObject
*resultobj
;
39305 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39306 wxWindow
*arg2
= (wxWindow
*) 0 ;
39308 int arg4
= (int) 0 ;
39309 PyObject
* obj0
= 0 ;
39310 PyObject
* obj1
= 0 ;
39311 PyObject
* obj2
= 0 ;
39312 PyObject
* obj3
= 0 ;
39313 char *kwnames
[] = {
39314 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39322 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39323 if (PyErr_Occurred()) SWIG_fail
;
39325 arg4
= (int) SWIG_AsInt(obj3
);
39326 if (PyErr_Occurred()) SWIG_fail
;
39329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39330 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39332 wxPyEndAllowThreads(__tstate
);
39333 if (PyErr_Occurred()) SWIG_fail
;
39335 Py_INCREF(Py_None
); resultobj
= Py_None
;
39342 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39343 PyObject
*resultobj
;
39344 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39345 wxWindow
*arg2
= (wxWindow
*) 0 ;
39348 PyObject
* obj0
= 0 ;
39349 PyObject
* obj1
= 0 ;
39350 PyObject
* obj2
= 0 ;
39351 PyObject
* obj3
= 0 ;
39352 char *kwnames
[] = {
39353 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39361 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39362 if (PyErr_Occurred()) SWIG_fail
;
39363 arg4
= (int) SWIG_AsInt(obj3
);
39364 if (PyErr_Occurred()) SWIG_fail
;
39366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39367 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39369 wxPyEndAllowThreads(__tstate
);
39370 if (PyErr_Occurred()) SWIG_fail
;
39372 Py_INCREF(Py_None
); resultobj
= Py_None
;
39379 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39380 PyObject
*resultobj
;
39381 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39383 PyObject
* obj0
= 0 ;
39384 PyObject
* obj1
= 0 ;
39385 char *kwnames
[] = {
39386 (char *) "self",(char *) "val", NULL
39389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39392 arg2
= (int) SWIG_AsInt(obj1
);
39393 if (PyErr_Occurred()) SWIG_fail
;
39395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39396 (arg1
)->Absolute(arg2
);
39398 wxPyEndAllowThreads(__tstate
);
39399 if (PyErr_Occurred()) SWIG_fail
;
39401 Py_INCREF(Py_None
); resultobj
= Py_None
;
39408 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39409 PyObject
*resultobj
;
39410 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39411 PyObject
* obj0
= 0 ;
39412 char *kwnames
[] = {
39413 (char *) "self", NULL
39416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39421 (arg1
)->Unconstrained();
39423 wxPyEndAllowThreads(__tstate
);
39424 if (PyErr_Occurred()) SWIG_fail
;
39426 Py_INCREF(Py_None
); resultobj
= Py_None
;
39433 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39434 PyObject
*resultobj
;
39435 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39436 PyObject
* obj0
= 0 ;
39437 char *kwnames
[] = {
39438 (char *) "self", NULL
39441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39448 wxPyEndAllowThreads(__tstate
);
39449 if (PyErr_Occurred()) SWIG_fail
;
39451 Py_INCREF(Py_None
); resultobj
= Py_None
;
39458 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39459 PyObject
*resultobj
;
39460 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39462 PyObject
* obj0
= 0 ;
39463 char *kwnames
[] = {
39464 (char *) "self", NULL
39467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39472 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39474 wxPyEndAllowThreads(__tstate
);
39475 if (PyErr_Occurred()) SWIG_fail
;
39478 resultobj
= wxPyMake_wxObject(result
);
39486 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39487 PyObject
*resultobj
;
39488 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39490 PyObject
* obj0
= 0 ;
39491 char *kwnames
[] = {
39492 (char *) "self", NULL
39495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39500 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39502 wxPyEndAllowThreads(__tstate
);
39503 if (PyErr_Occurred()) SWIG_fail
;
39505 resultobj
= SWIG_FromInt((int)result
);
39512 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39513 PyObject
*resultobj
;
39514 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39516 PyObject
* obj0
= 0 ;
39517 PyObject
* obj1
= 0 ;
39518 char *kwnames
[] = {
39519 (char *) "self",(char *) "which", NULL
39522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39525 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39526 if (PyErr_Occurred()) SWIG_fail
;
39528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39529 (arg1
)->SetEdge((wxEdge
)arg2
);
39531 wxPyEndAllowThreads(__tstate
);
39532 if (PyErr_Occurred()) SWIG_fail
;
39534 Py_INCREF(Py_None
); resultobj
= Py_None
;
39541 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39542 PyObject
*resultobj
;
39543 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39545 PyObject
* obj0
= 0 ;
39546 PyObject
* obj1
= 0 ;
39547 char *kwnames
[] = {
39548 (char *) "self",(char *) "v", NULL
39551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39554 arg2
= (int) SWIG_AsInt(obj1
);
39555 if (PyErr_Occurred()) SWIG_fail
;
39557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39558 (arg1
)->SetValue(arg2
);
39560 wxPyEndAllowThreads(__tstate
);
39561 if (PyErr_Occurred()) SWIG_fail
;
39563 Py_INCREF(Py_None
); resultobj
= Py_None
;
39570 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39571 PyObject
*resultobj
;
39572 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39574 PyObject
* obj0
= 0 ;
39575 char *kwnames
[] = {
39576 (char *) "self", NULL
39579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39584 result
= (int)(arg1
)->GetMargin();
39586 wxPyEndAllowThreads(__tstate
);
39587 if (PyErr_Occurred()) SWIG_fail
;
39589 resultobj
= SWIG_FromInt((int)result
);
39596 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39597 PyObject
*resultobj
;
39598 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39600 PyObject
* obj0
= 0 ;
39601 PyObject
* obj1
= 0 ;
39602 char *kwnames
[] = {
39603 (char *) "self",(char *) "m", NULL
39606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39609 arg2
= (int) SWIG_AsInt(obj1
);
39610 if (PyErr_Occurred()) SWIG_fail
;
39612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39613 (arg1
)->SetMargin(arg2
);
39615 wxPyEndAllowThreads(__tstate
);
39616 if (PyErr_Occurred()) SWIG_fail
;
39618 Py_INCREF(Py_None
); resultobj
= Py_None
;
39625 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39626 PyObject
*resultobj
;
39627 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39629 PyObject
* obj0
= 0 ;
39630 char *kwnames
[] = {
39631 (char *) "self", NULL
39634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39639 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39641 wxPyEndAllowThreads(__tstate
);
39642 if (PyErr_Occurred()) SWIG_fail
;
39644 resultobj
= SWIG_FromInt((int)result
);
39651 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39652 PyObject
*resultobj
;
39653 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39655 PyObject
* obj0
= 0 ;
39656 char *kwnames
[] = {
39657 (char *) "self", NULL
39660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39665 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39667 wxPyEndAllowThreads(__tstate
);
39668 if (PyErr_Occurred()) SWIG_fail
;
39670 resultobj
= SWIG_FromInt((int)result
);
39677 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39678 PyObject
*resultobj
;
39679 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39681 PyObject
* obj0
= 0 ;
39682 char *kwnames
[] = {
39683 (char *) "self", NULL
39686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39691 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39693 wxPyEndAllowThreads(__tstate
);
39694 if (PyErr_Occurred()) SWIG_fail
;
39696 resultobj
= SWIG_FromInt((int)result
);
39703 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39704 PyObject
*resultobj
;
39705 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39707 PyObject
* obj0
= 0 ;
39708 char *kwnames
[] = {
39709 (char *) "self", NULL
39712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39717 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39719 wxPyEndAllowThreads(__tstate
);
39720 if (PyErr_Occurred()) SWIG_fail
;
39723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39731 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39732 PyObject
*resultobj
;
39733 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39735 PyObject
* obj0
= 0 ;
39736 PyObject
* obj1
= 0 ;
39737 char *kwnames
[] = {
39738 (char *) "self",(char *) "d", NULL
39741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39744 arg2
= (bool) SWIG_AsBool(obj1
);
39745 if (PyErr_Occurred()) SWIG_fail
;
39747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39748 (arg1
)->SetDone(arg2
);
39750 wxPyEndAllowThreads(__tstate
);
39751 if (PyErr_Occurred()) SWIG_fail
;
39753 Py_INCREF(Py_None
); resultobj
= Py_None
;
39760 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39761 PyObject
*resultobj
;
39762 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39764 PyObject
* obj0
= 0 ;
39765 char *kwnames
[] = {
39766 (char *) "self", NULL
39769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39774 result
= (int)(arg1
)->GetRelationship();
39776 wxPyEndAllowThreads(__tstate
);
39777 if (PyErr_Occurred()) SWIG_fail
;
39779 resultobj
= SWIG_FromInt((int)result
);
39786 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39787 PyObject
*resultobj
;
39788 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39790 PyObject
* obj0
= 0 ;
39791 PyObject
* obj1
= 0 ;
39792 char *kwnames
[] = {
39793 (char *) "self",(char *) "r", NULL
39796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39799 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39800 if (PyErr_Occurred()) SWIG_fail
;
39802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39803 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39805 wxPyEndAllowThreads(__tstate
);
39806 if (PyErr_Occurred()) SWIG_fail
;
39808 Py_INCREF(Py_None
); resultobj
= Py_None
;
39815 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39816 PyObject
*resultobj
;
39817 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39818 wxWindow
*arg2
= (wxWindow
*) 0 ;
39820 PyObject
* obj0
= 0 ;
39821 PyObject
* obj1
= 0 ;
39822 char *kwnames
[] = {
39823 (char *) "self",(char *) "otherW", NULL
39826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39833 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39835 wxPyEndAllowThreads(__tstate
);
39836 if (PyErr_Occurred()) SWIG_fail
;
39839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39847 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39848 PyObject
*resultobj
;
39849 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39850 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39851 wxWindow
*arg3
= (wxWindow
*) 0 ;
39853 PyObject
* obj0
= 0 ;
39854 PyObject
* obj1
= 0 ;
39855 PyObject
* obj2
= 0 ;
39856 char *kwnames
[] = {
39857 (char *) "self",(char *) "constraints",(char *) "win", NULL
39860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39863 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39865 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39869 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39871 wxPyEndAllowThreads(__tstate
);
39872 if (PyErr_Occurred()) SWIG_fail
;
39875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39883 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39884 PyObject
*resultobj
;
39885 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39887 wxWindow
*arg3
= (wxWindow
*) 0 ;
39888 wxWindow
*arg4
= (wxWindow
*) 0 ;
39890 PyObject
* obj0
= 0 ;
39891 PyObject
* obj1
= 0 ;
39892 PyObject
* obj2
= 0 ;
39893 PyObject
* obj3
= 0 ;
39894 char *kwnames
[] = {
39895 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39901 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39902 if (PyErr_Occurred()) SWIG_fail
;
39903 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39905 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39909 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39911 wxPyEndAllowThreads(__tstate
);
39912 if (PyErr_Occurred()) SWIG_fail
;
39914 resultobj
= SWIG_FromInt((int)result
);
39921 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
39923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39924 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
39926 return Py_BuildValue((char *)"");
39928 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39929 PyObject
*resultobj
;
39930 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39931 wxIndividualLayoutConstraint
*result
;
39932 PyObject
* obj0
= 0 ;
39933 char *kwnames
[] = {
39934 (char *) "self", NULL
39937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
39938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39940 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
39942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39949 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39950 PyObject
*resultobj
;
39951 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39952 wxIndividualLayoutConstraint
*result
;
39953 PyObject
* obj0
= 0 ;
39954 char *kwnames
[] = {
39955 (char *) "self", NULL
39958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
39959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39961 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
39963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39970 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39971 PyObject
*resultobj
;
39972 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39973 wxIndividualLayoutConstraint
*result
;
39974 PyObject
* obj0
= 0 ;
39975 char *kwnames
[] = {
39976 (char *) "self", NULL
39979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
39980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39982 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
39984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39991 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39992 PyObject
*resultobj
;
39993 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39994 wxIndividualLayoutConstraint
*result
;
39995 PyObject
* obj0
= 0 ;
39996 char *kwnames
[] = {
39997 (char *) "self", NULL
40000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40003 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40012 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40013 PyObject
*resultobj
;
40014 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40015 wxIndividualLayoutConstraint
*result
;
40016 PyObject
* obj0
= 0 ;
40017 char *kwnames
[] = {
40018 (char *) "self", NULL
40021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40024 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40033 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40034 PyObject
*resultobj
;
40035 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40036 wxIndividualLayoutConstraint
*result
;
40037 PyObject
* obj0
= 0 ;
40038 char *kwnames
[] = {
40039 (char *) "self", NULL
40042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40045 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40054 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40055 PyObject
*resultobj
;
40056 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40057 wxIndividualLayoutConstraint
*result
;
40058 PyObject
* obj0
= 0 ;
40059 char *kwnames
[] = {
40060 (char *) "self", NULL
40063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40066 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40075 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40076 PyObject
*resultobj
;
40077 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40078 wxIndividualLayoutConstraint
*result
;
40079 PyObject
* obj0
= 0 ;
40080 char *kwnames
[] = {
40081 (char *) "self", NULL
40084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40087 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40096 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40097 PyObject
*resultobj
;
40098 wxLayoutConstraints
*result
;
40099 char *kwnames
[] = {
40103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40106 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40108 wxPyEndAllowThreads(__tstate
);
40109 if (PyErr_Occurred()) SWIG_fail
;
40111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40118 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40119 PyObject
*resultobj
;
40120 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40121 wxWindow
*arg2
= (wxWindow
*) 0 ;
40122 int *arg3
= (int *) 0 ;
40125 PyObject
* obj0
= 0 ;
40126 PyObject
* obj1
= 0 ;
40127 char *kwnames
[] = {
40128 (char *) "self",(char *) "win", NULL
40132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40139 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40141 wxPyEndAllowThreads(__tstate
);
40142 if (PyErr_Occurred()) SWIG_fail
;
40145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40148 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40149 resultobj
= t_output_helper(resultobj
,o
);
40157 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40158 PyObject
*resultobj
;
40159 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40161 PyObject
* obj0
= 0 ;
40162 char *kwnames
[] = {
40163 (char *) "self", NULL
40166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40171 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40173 wxPyEndAllowThreads(__tstate
);
40174 if (PyErr_Occurred()) SWIG_fail
;
40177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40185 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40188 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40190 return Py_BuildValue((char *)"");
40192 static PyMethodDef SwigMethods
[] = {
40193 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40194 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40195 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40196 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40197 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40198 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40199 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40200 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40201 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40202 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40203 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40204 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40205 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40206 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40207 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40208 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40209 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40210 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40211 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40212 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40213 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40214 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40215 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40216 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40217 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40218 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40219 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40220 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40221 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40222 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40223 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40224 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40225 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40226 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40227 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40228 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40229 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40230 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40231 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40232 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40233 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40234 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40235 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40236 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40237 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40238 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40239 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40240 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40241 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40242 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40243 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40244 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40245 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40246 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40247 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40248 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40249 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40250 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40251 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40252 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40253 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40254 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40255 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40256 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40257 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40258 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40259 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40260 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40261 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40262 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40263 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40264 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40265 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40266 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40267 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40268 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40269 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40270 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40271 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40272 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40273 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40274 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40275 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40276 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40277 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40278 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40280 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40281 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40282 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40283 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40284 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40285 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40286 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40288 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40289 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40290 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40291 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40292 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40293 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40294 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40295 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40296 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40297 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40298 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40299 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40300 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40301 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40302 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40303 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40304 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40305 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40306 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40307 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40308 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40309 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40311 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40312 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40313 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40314 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40315 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40317 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40319 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40320 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40322 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40323 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40324 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40325 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40326 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40327 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40328 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40329 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40330 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40331 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40332 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40333 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40334 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40335 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40336 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40337 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40339 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40340 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40341 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40342 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40343 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40344 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40345 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40346 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40347 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40348 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40349 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40351 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40354 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40355 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40356 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40357 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40358 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40359 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40361 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40363 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40364 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40365 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40366 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40367 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40368 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40369 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40370 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40373 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40374 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40375 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40376 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40377 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40378 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40379 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40380 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40381 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40382 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40383 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40385 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40387 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40389 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40391 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40393 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40394 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40395 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40396 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40397 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40398 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40399 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40400 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40402 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40404 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40406 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40407 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40408 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40409 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40410 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40412 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40413 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40414 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40415 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40416 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40417 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40418 { (char *)"new_EmptyImage", _wrap_new_EmptyImage
, METH_VARARGS
},
40419 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40420 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40421 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40422 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40423 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40424 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40425 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40426 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40427 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40428 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40429 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40430 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40431 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40432 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40433 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40434 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40435 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40436 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40437 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40438 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40439 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40441 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40442 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40443 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40445 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40446 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40447 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40448 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40449 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40450 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40451 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40452 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40453 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40454 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40455 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40456 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40457 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40459 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40460 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40461 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40462 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40463 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40464 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40465 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40466 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40467 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40468 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40469 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40470 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40471 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40472 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40473 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40474 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40475 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40476 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40477 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40478 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40479 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40480 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40481 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40482 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40483 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40484 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40485 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40487 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40489 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40491 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40492 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40493 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40495 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40496 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40497 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40498 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40499 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40501 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40503 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40504 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40505 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40507 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40510 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40513 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40517 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40518 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40520 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40521 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40522 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40523 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40524 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40525 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40530 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40531 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40537 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40539 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40542 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40543 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40545 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40554 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40557 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40562 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40568 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40572 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40573 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40574 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40579 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40582 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40588 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40592 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40609 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40628 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40636 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40643 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40678 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40688 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40698 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40700 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40702 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40705 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40709 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40712 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40715 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
40717 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
40722 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
40730 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
40734 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
40737 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
40739 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
40743 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
40760 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
40762 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
40765 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
40767 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
40771 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
40775 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
40783 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
40786 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
40789 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
40793 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
40800 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
40805 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
40810 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
40854 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
40871 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
40875 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
40885 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
40934 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
40935 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction
) _wrap_Window_SetDefaultBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction
) _wrap_Window_SetDefaultForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"Window_SetDefaultFont", (PyCFunction
) _wrap_Window_SetDefaultFont
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41042 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41078 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41092 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41095 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41150 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41177 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41206 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41214 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41231 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41232 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41267 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41296 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41299 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41305 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41310 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41322 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41336 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41346 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41356 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41358 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
41365 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41368 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41369 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41375 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41376 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41377 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41378 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41379 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
41385 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41386 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41388 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41393 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41397 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41405 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41406 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41407 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41408 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41409 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41410 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41411 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41412 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41413 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41414 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41415 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41416 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41417 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41418 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41419 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41420 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41421 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41422 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41423 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41424 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41429 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41431 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41432 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41434 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41435 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41437 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41438 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41440 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41441 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41443 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41444 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41446 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41447 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41449 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41450 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41452 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41453 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41455 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41456 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41458 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41459 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41461 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41462 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41464 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41465 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41467 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41468 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41470 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41471 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41473 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41474 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41476 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41477 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41479 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41480 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41482 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41483 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41485 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41486 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41488 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41489 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41491 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41492 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41494 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41495 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41497 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41498 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41500 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41501 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41503 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41504 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41506 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41507 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41509 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41510 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41512 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41513 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41515 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41516 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41518 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41519 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41521 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41522 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41524 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41525 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41527 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41528 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41530 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41531 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41533 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41534 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41536 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41537 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41539 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41540 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41542 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41543 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41545 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41546 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41548 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41549 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41551 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41552 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41554 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41555 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41557 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41558 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41560 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41561 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41563 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41564 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41566 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41567 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41569 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41570 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41572 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41573 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41575 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41576 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41578 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41579 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41581 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41584 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41585 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41587 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41588 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41590 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41591 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41593 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41594 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41596 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41597 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41599 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41600 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41602 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41603 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41605 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41606 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41608 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41609 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41611 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41612 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41614 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41615 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41617 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41618 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41620 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41621 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41623 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41624 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41626 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41627 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41629 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41630 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41632 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41633 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41635 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41636 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41638 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41639 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41641 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41642 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41644 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41645 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41647 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41648 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41650 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41651 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41653 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41654 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41656 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41657 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41659 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41660 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41662 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41663 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41665 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41666 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41668 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41669 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41671 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41672 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41674 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41675 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41677 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41678 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41680 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41681 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41683 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41686 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41689 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41690 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41692 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41693 return (void *)((wxObject
*) ((wxSizer
*) x
));
41695 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41696 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41698 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41699 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41701 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41702 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41704 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41705 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41707 static void *_p_wxImageTo_p_wxObject(void *x
) {
41708 return (void *)((wxObject
*) ((wxImage
*) x
));
41710 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41711 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41713 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41714 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41716 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41717 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41719 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41720 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41722 static void *_p_wxControlTo_p_wxObject(void *x
) {
41723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41725 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41726 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41728 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41729 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41731 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41732 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41734 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41735 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41737 static void *_p_wxEventTo_p_wxObject(void *x
) {
41738 return (void *)((wxObject
*) ((wxEvent
*) x
));
41740 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41741 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41743 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41744 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41746 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41747 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41749 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41750 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41752 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41753 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41755 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41756 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41758 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41759 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41761 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41762 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41764 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41767 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41768 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41770 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41771 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41773 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41774 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41776 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41777 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41779 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41780 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41782 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41783 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41785 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41786 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41788 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41789 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41791 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41792 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41794 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41795 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41797 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41798 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41800 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41801 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41803 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41804 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41806 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41807 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41809 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41810 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41812 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41813 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41815 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41816 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41818 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41819 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41821 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41822 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41824 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41825 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41827 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41828 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41830 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41831 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41833 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41834 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41836 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41837 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41839 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41840 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41842 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41843 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41845 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41846 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41848 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41849 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41851 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41852 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41854 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41855 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41857 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41858 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41860 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41861 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41863 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41864 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41866 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41867 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41869 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41870 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41872 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41873 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41875 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41876 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41878 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41879 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41881 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41882 return (void *)((wxWindow
*) ((wxControl
*) x
));
41884 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41885 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41887 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41888 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41890 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41891 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41893 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41894 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41896 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41897 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41899 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41900 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41902 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41903 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41905 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41906 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41908 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41909 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41911 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41912 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41914 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
41915 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
41917 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}};
41918 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}};
41919 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}};
41920 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}};
41921 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}};
41922 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}};
41923 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}};
41924 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}};
41925 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}};
41926 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}};
41927 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}};
41928 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}};
41929 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}};
41930 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}};
41931 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}};
41932 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}};
41933 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}};
41934 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}};
41935 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}};
41936 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}};
41937 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}};
41938 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}};
41939 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}};
41940 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}};
41941 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}};
41942 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}};
41943 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}};
41944 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}};
41945 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}};
41946 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}};
41947 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}};
41948 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}};
41949 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}};
41950 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}};
41951 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}};
41952 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}};
41953 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}};
41954 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}};
41955 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}};
41956 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}};
41957 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}};
41958 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}};
41959 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}};
41960 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}};
41961 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}};
41962 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}};
41963 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}};
41964 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}};
41965 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}};
41966 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}};
41967 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}};
41968 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}};
41969 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}};
41970 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}};
41971 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}};
41972 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}};
41973 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}};
41974 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}};
41975 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}};
41976 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}};
41977 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}};
41978 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}};
41979 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}};
41980 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}};
41981 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}};
41982 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}};
41983 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}};
41984 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}};
41985 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}};
41986 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}};
41987 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}};
41988 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}};
41989 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}};
41990 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}};
41991 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}};
41992 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}};
41993 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}};
41994 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}};
41995 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}};
41996 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}};
41997 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}};
41998 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}};
41999 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}};
42000 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}};
42001 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}};
42002 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}};
42003 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}};
42004 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}};
42005 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}};
42006 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}};
42007 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}};
42008 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}};
42009 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}};
42010 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}};
42011 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}};
42012 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}};
42013 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}};
42014 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}};
42015 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}};
42016 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}};
42017 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}};
42018 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}};
42019 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}};
42020 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}};
42021 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}};
42022 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}};
42023 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}};
42024 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}};
42025 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}};
42026 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}};
42027 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}};
42028 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}};
42029 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}};
42030 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}};
42031 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}};
42033 static swig_type_info
*swig_types_initial
[] = {
42034 _swigt__p_wxLayoutConstraints
,
42035 _swigt__p_wxRealPoint
,
42036 _swigt__p_wxSizerItem
,
42037 _swigt__p_wxGBSizerItem
,
42038 _swigt__p_wxScrollEvent
,
42039 _swigt__p_wxIndividualLayoutConstraint
,
42041 _swigt__p_wxBoxSizer
,
42042 _swigt__p_wxStaticBoxSizer
,
42043 _swigt__p_wxGridBagSizer
,
42044 _swigt__p_wxAcceleratorEntry
,
42045 _swigt__p_wxUpdateUIEvent
,
42048 _swigt__p_wxGridSizer
,
42049 _swigt__p_wxFlexGridSizer
,
42050 _swigt__p_wxInitDialogEvent
,
42051 _swigt__p_wxItemContainer
,
42052 _swigt__p_wxNcPaintEvent
,
42053 _swigt__p_wxPaintEvent
,
42054 _swigt__p_wxSysColourChangedEvent
,
42055 _swigt__p_wxMouseCaptureChangedEvent
,
42056 _swigt__p_wxDisplayChangedEvent
,
42057 _swigt__p_wxPaletteChangedEvent
,
42058 _swigt__p_wxControl
,
42060 _swigt__p_wxMenuBarBase
,
42061 _swigt__p_wxSetCursorEvent
,
42062 _swigt__p_wxFSFile
,
42064 _swigt__p_wxRegion
,
42065 _swigt__p_wxPoint2D
,
42069 _swigt__p_wxPySizer
,
42070 _swigt__p_wxVisualAttributes
,
42071 _swigt__p_wxNotifyEvent
,
42072 _swigt__p_wxPyEvent
,
42073 _swigt__p_wxPropagationDisabler
,
42074 _swigt__p_wxAppTraits
,
42075 _swigt__p_wxArrayString
,
42076 _swigt__p_wxShowEvent
,
42077 _swigt__p_wxToolTip
,
42078 _swigt__p_wxMaximizeEvent
,
42079 _swigt__p_wxIconizeEvent
,
42080 _swigt__p_wxActivateEvent
,
42081 _swigt__p_wxMoveEvent
,
42082 _swigt__p_wxSizeEvent
,
42083 _swigt__p_wxQueryNewPaletteEvent
,
42084 _swigt__p_wxWindowCreateEvent
,
42085 _swigt__p_wxIdleEvent
,
42086 _swigt__p_wxMenuItem
,
42087 _swigt__p_wxStaticBox
,
42089 _swigt__p_wxTIFFHandler
,
42090 _swigt__p_wxXPMHandler
,
42091 _swigt__p_wxPNMHandler
,
42092 _swigt__p_wxJPEGHandler
,
42093 _swigt__p_wxPCXHandler
,
42094 _swigt__p_wxGIFHandler
,
42095 _swigt__p_wxPNGHandler
,
42096 _swigt__p_wxANIHandler
,
42097 _swigt__p_wxMemoryFSHandler
,
42098 _swigt__p_wxEvtHandler
,
42099 _swigt__p_wxCURHandler
,
42100 _swigt__p_wxICOHandler
,
42101 _swigt__p_wxBMPHandler
,
42102 _swigt__p_wxImageHandler
,
42103 _swigt__p_wxFileSystemHandler
,
42104 _swigt__p_wxPyFileSystemHandler
,
42105 _swigt__p_wxInternetFSHandler
,
42106 _swigt__p_wxZipFSHandler
,
42108 _swigt__p_wxGBSpan
,
42109 _swigt__p_wxPropagateOnce
,
42110 _swigt__p_wxAcceleratorTable
,
42112 _swigt__p_wxGBPosition
,
42115 _swigt__p_wxScrollWinEvent
,
42116 _swigt__p_wxImageHistogram
,
42119 _swigt__p_wxCursor
,
42120 _swigt__p_wxObject
,
42121 _swigt__p_wxPyInputStream
,
42122 _swigt__p_wxOutputStream
,
42123 _swigt__p_wxInputStream
,
42124 _swigt__p_wxDateTime
,
42125 _swigt__p_wxKeyEvent
,
42126 _swigt__p_wxNavigationKeyEvent
,
42127 _swigt__p_wxWindowDestroyEvent
,
42128 _swigt__p_wxWindow
,
42129 _swigt__p_wxMenuBar
,
42130 _swigt__p_wxFileSystem
,
42131 _swigt__p_wxBitmap
,
42132 _swigt__p_wxMenuEvent
,
42133 _swigt__p_wxContextMenuEvent
,
42134 _swigt__p_unsigned_char
,
42135 _swigt__p_wxCloseEvent
,
42136 _swigt__p_wxEraseEvent
,
42137 _swigt__p_wxMouseEvent
,
42139 _swigt__p_wxCommandEvent
,
42140 _swigt__p_wxPyCommandEvent
,
42141 _swigt__p_wxPyDropTarget
,
42142 _swigt__p_wxChildFocusEvent
,
42143 _swigt__p_wxFocusEvent
,
42144 _swigt__p_wxDropFilesEvent
,
42145 _swigt__p_wxControlWithItems
,
42146 _swigt__p_wxColour
,
42147 _swigt__p_wxValidator
,
42148 _swigt__p_wxPyValidator
,
42153 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42155 static swig_const_info swig_const_table
[] = {
42165 SWIGEXPORT(void) SWIG_init(void) {
42166 static PyObject
*SWIG_globals
= 0;
42167 static int typeinit
= 0;
42170 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42171 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42172 d
= PyModule_GetDict(m
);
42175 for (i
= 0; swig_types_initial
[i
]; i
++) {
42176 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42180 SWIG_InstallConstants(d
,swig_const_table
);
42183 #ifndef wxPyUSE_EXPORT
42184 // Make our API structure a CObject so other modules can import it
42185 // from this module.
42186 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42187 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42191 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42192 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42193 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42194 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42195 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42196 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42197 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42198 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42199 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42200 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42201 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42202 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42203 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42204 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42205 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42206 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42207 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42208 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42209 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42210 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42211 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42212 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42213 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42214 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42215 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42216 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42217 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42218 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42219 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42220 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42221 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42222 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42223 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42224 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42225 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42226 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42227 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42228 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42229 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42230 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42231 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42232 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42233 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42234 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42235 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42236 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42237 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42238 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42239 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42240 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42241 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42242 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42243 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42244 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42245 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42246 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42247 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42248 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42249 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42250 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42251 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42252 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42253 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42254 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42255 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42256 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42257 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42258 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42259 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42260 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42261 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42262 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42263 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42264 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42265 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42266 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42267 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42268 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42269 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42270 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42271 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42272 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42273 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42274 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42275 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42276 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42277 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42278 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42279 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42280 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42281 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42282 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42283 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42284 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42285 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42286 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42287 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42288 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42289 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42290 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42291 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42292 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42293 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42294 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42295 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42296 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42297 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42298 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42299 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42300 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42301 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42302 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42303 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42304 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42305 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42306 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42307 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42308 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42309 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42310 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42311 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42312 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42313 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42314 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42315 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42316 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42317 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42318 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42319 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42320 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42321 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42322 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42323 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42324 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42325 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42326 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42327 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42328 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42329 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42330 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42331 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42332 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42333 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42334 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42335 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42336 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42337 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42338 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42339 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42340 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42341 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42342 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42343 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42344 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42345 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42346 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42347 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42348 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42349 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42350 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42351 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42352 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42353 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42354 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42355 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42356 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42357 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42358 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42359 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42360 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42361 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42362 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42363 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42364 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42365 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42366 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42367 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42368 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42369 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42370 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42371 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42372 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42373 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42374 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42375 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42376 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42377 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42378 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42379 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42380 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42381 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42382 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42383 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42384 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42385 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42386 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42387 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42388 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42389 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42390 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42391 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42392 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42393 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42394 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42395 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42396 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42397 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42398 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42399 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42400 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42401 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42402 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42403 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42404 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42405 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42406 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42407 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42408 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42409 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42410 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42411 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42412 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42413 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42414 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42415 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42416 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42417 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42418 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42419 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42420 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42421 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42422 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42423 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42424 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42425 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42426 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42427 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42428 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42429 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42430 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42431 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42432 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42433 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42434 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42435 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42436 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42437 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42438 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42439 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42440 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42441 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42442 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42443 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42444 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42445 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42446 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42447 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42448 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42449 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42450 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42451 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42452 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42453 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42454 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42455 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42456 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42457 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42458 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42459 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42460 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42461 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42462 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42463 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42464 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42465 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42466 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42467 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42468 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42469 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42470 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42471 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42472 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42473 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42474 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42475 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42476 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42477 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42478 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42479 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42480 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42481 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42482 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42483 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42484 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42485 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42486 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42487 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42488 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42489 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42490 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42491 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42492 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42493 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42494 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42495 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42496 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42497 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42498 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42499 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42500 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42501 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42502 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42503 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42504 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42505 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42506 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42507 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42508 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42509 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42510 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42511 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42512 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42513 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42514 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42515 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42516 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42517 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42518 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42519 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42520 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42521 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42522 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42523 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42524 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42525 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42526 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42527 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42528 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42529 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42530 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42531 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42532 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42533 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42534 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42535 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42536 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42537 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42538 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42539 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42540 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42541 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42542 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42543 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42544 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42545 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42546 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42547 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42548 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42549 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42550 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42551 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42552 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42553 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42554 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42555 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42556 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42557 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42558 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42559 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42560 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42561 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42562 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42563 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42564 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42565 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42566 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42567 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42568 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42569 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42570 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42571 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42572 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42573 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42574 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42575 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42576 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42577 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42578 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42579 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42580 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42581 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42582 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42583 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42584 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42585 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42586 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42587 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42588 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42589 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42590 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42591 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42592 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42593 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42594 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42595 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42596 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42597 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42598 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42599 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42600 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42601 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42602 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42603 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42604 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42605 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42606 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42607 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42608 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42609 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42610 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42611 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42612 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42613 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42614 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42615 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42616 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42617 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42618 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42619 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42620 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42621 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42622 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42623 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42624 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42625 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42626 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42627 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42628 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42629 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42630 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42631 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42632 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42633 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42634 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42635 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42636 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42637 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42638 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42639 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42640 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42641 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42642 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42643 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42644 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42645 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42646 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42647 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42648 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42649 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42650 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42651 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42652 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42653 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42654 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42655 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42656 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42657 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42658 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42659 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42660 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42661 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42662 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42663 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42664 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42665 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42666 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42667 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42668 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42669 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42670 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42671 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42672 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42673 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42674 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42675 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42676 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42677 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42678 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
42679 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
42680 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
42681 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
42682 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
42683 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42684 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42685 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42686 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42687 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
42688 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
42689 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
42690 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
42691 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
42692 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
42693 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42694 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42695 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
42696 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
42697 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
42698 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
42699 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
42700 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
42701 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
42702 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
42703 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
42704 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
42705 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42706 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42707 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
42708 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
42709 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
42710 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
42711 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
42712 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
42713 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
42714 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
42715 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
42716 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
42717 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
42718 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
42719 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
42720 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
42721 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
42722 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
42723 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
42724 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
42725 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
42726 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
42727 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
42728 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
42729 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
42730 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
42731 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
42732 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
42733 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
42734 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
42735 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
42736 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
42737 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
42738 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
42739 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
42740 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
42741 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
42742 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
42743 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
42744 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
42745 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
42746 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
42747 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
42748 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
42749 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
42750 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
42751 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
42752 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
42753 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
42754 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
42755 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
42756 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
42757 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
42758 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42759 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42760 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
42761 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
42762 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
42764 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42767 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42769 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42770 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42771 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42772 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42773 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42774 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42775 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
42776 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
42777 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
42778 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
42779 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
42780 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
42781 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
42782 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
42783 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
42784 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
42785 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
42786 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
42787 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
42788 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42789 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42790 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42791 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42792 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42793 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42794 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42795 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42796 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42797 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42798 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42799 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42800 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42801 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42802 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42803 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42804 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42805 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42806 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42807 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42808 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42809 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42810 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42811 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42812 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42813 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42814 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42815 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42816 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42817 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42818 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42819 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42820 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42821 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42822 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42823 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42824 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42825 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42826 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42827 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42828 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42829 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42830 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42831 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42832 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42833 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42834 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42835 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42836 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42837 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42838 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42839 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42840 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42841 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42842 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42843 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42844 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42845 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42846 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42847 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42848 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42849 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42850 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42851 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42852 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42853 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42854 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42855 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42856 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42857 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42858 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42859 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42860 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42861 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42862 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42863 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42864 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42865 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42866 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42867 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42868 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42869 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42870 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42871 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42872 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42873 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42874 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42875 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42876 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42877 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42878 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42879 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42880 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42881 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42882 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42883 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42884 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
42885 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
42886 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
42887 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
42888 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
42889 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
42890 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
42891 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
42892 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
42893 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
42894 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
42895 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
42896 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
42897 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
42898 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
42899 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
42900 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
42901 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
42902 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
42903 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
42904 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
42905 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
42906 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
42907 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
42908 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
42909 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
42910 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
42911 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
42912 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
42913 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
42914 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
42915 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
42916 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
42917 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
42918 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
42919 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
42920 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
42921 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
42922 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
42923 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
42924 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
42925 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
42926 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
42927 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
42928 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
42929 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
42930 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
42931 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
42932 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
42933 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
42934 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
42935 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
42936 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
42937 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
42938 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
42939 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
42940 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
42941 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
42942 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
42943 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
42944 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
42945 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
42946 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
42947 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
42948 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
42950 // Initialize threading, some globals and such
42954 // Although these are defined in __version__ they need to be here too so
42955 // that an assert can be done to ensure that the wxPython and the wxWindows
42957 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
42958 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
42959 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));